ALSA: snd_usb_audio: ignore ctrl errors on QuickCam Pro for Notebooks
authorOleksij Rempel <bug-track@fisher-privat.net>
Tue, 19 Jun 2012 20:21:19 +0000 (22:21 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 20 Jun 2012 06:29:08 +0000 (08:29 +0200)
This webcam works mostly ok, exept with skype.
Skype sends lots of ctrl messages to dynamically ajust
record level. If for some reasons it pokes some error
every thing goes broken:
- first pulseaudio blocks sound for all apps
- then video is reseted
- then skype freez

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 484603bbeb7082caae38b9406604ab2dd9d5fe6a..e71fe55cebefa8285963643e7a592a0b71fbfc73 100644 (file)
@@ -341,6 +341,10 @@ static struct usbmix_ctl_map usbmix_ctl_maps[] = {
                .map = audigy2nx_map,
                .selector_map = audigy2nx_selectors,
        },
+       {       /* Logitech, Inc. QuickCam Pro for Notebooks */
+               .id = USB_ID(0x046d, 0x0991),
+               .ignore_ctl_error = 1,
+       },
        {       /* Logitech, Inc. QuickCam E 3500 */
                .id = USB_ID(0x046d, 0x09a4),
                .ignore_ctl_error = 1,