]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/4.4.165/usb-quirks-add-delay-init-quirk-for-corsair-k70-lux-rgb.patch
drop drm patch
[thirdparty/kernel/stable-queue.git] / releases / 4.4.165 / usb-quirks-add-delay-init-quirk-for-corsair-k70-lux-rgb.patch
1 From a77112577667cbda7c6292c52d909636aef31fd9 Mon Sep 17 00:00:00 2001
2 From: Emmanuel Pescosta <emmanuelpescosta099@gmail.com>
3 Date: Fri, 26 Oct 2018 14:48:09 +0200
4 Subject: usb: quirks: Add delay-init quirk for Corsair K70 LUX RGB
5
6 From: Emmanuel Pescosta <emmanuelpescosta099@gmail.com>
7
8 commit a77112577667cbda7c6292c52d909636aef31fd9 upstream.
9
10 Following on from this patch: https://lkml.org/lkml/2017/11/3/516,
11 Corsair K70 LUX RGB keyboards also require the DELAY_INIT quirk to
12 start correctly at boot.
13
14 Dmesg output:
15 usb 1-6: string descriptor 0 read error: -110
16 usb 1-6: New USB device found, idVendor=1b1c, idProduct=1b33
17 usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
18 usb 1-6: can't set config #1, error -110
19
20 Signed-off-by: Emmanuel Pescosta <emmanuelpescosta099@gmail.com>
21 Cc: stable <stable@vger.kernel.org>
22 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
23
24 ---
25 drivers/usb/core/quirks.c | 3 +++
26 1 file changed, 3 insertions(+)
27
28 --- a/drivers/usb/core/quirks.c
29 +++ b/drivers/usb/core/quirks.c
30 @@ -243,6 +243,9 @@ static const struct usb_device_id usb_qu
31 { USB_DEVICE(0x1b1c, 0x1b20), .driver_info = USB_QUIRK_DELAY_INIT |
32 USB_QUIRK_DELAY_CTRL_MSG },
33
34 + /* Corsair K70 LUX RGB */
35 + { USB_DEVICE(0x1b1c, 0x1b33), .driver_info = USB_QUIRK_DELAY_INIT },
36 +
37 /* Corsair K70 LUX */
38 { USB_DEVICE(0x1b1c, 0x1b36), .driver_info = USB_QUIRK_DELAY_INIT },
39