USB sound devices get index of 0 instead of PCI/onboard sound

Bug #46998 reported by fubarbundy
16
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

To reproduce: on a machine with a working sound card at index 0 (listed in gnome-volume-control under file/change device as '0: xxxx', plug in a USB sound device (especially something like a microphone, webcam etc.) Reboot.

Result: USB device steals index 0 and ALSA assigns it default status. Any other programs using /dev/dsp break.

Expected result: PCI and other internal devices get assigned lowest indexes first, ensuring they have a dependable device node. USB devices then get given higher indexes/nodes as they are less permanent.

Revision history for this message
Emmet Hikory (persia) wrote :

This is especially annoying when the USB audio device has no output functionality (say, a MIDI Controller). One must either unplug on each boot, or adjust the default settings.

Changed in linux-source-2.6.15:
status: Unconfirmed → Confirmed
Revision history for this message
Marten Klencke (mklencke) wrote :

Could the cause be the same as for bug 6367?

Revision history for this message
Daniel T Chen (crimsun) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Thu, 17 Aug 2006 00:34:10 +0100
Source: alsa-driver
Binary: linux-sound-base alsa-source alsa-base
Architecture: source
Version: 1.0.11-5ubuntu1
Distribution: edgy
Urgency: low
Maintainer: Debian ALSA Maintainers <email address hidden>
Changed-By: Daniel T Chen <email address hidden>
Description:
 alsa-base - ALSA driver configuration files
 alsa-source - ALSA driver sources
 linux-sound-base - base package for ALSA and OSS sound systems
Closes: 377716 380490
Changes:
 alsa-driver (1.0.11-5ubuntu1) edgy; urgency=low
 .
   * Merge from Debian unstable. The following Ubuntu changes remain:
     - Only ship modprobe configuration,
     - Remove default mode,
     - Invoke modprobe with -Qb and command line options,
     - Remove modprobe post-install script in favour of using udev,
     - Merge Debian 1.0.11-5's apm script into the initscript, and
       continue to ship the initscript in the apm scripts dir,
     - Don't allow snd-usb-audio to grab the default index, 0
       (Closes Ubuntu: #31109, #46996, #46998).
 .
 alsa-driver (1.0.11-5) unstable; urgency=low
 .
   [ Elimar Riesebieter ]
   * Added mixer store and restore functions to the apm script.
     (closes: #380490)
 .
 alsa-driver (1.0.11-4) unstable; urgency=low
 .
   [ Elimar Riesebieter ]
   * Use lsb init-functions in init script. Thanks Carlos Villegas
     (closes: #377716)
Files:
 256738ac1bf8a5fd5d259728a06012d4 805 sound optional alsa-driver_1.0.11-5ubuntu1.dsc
 4a14e37eaba5b34a4484c35f32d7c27b 181583 sound optional alsa-driver_1.0.11-5ubuntu1.diff.gz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFE9PTQe9GwFciKvaMRAlbTAJ9WqByCuFG+CmeLEKa4bvBOup3zkQCeOUhz
cfhL+mgqvSud2s/RSyyhEPU=
=5vwS
-----END PGP SIGNATURE-----

Changed in alsa-driver:
status: Confirmed → Fix Committed
Daniel T Chen (crimsun)
Changed in alsa-driver:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.