diff mbox

ALSA: usb-audio: Add mic volume fix quirk for Logitech Quickcam Fusion

Message ID 1432896656-3228-1-git-send-email-wsa@the-dreams.de (mailing list archive)
State Accepted
Commit 1ef9f0583514508bc93427106ceef3215e4eb1a5
Headers show

Commit Message

Wolfram Sang May 29, 2015, 10:50 a.m. UTC
Fix this from the logs:

usb 7-1: New USB device found, idVendor=046d, idProduct=08ca
...
usb 7-1: Warning! Unlikely big volume range (=3072), cval->res is probably wrong.
usb 7-1: [5] FU [Mic Capture Volume] ch = 1, val = 4608/7680/1

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
---
 sound/usb/mixer.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Takashi Iwai May 29, 2015, 10:58 a.m. UTC | #1
At Fri, 29 May 2015 19:50:56 +0900,
Wolfram Sang wrote:
> 
> Fix this from the logs:
> 
> usb 7-1: New USB device found, idVendor=046d, idProduct=08ca
> ...
> usb 7-1: Warning! Unlikely big volume range (=3072), cval->res is probably wrong.
> usb 7-1: [5] FU [Mic Capture Volume] ch = 1, val = 4608/7680/1
> 
> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>

Applied now (with Cc to stable).  Thanks!


Takashi

> ---
>  sound/usb/mixer.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c
> index 3e2ef61c627b83..4256fdedbd8009 100644
> --- a/sound/usb/mixer.c
> +++ b/sound/usb/mixer.c
> @@ -918,6 +918,7 @@ static void volume_control_quirks(struct usb_mixer_elem_info *cval,
>  	case USB_ID(0x046d, 0x081d): /* HD Webcam c510 */
>  	case USB_ID(0x046d, 0x0825): /* HD Webcam c270 */
>  	case USB_ID(0x046d, 0x0826): /* HD Webcam c525 */
> +	case USB_ID(0x046d, 0x08ca): /* Logitech Quickcam Fusion */
>  	case USB_ID(0x046d, 0x0991):
>  	/* Most audio usb devices lie about volume resolution.
>  	 * Most Logitech webcams have res = 384.
> -- 
> 2.1.4
>
diff mbox

Patch

diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c
index 3e2ef61c627b83..4256fdedbd8009 100644
--- a/sound/usb/mixer.c
+++ b/sound/usb/mixer.c
@@ -918,6 +918,7 @@  static void volume_control_quirks(struct usb_mixer_elem_info *cval,
 	case USB_ID(0x046d, 0x081d): /* HD Webcam c510 */
 	case USB_ID(0x046d, 0x0825): /* HD Webcam c270 */
 	case USB_ID(0x046d, 0x0826): /* HD Webcam c525 */
+	case USB_ID(0x046d, 0x08ca): /* Logitech Quickcam Fusion */
 	case USB_ID(0x046d, 0x0991):
 	/* Most audio usb devices lie about volume resolution.
 	 * Most Logitech webcams have res = 384.