mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
USB: Don't specify Class/Subclass 0xff at device level
Actually, at device level we want to specify 0, so we can select individual Class/Subclass values at Interface values. Table 9-8 of the USB2 Specification is quite clear about this.
This commit is contained in:
@@ -567,9 +567,9 @@ const USBDeviceDescriptor deviceDescriptor = {
|
||||
.bLength = sizeof(USBDeviceDescriptor),
|
||||
.bDescriptorType = USBGenericDescriptor_DEVICE,
|
||||
.bcdUSB = USBDeviceDescriptor_USB2_00,
|
||||
.bDeviceClass = 0xff,
|
||||
.bDeviceSubClass = 0xff,
|
||||
.bDeviceProtocol = 0xff,
|
||||
.bDeviceClass = 0,
|
||||
.bDeviceSubClass = 0,
|
||||
.bDeviceProtocol = 0,
|
||||
.bMaxPacketSize0 = BOARD_USB_ENDPOINTS_MAXPACKETSIZE(0),
|
||||
.idVendor = BOARD_USB_VENDOR_ID,
|
||||
.idProduct = BOARD_USB_PRODUCT_ID,
|
||||
|
||||
Reference in New Issue
Block a user