Difference between revisions of "IKALOGIC Scanalogic-2/Info"
Jump to navigation
Jump to search
Uwe Hermann (talk | contribs) (SCANALOGIC-2 lsusb.) |
Uwe Hermann (talk | contribs) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== dmesg == | |||
<small> | |||
usb 5-3: new low speed USB device using ohci_hcd and address 79 | |||
usb 5-3: New USB device found, '''idVendor=20a0, idProduct=4123''' | |||
usb 5-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 | |||
usb 5-3: Product: '''SCANALOGIC''' | |||
usb 5-3: Manufacturer: '''ikalogic''' | |||
usb 5-3: configuration #1 chosen from 1 choice | |||
generic-usb 0003:20A0:4123.0028: hiddev0,hidraw2: '''USB HID v1.01''' Device [ikalogic SCANALOGIC] on usb-0000:00:13.0-3/input0 | |||
</small> | |||
== Unbinding the usbhid driver == | |||
See [[FAQ#Getting_a_usable_lsusb_for_USB_HID_devices]]. | |||
== lsusb == | == lsusb == | ||
This is the lsusb ouput on Linux: | This is the lsusb ouput on Linux (you need to do '''rmmod usbhid''' or '''unbind the usbhid driver''' to also get the HID descriptor output in lsusb, see above): | ||
<small> | |||
Bus | $ '''lsusb -vvv''' | ||
Bus 005 Device 076: ID '''20a0:4123 Clay Logic''' | |||
Device Descriptor: | Device Descriptor: | ||
bLength 18 | bLength 18 | ||
Line 13: | Line 30: | ||
bDeviceProtocol 0 | bDeviceProtocol 0 | ||
bMaxPacketSize0 8 | bMaxPacketSize0 8 | ||
idVendor 0x20a0 | idVendor 0x20a0 '''Clay Logic''' | ||
idProduct 0x4123 | idProduct 0x4123 | ||
bcdDevice 1.00 | bcdDevice 1.00 | ||
Line 48: | Line 65: | ||
bDescriptorType 34 Report | bDescriptorType 34 Report | ||
wDescriptorLength 22 | wDescriptorLength 22 | ||
Report Descriptor: (length is 22) | |||
Item(Global): Usage Page, data= [ 0x00 0xff ] 65280 | |||
(null) | |||
Item(Local ): Usage, data= [ 0x01 ] 1 | |||
(null) | |||
Item(Main ): Collection, data= [ 0x01 ] 1 | |||
Application | |||
Item(Global): Logical Minimum, data= [ 0x00 ] 0 | |||
Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255 | |||
Item(Global): Report Size, data= [ 0x08 ] 8 | |||
Item(Global): Report Count, data= [ 0x80 ] 128 | |||
Item(Local ): Usage, data= [ 0x00 ] 0 | |||
(null) | |||
Item(Main ): Feature, data= [ 0x02 0x01 ] 258 | |||
Data Variable Absolute No_Wrap Linear | |||
Preferred_State No_Null_Position Non_Volatile Buffered Bytes | |||
Item(Main ): End Collection, data=none | |||
Endpoint Descriptor: | Endpoint Descriptor: | ||
bLength 7 | bLength 7 | ||
Line 62: | Line 94: | ||
Device Status: 0x0000 | Device Status: 0x0000 | ||
(Bus Powered) | (Bus Powered) | ||
</small> |
Latest revision as of 12:38, 12 July 2015
dmesg
usb 5-3: new low speed USB device using ohci_hcd and address 79 usb 5-3: New USB device found, idVendor=20a0, idProduct=4123 usb 5-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 usb 5-3: Product: SCANALOGIC usb 5-3: Manufacturer: ikalogic usb 5-3: configuration #1 chosen from 1 choice generic-usb 0003:20A0:4123.0028: hiddev0,hidraw2: USB HID v1.01 Device [ikalogic SCANALOGIC] on usb-0000:00:13.0-3/input0
Unbinding the usbhid driver
See FAQ#Getting_a_usable_lsusb_for_USB_HID_devices.
lsusb
This is the lsusb ouput on Linux (you need to do rmmod usbhid or unbind the usbhid driver to also get the HID descriptor output in lsusb, see above):
$ lsusb -vvv Bus 005 Device 076: ID 20a0:4123 Clay Logic Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x20a0 Clay Logic idProduct 0x4123 bcdDevice 1.00 iManufacturer 1 ikalogic iProduct 2 SCANALOGIC iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 34 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 0 No Subclass bInterfaceProtocol 0 None iInterface 0 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.01 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 22 Report Descriptor: (length is 22) Item(Global): Usage Page, data= [ 0x00 0xff ] 65280 (null) Item(Local ): Usage, data= [ 0x01 ] 1 (null) Item(Main ): Collection, data= [ 0x01 ] 1 Application Item(Global): Logical Minimum, data= [ 0x00 ] 0 Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255 Item(Global): Report Size, data= [ 0x08 ] 8 Item(Global): Report Count, data= [ 0x80 ] 128 Item(Local ): Usage, data= [ 0x00 ] 0 (null) Item(Main ): Feature, data= [ 0x02 0x01 ] 258 Data Variable Absolute No_Wrap Linear Preferred_State No_Null_Position Non_Volatile Buffered Bytes Item(Main ): End Collection, data=none Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0008 1x 8 bytes bInterval 100 Device Status: 0x0000 (Bus Powered)