* usb: quirks: add delay quirks for Corsair Strafe
@ 2018-07-02 16:26 Nico Sneck
0 siblings, 0 replies; 3+ messages in thread
From: Nico Sneck @ 2018-07-02 16:26 UTC (permalink / raw)
To: linux-usb
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.
Signed-off-by: Nico Sneck <snecknico@gmail.com>
---
drivers/usb/core/quirks.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
index c55def2f1320..097057d2eacf 100644
--- a/drivers/usb/core/quirks.c
+++ b/drivers/usb/core/quirks.c
@@ -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 },
^ permalink raw reply related [flat|nested] 3+ messages in thread
* usb: quirks: add delay quirks for Corsair Strafe
@ 2018-07-04 12:14 Nico Sneck
0 siblings, 0 replies; 3+ messages in thread
From: Nico Sneck @ 2018-07-04 12:14 UTC (permalink / raw)
To: linux-usb; +Cc: gregkh
CC Greg in hopes of having someone take a look at this patch before
Monday (when my military service starts).
On 02.07.2018 19:26, Nico Sneck wrote:
> 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.
>
> Signed-off-by: Nico Sneck <snecknico@gmail.com>
> ---
> drivers/usb/core/quirks.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
> index c55def2f1320..097057d2eacf 100644
> --- a/drivers/usb/core/quirks.c
> +++ b/drivers/usb/core/quirks.c
> @@ -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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* usb: quirks: add delay quirks for Corsair Strafe
@ 2018-07-04 12:16 Greg Kroah-Hartman
0 siblings, 0 replies; 3+ messages in thread
From: Greg Kroah-Hartman @ 2018-07-04 12:16 UTC (permalink / raw)
To: Nico Sneck; +Cc: linux-usb
On Wed, Jul 04, 2018 at 03:14:17PM +0300, Nico Sneck wrote:
> CC Greg in hopes of having someone take a look at this patch before
> Monday (when my military service starts).
It's in my queue, will probably get to it next week. At first glance
looks fine.
Good luck on your service!
greg k-h
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-07-04 12:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-04 12:16 usb: quirks: add delay quirks for Corsair Strafe Greg Kroah-Hartman
-- strict thread matches above, loose matches on Subject: below --
2018-07-04 12:14 Nico Sneck
2018-07-02 16:26 Nico Sneck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).