USB: quirks: Ignore wakeup from the Valve Index HMD hub
PATCH 1/1 USB: quirks: Ignore wakeup from the Valve Index HMD hub
The Valve Index HMD's onboard USB hub (28de:2613) asserts remote wakeup a few seconds after the host enters S3, so a system with the headset attached does not stay suspended. Observed on 7.3-rc2: every suspend attempt returned after ~6 seconds with wakeup events recorded from the hub. Disabling wakeup on the hub through sysfs allows the host to stay asleep until woken from the front panel. The headset most likely reacts to the DisplayPort link being taken down as the host suspends.
Nothing behind this hub is a device that should be able to wake the host. The headset includes a radio, microphone, and a downstream Microchip USB2744 hub.
--- drivers/usb/core/quirks.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/usb/core/quirks.c +4 -0
@@ -596,6 +596,10 @@ static const struct usb_device_id usb_quirk_list[] = {/* ShanWan Wireless Gamepad */ { USB_DEVICE(0x2563, 0x0575), .driver_info = USB_QUIRK_WINDOWS_CONFIG_REQ_SIZE }, + /* Valve Index HMD hub */ + { USB_DEVICE(0x28de, 0x2613), .driver_info = + USB_QUIRK_IGNORE_REMOTE_WAKEUP }, + /* UGREEN 35871 - BOS descriptor fetch hangs at SuperSpeed Plus */ { USB_DEVICE(0x2b89, 0x5871), .driver_info = USB_QUIRK_NO_BOS },
Signature · 1 line
2.55.0
Quoted 8 lines · Curtis Vogt
The Valve Index HMD's onboard USB hub (28de:2613) asserts remote wakeup a few seconds after the host enters S3, so a system with the headset attached does not stay suspended. Observed on 7.3-rc2: every suspend attempt returned after ~6 seconds with wakeup events recorded from the hub. Disabling wakeup on the hub through sysfs allows the host to stay asleep until woken from the front panel. The headset most likely reacts to the DisplayPort link being taken down as the host suspends.
Quoted 6 lines
Nothing behind this hub is a device that should be able to wake the host. The headset includes a radio, microphone, and a downstream Microchip USB2744 hub.
I guess this would make sense:
Thanks for the patch.
Quoted 18 lines
drivers/usb/core/quirks.c | 4 ++++ 1 file changed, 4 insertions(+)drivers/usb/core/quirks.c +4
-0@@ -596,6 +596,10 @@ static const struct usb_device_id usb_quirk_list[] = {/* ShanWan Wireless Gamepad */ { USB_DEVICE(0x2563, 0x0575), .driver_info = USB_QUIRK_WINDOWS_CONFIG_REQ_SIZE }, + /* Valve Index HMD hub */ + { USB_DEVICE(0x28de, 0x2613), .driver_info = + USB_QUIRK_IGNORE_REMOTE_WAKEUP }, + /* UGREEN 35871 - BOS descriptor fetch hangs at SuperSpeed Plus */ { USB_DEVICE(0x2b89, 0x5871), .driver_info = USB_QUIRK_NO_BOS },
Quoted 4 lines · Mario Limonciello
I guess this would make sense:
I agree that the issue can now be closed. The source of the "bad state" was ddcutil which fixed https://github.com/rockowitz/ddcutil/pull/637
which was included in version 3.0.2.
Quoted 9 lines · Curtis Vogt
Quoted 4 lines · Mario Limonciello
I guess this would make sense:
I agree that the issue can now be closed. The source of the "bad state" was ddcutil which fixed https://github.com/rockowitz/ddcutil/pull/637
which was included in version 3.0.2.
So you don't think we should quirk the kernel anymore like your patch does?
If userspace can break this, it kinda feels like the quirk is warranted still even if userspace that was breaking it is fixed.