Skip to contentSkip to conversation

usb: quirks: add delay quirks for Corsair Strafe

DISCUSSION Nico Sneck 1 participant 1 message Jul 4, 2018 USB

lore
Share & tools
lore

Nico Sneck

author
#0 lore raw

CC Greg in hopes of having someone take a look at this patch before Monday (when my military service starts).

Quoted 19 lines · Nico Sneck

Corsair Strafe appears to suffer from the same issues as the Corsair Strafe RGB.
Apply the same quirks (control message delay and init delay) that the RGB version has to 1b1c:1b15.

With these quirks in place the keyboard works correctly upon booting the system, and no longer requires reattaching the device.

---
  drivers/usb/core/quirks.c | 4 ++++
  1 file changed, 4 insertions(+)
drivers/usb/core/quirks.c +0 -0
index c55def2f1320..097057d2eacf 100644

drivers/usb/core/quirks.c static const struct usb_device_id usb_quirk_list[] = { · line 387

Quoted 10 lines
drivers/usb/core/quirks.c +4 -0
@@ -378,6 +378,10 @@ static const struct usb_device_id usb_quirk_list[] = {
  	/* Corsair K70 RGB */
  	{ USB_DEVICE(0x1b1c, 0x1b13), .driver_info = USB_QUIRK_DELAY_INIT },
 
+	/* Corsair Strafe */
+	{ USB_DEVICE(0x1b1c, 0x1b15), .driver_info = USB_QUIRK_DELAY_INIT |
+	  USB_QUIRK_DELAY_CTRL_MSG },
+
  	/* Corsair Strafe RGB */
  	{ USB_DEVICE(0x1b1c, 0x1b20), .driver_info = USB_QUIRK_DELAY_INIT |
  	  USB_QUIRK_DELAY_CTRL_MSG },

---
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