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

GOTO Masanori gotom at debian.org
Sat Sep 25 17:08:40 UTC 2010


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?

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.



-- Package-specific info:
--- Begin additional package status ---
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  libasound2     1.0.23-1       shared library for ALSA applications
--- End additional package status ---
--- Begin /proc/asound/version ---
Advanced Linux Sound Architecture Driver Version 1.0.21.
--- End /proc/asound/version ---
--- Begin /proc/asound/cards ---
 0 [Device         ]: USB-Audio - Kenwood  Audio Device
                      Kenwood Kenwood  Audio Device at usb-0000:00:1d.7-3.4.2, full speed
--- End /proc/asound/cards ---
--- Begin /dev/snd/ listing ---
total 0
drwxr-xr-x 2 root root      60 Sep 26 01:46 by-id
drwxr-xr-x 2 root root      60 Sep 26 01:46 by-path
crw-rw---- 1 root audio 116, 6 Sep 26 01:46 controlC0
crw-rw---- 1 root audio 116, 5 Sep 26 01:46 pcmC0D0c
crw-rw---- 1 root audio 116, 4 Sep 26 01:50 pcmC0D0p
crw-rw---- 1 root audio 116, 3 Sep 26 01:46 seq
crw-rw---- 1 root audio 116, 2 Sep 26 01:46 timer
--- End /dev/snd/ listing ---

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-bpo.4-amd64 (SMP w/8 CPU cores)
Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=EUC-JP)
Shell: /bin/sh linked to /bin/bash

Versions of packages alsa-base depends on:
ii  linux-sound-base           1.0.23+dfsg-1 base package for ALSA and OSS soun
ii  lsof                       4.81.dfsg.1-1 List open files
ii  module-init-tools          3.12-1        tools for managing Linux kernel mo
ii  udev                       160-1         /dev/ and hotplug management daemo

Versions of packages alsa-base recommends:
ii  alsa-utils                    1.0.23-2   Utilities for configuring and usin

Versions of packages alsa-base suggests:
ii  alsa-oss                      1.0.17-4   ALSA wrapper for OSS applications
ii  apmd                          3.2.2-14   Utilities for Advanced Power Manag
ii  oss-compat                    0.0.4+nmu3 OSS compatibility package

Versions of packages libasound2 depends on:
ii  libc6                         2.11.2-6   Embedded GNU C Library: Shared lib

-- Configuration Files:
/etc/modprobe.d/alsa-base.conf changed [not included]

-- debconf information:
  alsa-common/card-list:
  alsa-base/alsactl_store_on_shutdown: always autosave





More information about the Pkg-alsa-devel mailing list