From: Michal Pecio <michal.pecio@gmail.com>
To: "Johannes Brüderl" <johannes.bruederl@gmail.com>
Cc: linux-usb@vger.kernel.org, gregkh@linuxfoundation.org
Subject: Re: [PATCH v2] usb: core: add USB_QUIRK_NO_BOS for devices that hang on BOS descriptor
Date: Sun, 7 Dec 2025 08:40:12 +0100 [thread overview]
Message-ID: <20251207084012.7c232e52.michal.pecio@gmail.com> (raw)
In-Reply-To: <20251207012059.7899-1-johannes.bruederl@gmail.com>
On Sun, 7 Dec 2025 02:20:59 +0100, Johannes Brüderl wrote:
> v2: Return -ENOMSG instead of 0 to properly indicate no BOS data.
Probably good idea.
> Tested unbind/rebind via /sys/bus/usb/drivers/usb/unbind - works
> correctly. Userspace tools (lsusb) handle missing BOS gracefully
> (no BOS section shown).
I thought that lsusb never shows BOS, unless you run it as root, and
then it issues control requests to the device to fetch it directly?
And the other user tried it and reported that it worked just fine.
Do you see the same behavior on yours?
> Before (device hangs at SuperSpeed Plus, then re-enumerates at lower speed
> with different product ID 009c):
>
> [ 3.284990] usb 2-2: new SuperSpeed Plus Gen 2x1 USB device number 2 using xhci_hcd
> [ 8.574542] usb 2-2: unable to get BOS descriptor or descriptor too short
> [ 8.600018] usb 2-2: unable to read config index 0 descriptor/start: -71
> [ 8.600027] usb 2-2: can't read configurations, error -71
> [ 8.998412] usb 2-2: Device not responding to setup address.
> [ 9.215157] usb 2-2: Device not responding to setup address.
> [ 9.422737] usb 2-2: device not accepting address 3, error -71
> [ 10.990897] usb 2-2: new SuperSpeed USB device number 5 using xhci_hcd
> [ 11.065869] usb 2-2: LPM exit latency is zeroed, disabling LPM.
I wonder if this means that the BOS descriptor returned during
SuperSpeed enumeration is bogus?
What BOS shows up if you run 'lsusb -v' as root after the device
completes enumeratation at SuperSpeed?
next prev parent reply other threads:[~2025-12-07 7:40 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-07 0:00 [PATCH] usb: core: add USB_QUIRK_NO_BOS for devices that hang on BOS descriptor Johannes Brüderl
2025-12-07 0:15 ` Greg KH
2025-12-07 1:20 ` [PATCH v2] " Johannes Brüderl
2025-12-07 6:19 ` Lars Melin
2025-12-07 9:02 ` [PATCH v3 1/1] " Johannes Brüderl
2026-01-07 16:06 ` Greg KH
2025-12-07 7:40 ` Michal Pecio [this message]
2025-12-07 9:22 ` [PATCH v2] " Johannes Brüderl
2025-12-07 9:45 ` Michal Pecio
2025-12-07 10:47 ` Johannes Brüderl
2025-12-07 11:00 ` Greg KH
2025-12-07 21:12 ` Greg KH
2025-12-07 22:06 ` Michal Pecio
2025-12-08 8:58 ` Oliver Neukum
2025-12-08 20:46 ` Greg KH
2025-12-28 12:54 ` Johannes Brüderl
2025-12-28 13:18 ` Greg KH
2025-12-07 0:37 ` [PATCH] " Michal Pecio
2025-12-07 0:59 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251207084012.7c232e52.michal.pecio@gmail.com \
--to=michal.pecio@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=johannes.bruederl@gmail.com \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox