J-M-L:
need info on your specific scanner model and possibly datasheet
My scanner info is as follows:
Brand : Honeywell
Model : Eclipse MS5145 LS USB
datasheet :
Device descriptor:
Descriptor Length: 12
Descriptor type: 01
USB version: 0110
Device class: 00
Device Subclass: 00
Device Protocol: 00
Max.packet size: 08
Vendor ID: 0C2E
Product ID: 0200
Revision ID: 5881
Mfg.string index: 01
Prod.string index: 02
Serial number index: 00
Number of conf.: 01
Configuration descriptor:
Total length: 0022
Num.intf: 01
Conf.value: 01
Conf.string: 03
Attr.: 80
Max.pwr: 96
Interface descriptor:
Intf.number: 00
Alt.: 00
Endpoints: 01
Intf. Class: 03
Intf. Subclass: 01
Intf. Protocol: 01
Intf.string: 00
Unknown descriptor:
Length: 09
Type: 21
Contents: 11010001223F000705
Endpoint descriptor:
Endpoint address: 81
Attr.: 03
Max.pkt size: 0008
Polling interval: 0A
Addr:1(0.0.1)
i have used USB_Desc example from USB Host library.
note that at Line 29; its
Intf. Class: 03
Intf. Subclass: 01
Intf. Protocol: 01
that means it can boot as keyboard. Doesn't require any driver.
---------- ***
septillion:
And if you connect that same scanner to a PC and scan the same barcode (into notepad) what is the output?
connecting on my notebook and scanning same barcode gives output on a notepad is :
00312
Regards
Z.Faisal