Skip to contentSkip to conversation

usb-audio: Fix invalid volume resolution for Logitech HD Webcam C525

PATCH New Maxim Boyko 4 participants 4 messages Aug 9, 2013 – Aug 12, 2013 1 message not in the archive Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb-audio: Fix invalid volume resolution for Logitech HD Webcam C525

Add the volume control quirk for avoiding the kernel warning for the Logitech HD Webcam C525
as in the similar commit 36691e1be6ec551eef4a5225f126a281f8c051c2 for the Logitech HD Webcam C310.

--

 sound/usb/mixer.c |    1 +
 1 file changed, 1 insertion(+)
sound/usb/mixer.c +1 -0
@@ -888,6 +888,7 @@ static void volume_control_quirks(struct
 	case USB_ID(0x046d, 0x081b): /* HD Webcam c310 */
 	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, 0x0991):
 	/* Most audio usb devices lie about volume resolution.
 	 * Most Logitech webcams have res = 384.

--
WBR, Maksim

P.S. Please, use this patch due to it should have correct tab symbols. --
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw

PATCH 1/1 usb-audio: Fix invalid volume resolution for Logitech HD Webcam C525

Add the volume control quirk for avoiding the kernel warning for the Logitech HD Webcam C525
as in the similar commit 36691e1be6ec551eef4a5225f126a281f8c051c2 for the Logitech HD Webcam C310.

--

 sound/usb/mixer.c |    1 +
 1 file changed, 1 insertion(+)

--- linux-3.10.5-orig/sound/usb/mixer.c 2013-08-04 12:51:49.000000000
+0400
+++ linux-3.10.5/sound/usb/mixer.c 2013-08-06 21:12:42.274197287
+0400
@@ -888,6 +888,7 @@ static void volume_control_quirks(struct
case USB_ID(0x046d, 0x081b): /* HD Webcam c310 */ 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, 0x0991):
/* Most audio usb devices lie about volume resolution.
* Most Logitech webcams have res = 384.

--
WBR, Maksim

P.S. Please, use this patch due to it should have correct tab symbols.

#2 lore raw

Hello.

Quoted 3 lines · Maksim A. Boyko

Add the volume control quirk for avoiding the kernel warning for the Logitech HD Webcam C525
as in the similar commit 36691e1be6ec551eef4a5225f126a281f8c051c2

Please also specify that commit's summary line in parens.

Quoted 27 lines

for the Logitech HD Webcam C310.

--

  sound/usb/mixer.c |    1 +
  1 file changed, 1 insertion(+)

--- linux-3.10.5-orig/sound/usb/mixer.c 2013-08-04 12:51:49.000000000
+0400
+++ linux-3.10.5/sound/usb/mixer.c 2013-08-06 21:12:42.274197287
+0400

sound/usb/mixer.c +1 -1
@@ -888,6 +888,7 @@ static void volume_control_quirks(struct
      case USB_ID(0x046d, 0x081b): /* HD Webcam c310 */
      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, 0x0991):
      /* Most audio usb devices lie about volume resolution.
       * Most Logitech webcams have res = 384.
 
 
--

WBR, Maksim

Quoted 1 line

P.S. Please, use this patch due to it should have correct tab symbols.

Unfortunately, it seems to have a space added before each line starting
with space.

WBR, Sergei

A message that is not in the archive (sent off-list or not yet received): [email protected]

Applied
#4 lore raw

At Sat, 10 Aug 2013 12:20:02 +0400,

Quoted 10 lines · Maksim A. Boyko

Add the volume control quirk for avoiding the kernel warning for the Logitech HD Webcam C525
as in the similar commit 36691e1be6ec551eef4a5225f126a281f8c051c2 for the Logitech HD Webcam C310.

Thanks, applied.

Takashi

Quoted 21 lines

--

  sound/usb/mixer.c |    1 +
  1 file changed, 1 insertion(+)

--- linux-3.10.5-orig/sound/usb/mixer.c 2013-08-04 12:51:49.000000000
+0400
+++ linux-3.10.5/sound/usb/mixer.c 2013-08-06 21:12:42.274197287
+0400

sound/usb/mixer.c +1 -1
@@ -888,6 +888,7 @@ static void volume_control_quirks(struct
  	case USB_ID(0x046d, 0x081b): /* HD Webcam c310 */
  	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, 0x0991):
  	/* Most audio usb devices lie about volume resolution.
  	 * Most Logitech webcams have res = 384.
 
 
--

WBR, Maksim

Quoted 8 lines

P.S. Please, use this patch due to it should have correct tab symbols.

_______________________________________________
Alsa-devel mailing list Alsa-devel-K7yf7f+aM1XWsZ/[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html