Below is one analysis that shows how a “small‐detail typo” in the descriptors can keep the host from “seeing” your device. In our case the reported USB log shows that the device descriptor and configuration descriptor (with its collection of interface and endpoint descriptors plus USB 3 “companion” descriptors) all add up to the “right” total length. However, when you look closely it turns out that one (or more) of the endpoint descriptors does not match what you really intended. Let’s go through the descriptors step‐by‐step:
1. Device Descriptor
The first descriptor returned is
12 01 00 03 00 00 00 09 E9 17 99 01 24 01 01 02 03 01
Decoding field‐by‐field (remember that multi‑byte fields are little–endian):
- bLength: 0x12 (18 bytes)
- bDescriptorType: 0x01 (Device)
- bcdUSB: 0x0300 → This means USB 3.0 (the “00 03” in little–endian is correct)
- bDeviceClass, bDeviceSubClass, bDeviceProtocol: All are 0x00
- bMaxPacketSize0: 0x09 → For a USB 3 device the default control endpoint may advertise 2^9 = 512 bytes
- idVendor: 0x17E9 (from E9 17)
- idProduct: 0x0199 (from 99 01)
- bcdDevice: 0x0124 (from 24 01)
- iManufacturer: 0x01
- iProduct: 0x02
- iSerialNumber: 0x03
- bNumConfigurations: 0x01
So far the device descriptor is entirely consistent for a USB 3 device.
2. Configuration Descriptor (and Following Descriptors)
The next block (first time) is the “configuration descriptor session”:
09 02 39 00 01 01 00 80 FA
09 04 00 00 03 FF 00 00 00
07 05 01 02 00 02 00 <-- Endpoint descriptor #1
06 30 0F 00 00 00 <-- Companion for EP #1
07 05 82 03 08 00 04 <-- Endpoint descriptor #2
06 30 00 00 08 00 <-- Companion for EP #2
07 05 0A 02 00 02 00 <-- Endpoint descriptor #3
06 30 0F 00 00 00 <-- Companion for EP #3
Let’s decode these pieces:
a) Configuration Descriptor (9 bytes)
- bLength: 09
- bDescriptorType: 02 (Configuration)
- wTotalLength: 0x0039 = 57 bytes
- bNumInterfaces: 01
- bConfigurationValue: 01
- iConfiguration: 00
- 0x80 (bus powered)