Linux USB
 help / color / mirror / Atom feed
* [PATCH] usb: core: Add quirk for HyperX Cloud III S Wireless dongle
@ 2026-11-29 13:26 Lennard Kittner
  2026-11-29 13:30 ` sashiko-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Lennard Kittner @ 2026-11-29 13:26 UTC (permalink / raw)
  To: gregkh, linux-usb; +Cc: Lennard Kittner, stable

Add USB_QUIRK_WINDOWS_CONFIG_REQ_SIZE for the HyperX Cloud III S
Wireless dongle (03f0:02cc, 03f0:06be). The quirk was introduced in
commit 152f174a1361 ("usb: core: Add quirk for 255-bytes initial
config read"). It makes the dongle see the same initial request as
on Windows.

The dongle changes its firmware mode depending on the wLength of
the first GET_DESCRIPTOR(CONFIGURATION) request after power-up.
Windows requests 255 bytes, while Linux requests 9 bytes.

With 9 bytes, everything coming from the headset (replies to state
queries and state change notifications) is dropped until the next
power cycle. Audio and commands to the headset still work, but
userspace tools are unable to query information such as the battery
level.

A Windows ETW/xHCI trace shows the 255-byte request. USBPcap starts
recording too late to see it.

Tested with 03f0:02cc on 7.2.9, using a kernel built with this
patch: after power-cycling the dongle (unplug, wait 5 s, replug),
and when the dongle is already plugged in at boot, the headset
reports battery state and link notifications.

Tested with 03f0:06be by a user on 7.3 using the equivalent
usbcore.quirks=03f0:06be:r parameter: without it the headset did
not respond to queries, with it the headset responds. A second user
with 03f0:06be confirmed that it works with the quirk on 7.3.

Cc: stable@vger.kernel.org
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Lennard Kittner <lennard@kittner.dev>
---
 drivers/usb/core/quirks.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
index 98544785e462..bd7f6f4f99b7 100644
--- a/drivers/usb/core/quirks.c
+++ b/drivers/usb/core/quirks.c
@@ -206,6 +206,12 @@ static const struct usb_device_id usb_quirk_list[] = {
 	{ USB_DEVICE(0x0218, 0x0401), .driver_info =
 			USB_QUIRK_CONFIG_INTF_STRINGS },
 
+	/* HyperX Cloud III S Wireless dongle */
+	{ USB_DEVICE(0x03f0, 0x02cc), .driver_info =
+			USB_QUIRK_WINDOWS_CONFIG_REQ_SIZE },
+	{ USB_DEVICE(0x03f0, 0x06be), .driver_info =
+			USB_QUIRK_WINDOWS_CONFIG_REQ_SIZE },
+
 	/* HP 5300/5370C scanner */
 	{ USB_DEVICE(0x03f0, 0x0701), .driver_info =
 			USB_QUIRK_STRING_FETCH_255 },

base-commit: 7cd8495c0f16275c4f9abe1cef09a7b5fcd6d046
-- 
2.56.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] usb: core: Add quirk for HyperX Cloud III S Wireless dongle
  2026-11-29 13:26 [PATCH] usb: core: Add quirk for HyperX Cloud III S Wireless dongle Lennard Kittner
@ 2026-11-29 13:30 ` sashiko-bot
  0 siblings, 0 replies; 2+ messages in thread
From: sashiko-bot @ 2026-11-29 13:30 UTC (permalink / raw)
  To: Lennard Kittner, linux-usb

> Add USB_QUIRK_WINDOWS_CONFIG_REQ_SIZE for the HyperX Cloud III S
> Wireless dongle (03f0:02cc, 03f0:06be). The quirk was introduced in
> commit 152f174a1361 ("usb: core: Add quirk for 255-bytes initial
> config read"). It makes the dongle see the same initial request as
> on Windows.
> 
> The dongle changes its firmware mode depending on the wLength of
> the first GET_DESCRIPTOR(CONFIGURATION) request after power-up.
> Windows requests 255 bytes, while Linux requests 9 bytes.
> 
> With 9 bytes, everything coming from the headset (replies to state
> queries and state change notifications) is dropped until the next
> power cycle. Audio and commands to the headset still work, but
> userspace tools are unable to query information such as the battery
> level.
> [ ... ]
> with 03f0:06be confirmed that it works with the quirk on 7.3.
> 
> Cc: stable@vger.kernel.org
> Assisted-by: Claude:claude-opus-5-5
> Signed-off-by: Lennard Kittner <lennard@kittner.dev>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261129132659.1193398-1-lennard@kittner.dev?part=1

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-29 13:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-29 13:26 [PATCH] usb: core: Add quirk for HyperX Cloud III S Wireless dongle Lennard Kittner
2026-11-29 13:30 ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox