Re: How do I set the default sound card?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le Fri, 19 Jan 2007 23:07:57 +0100,Ronny Standtke <Ronny.Standtke@xxxxxxx> a écrit :
> Hi Dominique,> > Thank you for your help.> > > You must have a file somewhere in /etc/modprobe.d with the options for the> > sound modules. I am not sure about debian, but I think at it> > is /etc/modprobe.d/sound.> > With Debian testing it is /etc/modprobe.d/alsa-base. I added the following > lines:> ---------> alias snd-card-0 snd-intel8x0> options snd-intel8x0 index=0> alias snd-card-1 snd-usb-audio> options snd-usb-audio index=1> alias snd-card-2 snd-usb-audio> options snd-usb-audio index=2> ---------> > The strange thing is that whenever I boot with just the webcam OR the headset > connected everything works as expected. But when I boot with BOTH the webcam > and the headset connect my on-board soundcard "disappears". But when I remove > my customization above from /etc/modprobe.d/alsa-base all three devices show > up.> > Is there any way to get out some more debugging information from ALSA so that > I can see why my on-board soundcard is not available in this special > situation?> You can look in /proc/asoundYou will find all the working sound card.
You can run "/etc/init.d/alsa restart"If the sound cards order is not the same as after booting, it mean atudev is loading some sound driver before alsa. When running "/etc/init.d/alsarestart", the script will first unload all the sound related modules and reloadthem with the order specified by alsa.
A workaround can be to blacklist the modules that udev load at boot time beforealsa. Edit /etc/modprobe.d/blacklist (not sure if it is the correct file forDebian) and add a line per non wanted module.
Another workaround but worst can be to add "/etc/init.d/alsa restart" in somelocal init script.
If it work, it is a workaround and must be considered as a bugbecause /etc/init.d/alsa must be able to load all the modules in the correctorder. So fill a bug report on debian.
Ciao,Dominique
-------------------------------------------------------------------------Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT & business topics through brief surveys - and earn cashhttp://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________Alsa-user mailing listAlsa-user@xxxxxxxxxxxxxxxxxxxxxxxxxx://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux