ALSA: snd_usb_audio: ignore ctrl errors on QuickCam E3500
authorOleksij Rempel <bug-track@fisher-privat.net>
Tue, 19 Jun 2012 20:21:18 +0000 (22:21 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 20 Jun 2012 06:28:57 +0000 (08:28 +0200)
if this cam is pluged in, pulse audio can't initiate capture
device.
dmesg has lots of messages like:
"cannot set freq 16000 to ep 0x86"

Setting ignore_ctl_error=1 fixes this problem.

Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer_maps.c

index 41daaa2..484603b 100644 (file)
@@ -341,6 +341,10 @@ static struct usbmix_ctl_map usbmix_ctl_maps[] = {
                .map = audigy2nx_map,
                .selector_map = audigy2nx_selectors,
        },
+       {       /* Logitech, Inc. QuickCam E 3500 */
+               .id = USB_ID(0x046d, 0x09a4),
+               .ignore_ctl_error = 1,
+       },
        {
                /* Hercules DJ Console (Windows Edition) */
                .id = USB_ID(0x06f8, 0xb000),