Skip to content

usb: core: Add quirk for 255-byte initial config read

Nikhil Solanke linux-doc linux-usb lkml stable 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 0 repliesNew
  2. v42 patches 3 repliesSuperseded
  3. v21 patch 24 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch5 repliesSuperseded

Changes in v5 from the cover letter

- Updated Patch description

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2usb: core: Add quirk for 255-bytes initial config readDocumentation/admin-guide/kernel-parameters.txt drivers/usb/core/config.c drivers/usb/core/quirks.c +1 more+36 -80 replies
2/2usb: hub: Split announce_device() to log device identity before enumerationdrivers/usb/core/hub.c+12 -40 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAlan Stern
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/2] usb: core: 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):
usb: core: Add quirk for 255-bytes initial config read
usb: hub: Split announce_device() to log device identity before
enumeration

Changes in v5:
- Updated Patch description

 .../admin-guide/kernel-parameters.txt         |  5 +++
 drivers/usb/core/config.c                     | 32 ++++++++++++++-----
 drivers/usb/core/hub.c                        | 16 +++++++---
 drivers/usb/core/quirks.c                     |  4 +++
 include/linux/usb/quirks.h                    |  3 ++
 5 files changed, 48 insertions(+), 12 deletions(-)
Signature · 1 line
2.54.0