On Friday 07 April 2006 09:19, Joel Roth wrote: >It seems like this is a FAQ, but having read and tried >various methods from the Alsa wiki, I find myself unable to >influence the order of my sound cards. Which will be card 0 >and which card 1 after reboot is not determinate. >I attempted to make static assignments. > >Here is a report on all I've tried. > >I am running a 2.6.15 kernel using udev >to populate the /dev directory. I have two sound cards, >corresponding to the snd-ice1712 and snd-via82xx drivers. >The drivers are compiled as modules, and load >automagically. My system is Debian-based, most packages >from the 'etch' (testing) distribution, with a few from >'sid' (unstable). > >In this configuration, drivers listed in /etc/modules are >loaded in one step during boot ("Loading Modules"), then >further drivers are loaded in a second step, ("Discovering >Hardware"). > > >The assignments were inspected by the following commands: > >$ cat /proc/asound/cards >$ cat /proc/asound/modules > >The multiple soundcards page of the Alsa wiki >(http://alsa.opensrc.org/MultipleCards) and other references >suggest several methods to accomplish this: > >1. Passing arguments to the drivers > >In my case /etc/modules.conf is generated from >alsa-base and other files in /etc/modutils by running >update-modules. > >I made the following additions to /etc/modutils/alsa-base, > >options snd-via82xx index=0 >options snd-ice1712 index=1 > >run update-modules, and rebooted. > >Result: no impact on assignments > >2. By use of aliases in /etc/modules.conf (in my case, by >modifying /etc/modutils/alsa-base) > >-- >alias snd-card-0 snd-via82xx >alias snd-card-1 snd-ice1712 >-- > >Then update-modules and reboot. > >Result: no impact on assignments > >3. Controlling the order of module loading by entering the >following module names in /etc/modules, then update-modules >and reboot. > >----- >snd-via82xx >snd-ice1712 >----- > >Result: The first time I tried this, I thought I had >found a solution, but after another reboot the cards came up >in the opposite order.
I have not had that problem (yet). Everything is in my modprobe.conf: # Note: for use under 2.4, changes must also be made to modules.conf: ========================= [...] # sound stuff, subject to heavy mods in future # For Alsa # 1st, make the SB Live / SB Audigy 2 the default alias snd-card-0 snd-emu10k1 # 2nd, and then skype can use /dev/dsp1 alias snd-card-1 snd-intel8x0 # For Alsa's Oss emulation? alias snd-slot-0 snd-card-0 alias snd-slot-1 snd-card-1 # Alsa's Oss emulation # for emu10k1/SBLive Value/Audigy 2 Value stuff alias sound-service-0-0 snd-mixer-oss alias sound-service-0-1 snd-seq-oss alias sound-service-0-3 snd-pcm-oss alias sound-service-0-8 snd-seq-oss alias sound-service-0-12 snd-pcm-oss # for nforce2's ac97 chip alias sound-service-1-0 snd-mixer-oss alias sound-service-1-1 snd-seq-oss alias sound-service-1-3 snd-pcm-oss alias sound-service-1-8 snd-seq-oss alias sound-service-1-12 snd-pcm-oss # But, whats this? alias char-major-116-* snd alias char-major-14-* sound install synth0 /bin/true # end of sound ============= Maybe theres some clues in that? -- Cheers, Gene People having trouble with vz bouncing email to me should add the word 'online' between the 'verizon', and the dot which bypasses vz's stupid bounce rules. I do use spamassassin too. :-) Yahoo.com and AOL/TW attorneys please note, additions to the above message by Gene Heskett are: Copyright 2006 by Maurice Eugene Heskett, all rights reserved. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user