[SRU] [J/L] [PATCH 0/1] Fix enumeration of USB SS devices

Kai-Heng Feng kai.heng.feng at canonical.com
Tue Nov 14 07:21:50 UTC 2023


BugLink: https://bugs.launchpad.net/bugs/2043197

[Impact]
USB SuperSpeed (3.0) devcies can't be enumerated on Lunar/Jammy kernel.

[Fix]
Use logarithmic encoding for the bMaxPacketSize0 value.

[Test]
With the patch applied, SuperSpeed devices can be enumerated across
several reboots.

[Where problems could occur]
The switch case for Wireless USB (not USB WiFi dongle) was removed by
the fix. I am not aware of the existence of any Wireless USB device. But
if they do exist, this patch may the packet size encoding on them.

Alan Stern (1):
  USB: core: Fix oversight in SuperSpeed initialization

 drivers/usb/core/hub.c | 36 ++++++++++++++++++++++++------------
 1 file changed, 24 insertions(+), 12 deletions(-)

-- 
2.34.1




More information about the kernel-team mailing list