Barrelfish
|
Data Fields | |
uint8_t | bLength |
the length of the descriptor (18 bytes) | |
uint8_t | bDescriptorType |
always USB_DESCRIPTOR_TYPE_DEVICE | |
uint16_t | bcdUSB |
the USB revision number | |
uint8_t | bDeviceClass |
device class code (defined by USB-IF) | |
uint8_t | bDeviceSubClass |
device sub class code (defined by USB-IF) | |
uint8_t | bDeviceProtocol |
specific protocol used by this device | |
uint8_t | bMaxPacketSize0 |
the max packet size of endpoint 0 | |
uint16_t | idVendor |
the vendor ID | |
uint16_t | idProduct |
the product ID | |
uint16_t | bcdDevice |
the revision of the device | |
uint8_t | iManufacturer |
string index of the manufacturer | |
uint8_t | iProduct |
string index of the product | |
uint8_t | iSerialNumber |
string index of the serial number | |
uint8_t | bNumConfigurations |
the number of configurations | |
General and global information about an USB device. Each USB device has exactly one usb_device_descriptor.