[PATCH 2/2] USB: quirks: Add USB_QUIRK_DISCONNECT_PARENT_SUSPEND for HyperX QuadCast S

From: Oleh Kurudz via B4 Relay

Date: Thu Nov 19 2026 - 17:22:40 EST


From: Oleh Kurudz <admin@xxxxxxxx>

The HyperX QuadCast S microphone has a built-in Huasheng 214b:7250 hub
with two functions behind it: an audio device (0951:171d) and an HID
device for the RGB lighting (0951:171f). During system suspend the HID
function drops off the built-in hub, and the hub wakes the system even
though remote wakeup is disabled. On an AMD laptop using s2idle the
first suspend after boot comes back within about a second:

[ 68.618009] PM: suspend entry (s2idle)
[ 69.752213] usb 1-1.3.1: usb suspend, wakeup 0
[ 69.753139] usb 1-1.3.4: usb suspend, wakeup 0
[ 69.753876] hub 1-1.3:1.0: hub_suspend
[ 69.754488] usb 1-1.3: usb suspend, wakeup 0
[ 69.775275] PM: suspend-to-idle
[ 69.775287] ACPI: PM: ACPI non-EC GPE wakeup
[ 69.775305] PM: resume from suspend-to-idle
[ 69.775319] amd_pmc AMDI0009:00: Last suspend didn't reach deepest state
[ 69.780417] usb 1-1.3-port1: status 0101 change 0001
[ 69.793138] PM: suspend exit

Here 1-1.3 is the built-in hub, 1-1.3.1 the HID function and 1-1.3.4
the audio function.

Disconnect the built-in hub during system suspend. Both functions get
the quirk, so it still applies if one of them failed to enumerate. The
microphone then cannot wake the system, which it is not expected to do
anyway, and on resume the hub is reset and both functions come back as
the same devices.

Tested on an AMD laptop (s2idle) with the microphone behind an external
hub that also carries a keyboard and a mouse: with this patch the system
stays in s2idle, the keyboard behind the external hub still wakes it,
and the microphone records normally after resume. Booting with
usbcore.quirks=0951:171d:s,0951:171f:s, which clears the quirk again,
brings the bouncing suspend back.

This patch and its changelog were written with the help of an AI
coding assistant (Claude, claude-opus-5-5). I reviewed the result and
ran the tests described above.

Signed-off-by: Oleh Kurudz <admin@xxxxxxxx>
---
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 3933cf9c0..97c63aabb 100644
--- a/drivers/usb/core/quirks.c
+++ b/drivers/usb/core/quirks.c
@@ -428,6 +428,12 @@ static const struct usb_device_id usb_quirk_list[] = {
/* Kingston DataTraveler 3.0 */
{ USB_DEVICE(0x0951, 0x1666), .driver_info = USB_QUIRK_NO_LPM },

+ /* HyperX QuadCast S, audio and HID functions behind its built-in hub */
+ { USB_DEVICE(0x0951, 0x171d), .driver_info =
+ USB_QUIRK_DISCONNECT_PARENT_SUSPEND },
+ { USB_DEVICE(0x0951, 0x171f), .driver_info =
+ USB_QUIRK_DISCONNECT_PARENT_SUSPEND },
+
/* TOSHIBA TransMemory-Mx */
{ USB_DEVICE(0x0930, 0x1408), .driver_info = USB_QUIRK_NO_LPM },


--
2.56.1