<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'>Hello,<br><br>I'm getting a timeout getting the HID Descriptor from a third party device. Here is the lsusb -vvv output:<br><br>Bus 005 Device 002: ID 0483:5057 SGS Thomson Microelectronics <br>Device Descriptor:<br> bLength 18<br> bDescriptorType 1<br> bcdUSB 20.00<br> bDeviceClass 0 (Defined at Interface level)<br> bDeviceSubClass 0 <br> bDeviceProtocol 0 <br> bMaxPacketSize0 64<br> idVendor 0x0483 SGS Thomson Microelectronics<br> idProduct 0x5057 <br> bcdDevice 0.01<br> iManufacturer 1 VueMetrix<br> iProduct 2 LV<br> iSerial 3 94<br> bNumConfigurations 1<br> Configuration Descriptor:<br> bLength 9<br> bDescriptorType 2<br> wTotalLength 41<br> bNumInterfaces 1<br> bConfigurationValue 1<br> iConfiguration 0 <br> bmAttributes 0xc0<br> Self Powered<br> MaxPower 60mA<br> Interface Descriptor:<br> bLength 9<br> bDescriptorType 4<br> bInterfaceNumber 0<br> bAlternateSetting 0<br> bNumEndpoints 2<br> bInterfaceClass 3 Human Interface Device<br> bInterfaceSubClass 0 No Subclass<br> bInterfaceProtocol 0 None<br> iInterface 0 <br> HID Device Descriptor:<br> bLength 9<br> bDescriptorType 33<br> bcdHID 1.10<br> bCountryCode 0 Not supported<br> bNumDescriptors 1<br> bDescriptorType 34 Report<br> wDescriptorLength 34<br> Report Descriptor: (length is 34)<br> Item(Global): Usage Page, data= [ 0xa0 0xff ] 65440<br> (null)<br> Item(Local ): Usage, data= [ 0xa5 ] 165<br> (null)<br> Item(Main ): Collection, data= [ 0x01 ] 1<br> Application<br> Item(Local ): Usage, data= [ 0xa6 ] 166<br> (null)<br> Item(Local ): Usage, data= [ 0xa7 ] 167<br> (null)<br> Item(Global): Logical Minimum, data= [ 0x80 ] 128<br> Item(Global): Logical Maximum, data= [ 0x7f ] 127<br> Item(Global): Report Size, data= [ 0x08 ] 8<br> Item(Global): Report Count, data= [ 0x3c ] 60<br> Item(Main ): Input, data= [ 0x02 ] 2<br> Data Variable Absolute No_Wrap Linear<br> Preferred_State No_Null_Position Non_Volatile Bitfield<br> Item(Local ): Usage, data= [ 0xa9 ] 169<br> (null)<br> Item(Global): Logical Minimum, data= [ 0x80 ] 128<br> Item(Global): Logical Maximum, data= [ 0x7f ] 127<br> Item(Global): Report Size, data= [ 0x08 ] 8<br> Item(Global): Report Count, data= [ 0x3c ] 60<br> Item(Main ): Output, data= [ 0x02 ] 2<br> Data Variable Absolute No_Wrap Linear<br> Preferred_State No_Null_Position Non_Volatile Bitfield<br> Item(Main ): End Collection, data=none<br> Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x81 EP 1 IN<br> bmAttributes 3<br> Transfer Type Interrupt<br> Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0040 1x 64 bytes<br> bInterval 1<br> Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x01 EP 1 OUT<br> bmAttributes 3<br> Transfer Type Interrupt<br> Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0040 1x 64 bytes<br> bInterval 1<br>Device Qualifier (for other device speed):<br> bLength 10<br> bDescriptorType 6<br> bcdUSB 0.02<br> bDeviceClass 0 (Defined at Interface level)<br> bDeviceSubClass 0 <br> bDeviceProtocol 0 <br> bMaxPacketSize0 64<br> bNumConfigurations 1<br>can't get debug descriptor: Connection timed out<br>cannot read device status, Connection timed out (110)<br><br>Note the timeouts at the end. And here is the output of the HID test program, modified to match this device:<br><br> TRACE: hid_find_usb_device(): inspecting USB device 005/002[0]...<br> TRACE: hid_compare_usb_device(): comparing match specifications to USB device...<br> TRACE: hid_compare_usb_device(): inspecting vendor ID...<br> TRACE: hid_compare_usb_device(): match on vendor ID: 0x0483.<br> TRACE: hid_compare_usb_device(): inspecting product ID...<br> TRACE: hid_compare_usb_device(): match on product ID: 0x5057.<br> TRACE: hid_compare_usb_device(): no custom matching function supplied.<br> NOTICE: hid_find_usb_device(): found a matching USB device 005/002[0].<br> TRACE: hid_force_open(): claiming USB device 005/002[0].<br> NOTICE: hid_force_open(): successfully claimed USB device 005/002[0].<br> TRACE: hid_init_parser(): initialising the HID parser for USB Device 005/002[0]...<br> TRACE: hid_init_parser(): allocating space for HIDData structure...<br> TRACE: hid_init_parser(): successfully allocated memory for HIDData strcture.<br> TRACE: hid_init_parser(): allocating space for HIDParser structure...<br> TRACE: hid_init_parser(): successfully allocated memory for HIDParser strcture.<br> NOTICE: hid_init_parser(): successfully initialised the HID parser for USB Device 005/002[0].<br> TRACE: hid_prepare_hid_descriptor(): initialising the HID descriptor for USB device 005/002[0]...<br> TRACE: hid_prepare_hid_descriptor(): retrieving HID descriptor for USB device 005/002[0]...<br>WARNING: hid_prepare_hid_descriptor(): failed to get HID descriptor for USB device 005/002[0]:error sending control message: Connection timed out<br> TRACE: hid_close(): closing USB device 005/002[0]...<br> TRACE: hid_close(): closing handle of USB device 005/002[0]...<br> NOTICE: hid_close(): successfully closed USB device 005/002[0].<br> TRACE: hid_reset_parser(): resetting the HID parser for USB device 005/002[0]...<br> TRACE: hid_close(): freeing memory allocated for HID parser...<br> TRACE: hid_close(): resetting HIDInterface...<br>hid_force_open failed with return code 13<br><br><br>Any help is greatly appreciated. This device works on Windows with the vendor's software. <br><br>Ron<br><br><br></div></body></html>