From: Greg KH <gregkh@linuxfoundation.org>
To: Ishaan Dandekar <ishaan.dandekar@gmail.com>
Cc: nikhilsolanke5@gmail.com, linux-usb@vger.kernel.org
Subject: Re: [PATCH] usb: core: quirks: Add 255-bytes initial config read quirk
Date: Sat, 25 Jul 2026 19:27:34 +0200 [thread overview]
Message-ID: <2026072500-moaning-importer-e8ee@gregkh> (raw)
In-Reply-To: <CAG0uPa8qSkQjesAmcfms7Va2j0yb3VDuES5TYe=65LXFn0qKJQ@mail.gmail.com>
On Sat, Jul 25, 2026 at 08:19:21PM +0530, Ishaan Dandekar wrote:
> Hi Greg,
>
> Here is the follow-on patch adding the ShanWan Wireless Gamepad (2563:0575)
> to the static quirks table.
>
> Note: This patch depends on the USB_QUIRK_WINDOWS_CONFIG_REQ_SIZE flag
> introduced in Nikhil Solanke's pending patch:
> https://lore.kernel.org/linux-usb/20260717195336.98500-2-nikhilsolanke5@gmail.com/
>
> Thanks,
> Ishaan
>
> ---
>
> >From ecd1aa9afd8bc00a3e0b36cbe49b427f390e5de6 Mon Sep 17 00:00:00 2001
> From: Ishaan Dandekar <ishaan.dandekar@gmail.com>
> Date: Sat, 25 Jul 2026 20:03:28 +0530
> Subject: [PATCH] usb: quirks: Add ShanWan gamepad to quirk list
>
> The ShanWan Wireless Gamepad (dongle ID 2563:0575) crashes with a -71
> EPROTO error during standard enumeration because it expects a 255-byte
> initial configuration request. Add this device to the quirk list to
> use the USB_QUIRK_WINDOWS_CONFIG_REQ_SIZE flag.
>
> Signed-off-by: Ishaan Dandekar <ishaan.dandekar@gmail.com>
> ---
> drivers/usb/core/quirks.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
> index 87ee2d938..696bb6548 100644
> --- a/drivers/usb/core/quirks.c
> +++ b/drivers/usb/core/quirks.c
> @@ -588,6 +588,9 @@ static const struct usb_device_id usb_quirk_list[] = {
> { USB_DEVICE(0x2386, 0x3119), .driver_info = USB_QUIRK_NO_LPM },
>
> { USB_DEVICE(0x2386, 0x350e), .driver_info = USB_QUIRK_NO_LPM },
> +
> + /* ShanWan Wireless Gamepad */
> + { USB_DEVICE(0x2563, 0x0575), .driver_info =
> USB_QUIRK_WINDOWS_CONFIG_REQ_SIZE },
>
> /* UGREEN 35871 - BOS descriptor fetch hangs at SuperSpeed Plus */
> { USB_DEVICE(0x2b89, 0x5871), .driver_info = USB_QUIRK_NO_BOS },
> --
> 2.34.1
>
This patch is corrupted and can not be applied, please just send it with
git send-email so that this doesn't happen.
thanks,
greg k-h
next prev parent reply other threads:[~2026-07-25 17:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-25 5:05 [PATCH] usb: core: quirks: Add 255-bytes initial config read quirk Ishaan Dandekar
2026-07-25 5:22 ` Greg KH
2026-07-25 14:49 ` Ishaan Dandekar
2026-07-25 17:27 ` Greg KH [this message]
2026-07-26 7:32 ` Ishaan Dandekar
2026-07-25 19:04 ` Nikhil Solanke
2026-07-25 7:23 ` Nikhil Solanke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2026072500-moaning-importer-e8ee@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=ishaan.dandekar@gmail.com \
--cc=linux-usb@vger.kernel.org \
--cc=nikhilsolanke5@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.