[Pkg-alsa-devel] Bug#598033: Bug#598033: alsa-base: the configuration of snd-usb-audio is broken when USB audio is used alone

Elimar Riesebieter riesebie at lxtec.de
Sun Sep 26 17:47:07 UTC 2010


* GOTO Masanori [100926 02:08 +0900]:
> Package: alsa-base
> Version: 1.0.23+dfsg-1
> Severity: normal
> 
> If I unload all the alsa devices (by the command "sudo alsa unload"), then
> connect the single USB audio device to my PC, "lsmod" shows "snd_usb_audio" is
> loaded.  However, the device numbering configuration is broken.  For example,
> 
>   $ ls /dev/snd/
>   by-id/  by-path/  controlC1  pcmC0D0c  pcmC0D0p  seq  timer
> 
> "controlC1" should be "controlC0" because pcmC0D0c and pcmC0D0p is "C0".
> 
> I fixed this issue by comment out the line in /etc/modprobe.d/alsa-base.conf
> like:
> 
>   # Keep snd-usb-audio from beeing loaded as first soundcard
>   #options snd-usb-audio index=-2
> 
> Now it works.  Is this line really needed?

Maybe yes. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574593

> 
> The problem was, I couldn't listen to music on the movie sites (such as
> youtube.com) with web browser (Google Chrome) because flash accesses controlC0
> but it didn't exist.
> 
> I prefer to load snd-usb-audio as the first soundcard, but I don't think it's
> good idea to number controlC1 instead of controlC0.

According to /usr/share/doc/alsa-base/README.Debian.gz you can
create a file /etc/modprobe.d/zz_sound.conf with the following
contents:

alias snd-card-0    snd_usb_audio
options snd_usb_audio  index=0

Elimar

-- 
  Never make anything simple and efficient when a way 
  can be found to make it complex and wonderful ;-)





More information about the Pkg-alsa-devel mailing list