UrbanskiDawid / usb2lin06-HID-in-linux-for-LINAK-Desk-Control-Cable

Basic functionality of usb2lin06 device implemented for use in linux
40 stars 11 forks source link

ERROR: statusReport -> device not ready #9

Open miladpo opened 6 years ago

miladpo commented 6 years ago

Hi, I have issue connection to my actuator. I managed to compile the code without errors, but when trying exampeGetStatus I get 11:27:38:338 [01/10] ERROR: statusReport -> device not ready

lsusb -v -d 12d3:0002 gives following output (notice: couldn't open device, some information will be missing) Is there a certain procedure to connect the actuator or in a specific steps? I'm using an LA25 actuator and not the desktop actuator but I think they have the same interface.

Bus 001 Device 008: ID 12d3:0002
Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x12d3 idProduct 0x0002 bcdDevice 1.66 iManufacturer 1 iProduct 2 iSerial 3 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 41 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 1 bmAttributes 0x80 (Bus Powered) MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 0 No Subclass bInterfaceProtocol 0 None iInterface 3 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.11 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 217 Report Descriptors: UNAVAILABLE Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 1