Le Fri, 19 Jan 2007 23:07:57 +0100,
Ronny Standtke <[EMAIL PROTECTED]> 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/asound
You 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 at
udev is loading some sound driver before alsa. When running "/etc/init.d/alsa
restart", the script will first unload all the sound related modules and reload
them with the order specified by alsa.

A workaround can be to blacklist the modules that udev load at boot time before
alsa. Edit /etc/modprobe.d/blacklist (not sure if it is the correct file for
Debian) and add a line per non wanted module.

Another workaround but worst can be to add "/etc/init.d/alsa restart" in some
local init script.

If it work, it is a workaround and must be considered as a bug
because /etc/init.d/alsa must be able to load all the modules in the correct
order. So fill a bug report on debian.

Ciao,
Dominique

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to