Dear all,
I am using the Voyager GS Scaner for my project and like Aswin’s laser, it has only a usb 2.0 interface. The QNX reports it like a HID device, and after usb -vvv:
USB 0 (UHCI) v1.10, v1.01 DDK, v1.01 HCD
Control, Interrupt, Bulk, Isoch, Low speed, Full speed
Device Address : 1
Upstream Host Controller : 0
Upstream Device Address : 0
Upstream Port : 1
Upstream Port Speed : Full
Vendor : 0x0c2e (Honeywell Scanning and Mobility)
Product : 0x0206 (Honeywell Scanning and Mobility Scanner)
Device Release : r4.14
USB Spec Release : v1.10
Serial Number : N/A
Class : 0x00 (Independant per interface)
Max PacketSize0 : 16
Languages : 0x0409 (English)
Current Frame : 150 (1024 bytes)
Configurations : 1
Configuration : 1 (HID Keyboard)
Attributes : 0x80 (Bus-powered)
Max Power : 450 mA
Interfaces : 2
Interface : 0 / 0
Class : 0x03 (HID)
Subclass : 0x01 (Boot interface)
Protocol : 0x01 (Keyboard)
Endpoints : Control + 1
Endpoint : 0
Attributes : Control
Max Packet Size: 16
Endpoint : 1
Attributes : Interrupt/IN
Max Packet Size: 16
Interval : 1 ms
Interface : 1 / 0
Class : 0x03 (HID)
Subclass : 0x00
Protocol : 0x00
Endpoints : Control + 1
Endpoint : 0
Attributes : Control
Max Packet Size: 16
Endpoint : 3
Attributes : Interrupt/IN
Max Packet Size: 8
Interval : 10 ms
USB 1 (UHCI) v1.10, v1.01 DDK, v1.01 HCD
Control, Interrupt, Bulk, Isoch, Low speed, Full speed
USB 2 (UHCI) v1.10, v1.01 DDK, v1.01 HCD
Control, Interrupt, Bulk, Isoch, Low speed, Full speed
USB 3 (UHCI) v1.10, v1.01 DDK, v1.01 HCD
Control, Interrupt, Bulk, Isoch, Low speed, Full speed
USB 4 (EHCI) v1.10, v1.01 DDK, v1.01 HCD
Control, Interrupt, Bulk, Full speed, High speed .
Also hidview -a, after scanning returns:
HIDD v1.00, v1.00 DDK
Device Address : 0
Vendor : 0xffffffff (Legacy PS2 Keyboard)
Product : 0xffffffff (Keyboard)
Version : r1.00
Usage : Keyboard
Device Address : 1
Vendor : 0xffffffff (Legacy PS2/Serial Mouse)
Product : 0xffffffff (Mouse)
Version : r1.00
Usage : Mouse
Device Address : 2
Vendor : 0x0c2e (Honeywell Scanning and Mobility)
Product : 0x0206 (Honeywell Scanning and Mobility Scanner)
Version : r1.10
Usage : Keyboard
Device Address : 3
Vendor : 0x0c2e (Honeywell Scanning and Mobility)
Product : 0x0206 (Honeywell Scanning and Mobility Scanner)
Version : r1.10
Usage : Undefined
Report Data :
00 : 00 00 00 00 00 00 00 00
02 : 00 00 1e 00 00 00 00 00
02 : 00 00 00 00 00 00 00 00
02 : 00 00 1f 00 00 00 00 00
02 : 00 00 00 00 00 00 00 00
02 : 00 00 20 00 00 00 00 00
02 : 00 00 00 00 00 00 00 00
02 : 00 00 21 00 00 00 00 00
02 : 00 00 00 00 00 00 00 00
02 : 00 00 22 00 00 00 00 00
02 : 00 00 00 00 00 00 00 00
02 : 00 00 23 00 00 00 00 00
02 : 00 00 00 00 00 00 00 00
02 : 00 00 24 00 00 00 00 00
02 : 00 00 00 00 00 00 00 00
02 : 00 00 25 00 00 00 00 00
02 : 00 00 00 00 00 00 00 00
02 : 00 00 26 00 00 00 00 00
02 : 00 00 00 00 00 00 00 00
02 : 00 00 27 00 00 00 00 00
02 : 00 00 00 00 00 00 00 00
02 : 00 00 28 00 00 00 00 00
02 : 00 00 00 00 00 00 00 00
00 : 01 00 00 00 00 00 00 00
00 : 01 00 00 00 00 00 00 00
00 : 01 00 00 00 00 00 00 00
00 : 01 00 00 00 00 00 00 00
00 : 01 00 00 00 00 00 00 00
00 : 01 00 00 00 00 00 00 00
00 : 01 00 00 00 00 00 00 00
00 : 01 00 00 00 00 00 00 00
00 : 01 00 06 00 00 00 00 00
This is a simple 1234567890 bar code.
I am interested how can I use these data, somethig like in usual rs232 communication protocol, where is a /dev/ser1, etc… or like /dev/serusb1, and communicating with those ports… It’s about using hid drivers and io-hid I think, and looking there for appropriate devices. Generaly it’s a problem with a communication with usb devices, opening ports, sending and receiving data on QNX…
Thanks,
Sturmus