usbcore: Add quirk for 255-byte initial config read
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | usbcore: Add quirk for 255-bytes initial config readDocumentation/ drivers/ drivers/ +1 more | +49 | 5 replies | |
| 2/2 | USB: hub: Split announce_device() to log device identity before enumerationdrivers/ | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] usbcore: Add quirk for 255-byte initial config read
This series adds a quirk for USB devices that fail enumeration when the initial GET_DESCRIPTOR(CONFIGURATION) request uses wLength=9.
Patch 1 adds USB_QUIRK_WINDOWS_CONFIG_REQ_SIZE which causes usb_get_configuration() to use wLength=255 for the initial config descriptor request, mirroring long-standing Windows behavior.
Patch 2 splits announce_device() to log device identity before enumeration, improving failure diagnosis.
Nikhil Solanke (2):
usbcore: Add quirk for 255-bytes initial config read
USB: hub: Split announce_device() to log device identity before
enumeration
.../admin-guide/kernel-parameters.txt | 10 +++++ drivers/usb/core/config.c | 39 +++++++++++++++---- drivers/usb/core/hub.c | 16 ++++++-- drivers/usb/core/quirks.c | 4 ++ include/linux/usb/quirks.h | 3 ++ 5 files changed, 61 insertions(+), 11 deletions(-)
Signature · 1 line
2.55.0