Skip to contentSkip to conversation

USB: core: add USB_QUIRK_NO_LPM for VIA Labs USB 2.0 hub

PATCH In review Rodrigo Lugathe da Conceição Alves 1 participant 2 messages Jun 3 – Jun 4 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 USB: core: add USB_QUIRK_NO_LPM for VIA Labs USB 2.0 hub

The VIA Labs, Inc. USB 2.0 hub controller (2109:2817), found in a KVM switch, fails to enumerate high-power devices during cold boot and system restart.

Applying the kernel parameter
usbcore.quirks=2109:2817:k
resolves the issue.

Enumeration failure log:
usb 1-1.2.3: device descriptor read/64, error -32 usb 1-1.2.3: Device not responding to setup address. usb 1-1.2.3: device not accepting address 11, error -71 usb 1-1.2-port3: unable to enumerate USB device

Add USB_QUIRK_NO_LPM for this device.

---
 drivers/usb/core/quirks.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/usb/core/quirks.c +3 -0
index 87810eff974e..a72c8cdf9777 100644
@@ -576,6 +576,9 @@ static const struct usb_device_id usb_quirk_list[] = {
 	/* VLI disk */
 	{ USB_DEVICE(0x2109, 0x0711), .driver_info = USB_QUIRK_NO_LPM },
 
+	/* VIA Labs, Inc. USB2.0 Hub */
+	{ USB_DEVICE(0x2109, 0x2817), .driver_info = USB_QUIRK_NO_LPM },
+
 	/* Raydium Touchscreen */
 	{ USB_DEVICE(0x2386, 0x3114), .driver_info = USB_QUIRK_NO_LPM },
 
Signature · 1 line
2.54.0
author
#1 lore raw

Hi Greg,

Some additional information about the affected device.

The hub (2109:2817, bcdDevice 0.30) advertises USB 2.0 Link Power Management support:

USB 2.0 Extension Device Capability:
bmAttributes 0x00000006
BESL Link Power Management (LPM) Supported

The KVM switch topology:

xHCI -> Terminus 1a40:0101 -> VIA Labs 2109:2817

Thanks,
Rodrigo