summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2012-03-09 11:46:06 +0100
committerTakashi Iwai <tiwai@suse.de>2012-03-09 12:36:44 +0100
commit1a9627dfe74d373010bbd41d738eda25e03f2231 (patch)
tree585802d22f6abefc3a0a57bbc486a01d632edced
parent65298d98f3b1222001283a2bfc92eecb12096def (diff)
downloadalsa-lib-1a9627dfe74d373010bbd41d738eda25e03f2231.tar.gz
USB-Audio: Blacklist iec958 for some USB devices
Some common USB devices are analog only, so prevent the digital devices from being opened. This simplifies probing the device in PulseAudio. I have a "Logitech USB Headset" myself, the "Logitech Web Camera" was reported by Raymond Yau, and the "Blue Snowball" was reported by Andy Whitcroft. Cc: Andy Whitcroft <andy.whitcroft@canonical.com> Cc: Raymond Yau <superquad.vortex2@gmail.com> BugLink: https://bugs.launchpad.net/bugs/940145 Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--src/conf/cards/USB-Audio.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/conf/cards/USB-Audio.conf b/src/conf/cards/USB-Audio.conf
index 0726c34b..d7c121e9 100644
--- a/src/conf/cards/USB-Audio.conf
+++ b/src/conf/cards/USB-Audio.conf
@@ -36,6 +36,11 @@ USB-Audio.pcm.surround40_type {
# number for the iec958 device can be changed here.
USB-Audio.pcm.iec958_device {
# "NoiseBlaster 3000" 42
+
+ # The below don't have digital in/out, so prevent them from being opened.
+ "Logitech USB Headset" 999
+ "Logitech Web Camera" 999
+ "Blue Snowball" 999
}