Linux USB
 help / color / mirror / Atom feed
From: Lennard Kittner <lennard@kittner.dev>
To: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org
Cc: Lennard Kittner <lennard@kittner.dev>, stable@vger.kernel.org
Subject: [PATCH] usb: core: Add quirk for HyperX Cloud III S Wireless dongle
Date: Sun, 29 Nov 2026 14:26:59 +0100	[thread overview]
Message-ID: <20261129132659.1193398-1-lennard@kittner.dev> (raw)

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


             reply	other threads:[~2026-11-29 13:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-29 13:26 Lennard Kittner [this message]
2026-11-29 13:30 ` [PATCH] usb: core: Add quirk for HyperX Cloud III S Wireless dongle sashiko-bot

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=20261129132659.1193398-1-lennard@kittner.dev \
    --to=lennard@kittner.dev \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox