]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/4.4.141/usb-quirks-add-delay-quirks-for-corsair-strafe.patch
Linux 4.9.169
[thirdparty/kernel/stable-queue.git] / releases / 4.4.141 / usb-quirks-add-delay-quirks-for-corsair-strafe.patch
1 From bba57eddadda936c94b5dccf73787cb9e159d0a5 Mon Sep 17 00:00:00 2001
2 From: Nico Sneck <snecknico@gmail.com>
3 Date: Mon, 2 Jul 2018 19:26:07 +0300
4 Subject: usb: quirks: add delay quirks for Corsair Strafe
5
6 From: Nico Sneck <snecknico@gmail.com>
7
8 commit bba57eddadda936c94b5dccf73787cb9e159d0a5 upstream.
9
10 Corsair Strafe appears to suffer from the same issues
11 as the Corsair Strafe RGB.
12 Apply the same quirks (control message delay and init delay)
13 that the RGB version has to 1b1c:1b15.
14
15 With these quirks in place the keyboard works correctly upon
16 booting the system, and no longer requires reattaching the device.
17
18 Signed-off-by: Nico Sneck <snecknico@gmail.com>
19 Cc: stable <stable@vger.kernel.org>
20 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
21
22 ---
23 drivers/usb/core/quirks.c | 4 ++++
24 1 file changed, 4 insertions(+)
25
26 --- a/drivers/usb/core/quirks.c
27 +++ b/drivers/usb/core/quirks.c
28 @@ -231,6 +231,10 @@ static const struct usb_device_id usb_qu
29 /* Corsair K70 RGB */
30 { USB_DEVICE(0x1b1c, 0x1b13), .driver_info = USB_QUIRK_DELAY_INIT },
31
32 + /* Corsair Strafe */
33 + { USB_DEVICE(0x1b1c, 0x1b15), .driver_info = USB_QUIRK_DELAY_INIT |
34 + USB_QUIRK_DELAY_CTRL_MSG },
35 +
36 /* Corsair Strafe RGB */
37 { USB_DEVICE(0x1b1c, 0x1b20), .driver_info = USB_QUIRK_DELAY_INIT |
38 USB_QUIRK_DELAY_CTRL_MSG },