Skip to content

Commit 11e7064

Browse files
committed
ALSA: usb-audio - Fix invalid volume resolution on Logitech HD webcam c270
USB audio driver spews an error message when probing Logitech HD webcam c270: ALSA mixer.c:1300 usb_audio: Warning! Unlikely big volume range (=6144), cval->res is probably wrong. ALSA mixer.c:1304 usb_audio: [5] FU [Mic Capture Volume] ch = 1, val = 1536/7680/1 Obviously the device needs a fixed volume resolution (cval->res = 384) like other Logitech devices. Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=821735 Reported-and-tested-by: Cristian Rodríguez <[email protected]> Cc: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent 8eafc0a commit 11e7064

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sound/usb/mixer.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -886,6 +886,7 @@ static void volume_control_quirks(struct usb_mixer_elem_info *cval,
886886
case USB_ID(0x046d, 0x0808):
887887
case USB_ID(0x046d, 0x0809):
888888
case USB_ID(0x046d, 0x081d): /* HD Webcam c510 */
889+
case USB_ID(0x046d, 0x0825): /* HD Webcam c270 */
889890
case USB_ID(0x046d, 0x0991):
890891
/* Most audio usb devices lie about volume resolution.
891892
* Most Logitech webcams have res = 384.

0 commit comments

Comments
 (0)