Bug#372554: [Pkg-alsa-devel] Bug#372554: alsa-base: Do not make snd-usb-audio the default hardware

Elimar Riesebieter riesebie at lxtec.de
Sun Jun 11 12:39:54 UTC 2006


Hi Stéphane,

On Fri, 09 Jun 2006 the mental interface of
Stéphane Rosi told:

> Package: alsa-base
> Version: 1.0.11-2
> Severity: wishlist
> 
> Hi!
> 
> I have a laptop with an AC97 soundcard, and an USB webcam with an
> integrated microphone.
> 
> If I boot my computer without plugging the webcam the AC97,
> soundcard is used by default by ALSA when loading snd-intel8x0.
> But if the webcam is plugged snd-usb-audio is loaded before and
> thus the microphone is considered as the default... and the sound
> doesn't work anymore!
> 
> This could be corrected by appending at the end of
> /etc/modprobe.d/alsa-base: options snd-usb-audio index=-2

In your case it would be more sensefull to create:

# echo "snd-usb-audio" > /etc/hotplug/blacklist.d/snd-usb-audio

to prevent loading the module via udev. Please notice that users have
usb-soundcards which are installed via /etc/modprobe.d/alsa-base:

install snd-usb-usx2y /sbin/modprobe --ignore-install snd-usb-usx2y \
$CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-usb-usx2y

An entry options snd-usb-audio index=-2 would be counterproductive in
that case ;)

Please let me know if this works for you, so I can close this bug
then.

Thanks for reporting

Elimar

-- 
  Experience is something you don't get until 
  just after you need it!




More information about the Pkg-alsa-devel mailing list