Hi,
I add a new HID interface into UVC sample code,
(refer the "http://www.cypress.com/?rID=72422")
In USB2.0, it's OK. (windows device manager has detect a new HID device),
But in USB3.0, it's not work. windows device manager can't detect.
I only add the descriptor in spuer speed and high speed as below,
Do I need add another descriptor in super speed? Thanks.
--
/* Super Speed Configuration Descriptor */
#define HID
/* Configuration Descriptor Type */
0x09, /* Descriptor Size */
CY_U3P_USB_CONFIG_DESCR, /* Configuration Descriptor Type */
#ifdef HID
0xF2,0x00,
0x03,
#else
0xD9,0x00, /* Length of this descriptor and all sub descriptors */
0x02, /* Number of interfaces */
#endif
0x01, /* Configuration number */
0x00, /* Configuration string index */
0x80, /* Config characteristics - Bus powered */
//0xFA, /* Max power consumption of device (in 2mA unit) : 500mA */
0x32,
...
...
#ifdef HID
/* New Interface descriptor */
0x09,
0x04,
0x02,
0x00,
0x01,
0x03,
0x00,
0x00,
0x01,
/* HID descriptor */
0x09,
0x21,
0x01,0x01,
0x00,
0x01,
0x22,
0x22,0x00,
/* endpoint descriptor */
0x07,
0x05,
0x85,
0x03,
0x40,0x00,
0x0A
#endif
|