Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Sorting soundcards...
Date: Fri, 10 Jun 2011 23:11:37
Message-Id: BANLkTiky5OwkAS92KBfxmUxOkbsGkjYGqw@mail.gmail.com
In Reply to: [gentoo-user] Sorting soundcards... by meino.cramer@gmx.de
1 On Fri, Jun 10, 2011 at 3:39 PM, <meino.cramer@×××.de> wrote:
2 > Hi,
3 >
4 > With my PC I have three "soundcards" (from the Alsa point of view),
5 > which are:
6 >
7 >    0 [SB             ]: HDA-Intel - HDA ATI SB
8 >                      HDA ATI SB at 0xfcaf8000 irq 16
9 >    1 [NVidia         ]: HDA-Intel - HDA NVidia
10 >                         HDA NVidia at 0xfe97c000 irq 25
11 >    2 [CameraB404271  ]: USB-Audio - USB Camera-B4.04.27.1
12 >                      OmniVision Technologies, Inc. USB Camera-B4.04.27.1 at usb-0000:00:12.2-3, high
13 >
14 > . To prevent, that they come up in any possible kind of sorting after
15 > a reboot, I wrote into /etc/modporbe.d/alsa.conf:
16 >
17 >    # Alsa kernel modules' configuration file.
18 >    # ALSA portion
19 >    # OSS/Free portion
20 >
21 >    ##
22 >    ## IMPORTANT:
23 >    ## You need to customise this section for your specific sound card(s)
24 >    ## and then run `update-modules' command.
25 >    ## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
26 >    ##
27 >
28 >    alias /dev/mixer snd-mixer-oss
29 >    alias /dev/dsp snd-pcm-oss
30 >    alias /dev/midi snd-seq-oss
31 >
32 >    alias snd-card-0 snd-hda-intel
33 >    alias sound-slot-0 snd-hda-intel
34 >    alias snd-card-1 snd-usb-intel
35 >    alias sound-slot-1 snd-usb-intel
36 >    alias snd-card-0 snd-hda-intel
37 >    alias sound-slot-0 snd-hda-intel
38 >
39 > , but that did not help (I did a update-modules before reboot).
40 >
41 > How can I urge the "soundcards" into a specific order?
42 > How can I more specific than specifying "snd-hda-intel" since
43 > this appears twice...?
44 >
45 > Thank you very much in advance for any help! :)
46 >
47 > Have a nice weekend!
48 > Best regardsm
49 > mcc
50 >
51 >
52 >
53 Please check the two sections at the Alsa Wiki for some suggestions to
54 your problems
55
56 http://alsa.opensrc.org/MultipleCards
57
58 For card ordering, look at the "The newer "slots=" method" entry.
59
60 For multiple cards using the same driver look at "Ordering multiple
61 cards of the same type" where basically you give it specifics about
62 each piece of hardware.
63
64 HTH,
65 Mark