shared/tinyusb: Add USB device qualifier descriptor. by iabdalkader · Pull Request #19146 · micropython/micropython · GitHub
Skip to content

shared/tinyusb: Add USB device qualifier descriptor.#19146

Open
iabdalkader wants to merge 1 commit intomicropython:masterfrom
iabdalkader:add_usb_dev_qualifier
Open

shared/tinyusb: Add USB device qualifier descriptor.#19146
iabdalkader wants to merge 1 commit intomicropython:masterfrom
iabdalkader:add_usb_dev_qualifier

Conversation

@iabdalkader
Copy link
Copy Markdown
Contributor

Summary

USB 2.0 requires high-speed capable devices to provide a Device Qualifier descriptor. This patch adds the descriptor for static/runtime to conform with the specs.

Testing

Tested N6 and AE3, both seem fine. Checked the descriptor on macos and linux, seems to be sent correctly:

Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 [unknown]
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)

Generative AI

I did not use generative AI tools when creating this PR.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 23, 2026

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 23, 2026

@iabdalkader iabdalkader force-pushed the add_usb_dev_qualifier branch from b14b1e5 to 33a868e Compare April 23, 2026 16:01
USB 2.0 requires high-speed capable devices to provide
a Device Qualifier descriptor.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
@iabdalkader iabdalkader force-pushed the add_usb_dev_qualifier branch from 33a868e to 946c662 Compare April 23, 2026 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant