usb audio driver can still be loaded first despite settings in /etc/modprobe.d/alsa-base.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alsa-driver (Ubuntu) |
Invalid
|
Undecided
|
Daniel T Chen |
Bug Description
The file contains the lines:
# Prevent abnormal drivers from grabbing index 0
options snd-usb-audio index=-2
and yet snd-usb-audio grabs index 0, when snd-hda-intel should have been allowed to.
This problem has only started since I started attaching TWO devices which use the snd-usb-audio driver. Also, one of them is a webcam; I don't know if that somehow gets around the setting for the audio driver.
ProblemType: Bug
Architecture: i386
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/dsp2', '/dev/dsp1', '/dev/dsp', '/dev/snd/
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0x90440000 irq 22'
Mixer name : 'SigmaTel STAC9221 A1'
Components : 'HDA:83847680,
Controls : 19
Simple ctrls : 11
Card1.Amixer.info:
Card hw:1 'camera'/'USB camera at usb-0000:00:1d.1-1, full speed'
Mixer name : 'USB Mixer'
Components : 'USB045e:00f7'
Controls : 3
Simple ctrls : 2
Card2.Amixer.info:
Card hw:2 'default'/'C-Media USB Headphone Set at usb-0000:00:1d.2-1, full speed'
Mixer name : 'USB Mixer'
Components : 'USB0d8c:000c'
Controls : 7
Simple ctrls : 3
Date: Mon Nov 16 23:14:11 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelMo
Package: alsa-base 1.0.20+
PackageArchitec
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_GB.UTF-8
ProcVersionSign
SourcePackage: alsa-driver
Uname: Linux 2.6.31-14-generic i686
The proper way to fix this symptom is to use the slots parameter (passed to snd.ko):
options snd slots=, snd-usb- audio
(Yes, the leading comma is intentional.) However, using this syntax will aggravate people wanting their usb headsets to be the default/primary sound device (think non-PulseAudio users).