From: David Henningsson Date: Fri, 9 Mar 2012 10:46:06 +0000 (+0100) Subject: USB-Audio: Blacklist iec958 for some USB devices X-Git-Tag: android-x86-9.0-r1~964 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=1a9627dfe74d373010bbd41d738eda25e03f2231;p=android-x86%2Fexternal-alsa-lib.git 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 Cc: Raymond Yau BugLink: https://bugs.launchpad.net/bugs/940145 Signed-off-by: David Henningsson Signed-off-by: Takashi Iwai --- 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 }