Re: [Alsa-user] snd_emu10k1_synth, snd_hda_intel: loading order
Brought to you by:
perex
From: Dominique M. <dom...@ci...> - 2007-07-11 17:04:51
|
Le Wed, 11 Jul 2007 16:18:20 +0200, Thomas Heinz <tho...@gm...> a =C3=A9crit : > Hi >=20 > I experience a problem with respect to the loading order of kernel module= s.=20 > Here a transcript to illustrate the issue: >=20 > # lsmod | grep snd | awk '{print $1}' | xargs rmmod > # modprobe snd_hda_intel > # modprobe snd_emu10k1_synth > # asfxload <somefile> > No Emux synth hwdep device is found >=20 > However, if I change the order, it works: >=20 > # lsmod | grep snd | awk '{print $1}' | xargs rmmod > # modprobe snd_emu10k1_synth > # modprobe snd_hda_intel > # asfxload <somefile> >=20 > The problem occured since udev loads the modules in the "wrong" order but= =20 > why is the first loading order wrong? If it is not, do you know what=20 > causes the problem? >=20 > I am using linux-2.6.20 (gentoo-r8). >=20 > Thanks for your help. >=20 >=20 You must have a file called /etc/modules.d/alsa You must be sure to define the card_index and for each sound card, and the cards_limits option. As example: alias snd-card-0 snd-emu10k1 options snd-emu10k1 index=3D0 alias snd-card-1 snd-usb-audio options snd-usb-audio index=3D1 options snd cards_limit=3D2 After, run 'update-modules' and '/etc/init.d/alsasound restart' With those options, udev will know in which order to load the sound card. I= t is a file alsa-configuration.txt with the kernel sources or the alsa driver package that explain more. Dominique=20 > Best wishes, >=20 > Thomas >=20 > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Alsa-user mailing list > Als...@li... > https://lists.sourceforge.net/lists/listinfo/alsa-user --=20 Dominique Michel -- N.B.: Tous les emails que je re=C3=A7ois sont filtr=C3=A9s par spamassassin= avant de me parvenir. |