Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
linux-wb (6.8.0-wb162) stable; urgency=medium

* usb: gadget: composite: report bcdUSB 0x0210 when WebUSB is enabled,
so that Chromium reads the WebUSB landing page and shows the
plug-in notification for the Debug Network gadget

-- Evgeny Boger <boger@wirenboard.com> Mon, 31 Aug 2026 17:04:48 +0300

linux-wb (6.8.0-wb161) stable; urgency=medium

* pinctrl-sunxi: fix output latch corruption on GPIO writes: a write to
Expand Down
8 changes: 7 additions & 1 deletion drivers/usb/gadget/composite.c
Original file line number Diff line number Diff line change
Expand Up @@ -1838,7 +1838,13 @@ composite_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl)
cdev->desc.bcdUSB = cpu_to_le16(0x0210);
}
} else {
if (gadget->lpm_capable || cdev->use_webusb)
/*
* WebUSB requires bcdUSB >= 2.10; Chromium does not
* read the landing page from a device below that.
*/
if (cdev->use_webusb)
cdev->desc.bcdUSB = cpu_to_le16(0x0210);
else if (gadget->lpm_capable)
cdev->desc.bcdUSB = cpu_to_le16(0x0201);
else
cdev->desc.bcdUSB = cpu_to_le16(0x0200);
Expand Down