Le Wed, 11 Jul 2007 16:18:20 +0200,Thomas Heinz <thomasheinz@xxxxxxx> a écrit : > Hi> > I experience a problem with respect to the loading order of kernel modules. > Here a transcript to illustrate the issue:> > # 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> > However, if I change the order, it works:> > # lsmod | grep snd | awk '{print $1}' | xargs rmmod> # modprobe snd_emu10k1_synth> # modprobe snd_hda_intel> # asfxload <somefile>> > The problem occured since udev loads the modules in the "wrong" order but > why is the first loading order wrong? If it is not, do you know what > causes the problem?> > I am using linux-2.6.20 (gentoo-r8).> > Thanks for your help.> > 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 thecards_limits option. As example: alias snd-card-0 snd-emu10k1options snd-emu10k1 index=0alias snd-card-1 snd-usb-audiooptions snd-usb-audio index=1options snd cards_limit=2 After, run 'update-modules' and '/etc/init.d/alsasound restart' With those options, udev will know in which order to load the sound card. It isa file alsa-configuration.txt with the kernel sources or the alsa driverpackage that explain more. Dominique > Best wishes,> > Thomas> > -------------------------------------------------------------------------> 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> Alsa-user@xxxxxxxxxxxxxxxxxxxxx> https://lists.sourceforge.net/lists/listinfo/alsa-user -- Dominique Michel --N.B.: Tous les emails que je reçois sont filtrés par spamassassin avant de meparvenir. -------------------------------------------------------------------------This SF.net email is sponsored by DB2 ExpressDownload DB2 Express C - the FREE version of DB2 express and takecontrol of your XML. No limits. Just data. Click to get it now.http://sourceforge.net/powerbar/db2/_______________________________________________Alsa-user mailing listAlsa-user@xxxxxxxxxxxxxxxxxxxxxxxxxx://lists.sourceforge.net/lists/listinfo/alsa-user