USB Scanner driver

Manavendra Nath Manav mnm.kernel at gmail.com
Tue Feb 28 03:55:10 EST 2012


Hi Ondrez

>>>Hi All,
>>>
>>>I have connected Metrologic USB Scanner, but Fedora is not able to attach a
>>>driver to it. Is there a generic USB scanner driver which I can associate
>>>with it to make it work? This scanner is HID compliant device. Can't I make
>>>usbhid driver to make the scanner work? The sources from Metrologic said
>>>that it should work in USB Keyboard emulation mode. How to enable this?
>>>
>>><<< dmesg snip >>>
>>>[ 7002.199153] usb 8-2: new low speed USB device using uhci_hcd and address
>>>18
>>>[ 7002.373938] usb 8-2: New USB device found, idVendor=0c2e, idProduct=0200
>>>[ 7002.373943] usb 8-2: New USB device strings: Mfr=1, Product=2,
>>>SerialNumber=0
>>>[ 7002.373946] usb 8-2: Product: Honeywell Scanning and Mobility Scanner
>>>[ 7002.373949] usb 8-2: Manufacturer: Honeywell Scanning and Mobility
>>>[ 7002.399070] input: Honeywell Scanning and Mobility Honeywell Scanning and
>>>Mobility Scanner as
>>>/devices/pci0000:00/0000:00:1d.2/usb8/8-2/8-2:1.0/input/input13
>>>[ 7002.399170] generic-usb 0003:0C2E:0200.000B: input,hidraw2: USB HID v1.11
>>>Keyboard [Honeywell Scanning and Mobility Honeywell Scanning and Mobility
>>>Scanner] on usb-0000:00:1d.2-2/input0
>>>[ 7008.463407] usb 8-2: USB disconnect, address 18
>>>[ 7011.780271] usb 8-2: new low speed USB device using uhci_hcd and address
>>>19
>>>[ 7011.957957] usb 8-2: New USB device found, idVendor=0c2e, idProduct=0720
>>>[ 7011.957962] usb 8-2: New USB device strings: Mfr=1, Product=2,
>>>SerialNumber=0
>>>[ 7011.957965] usb 8-2: Product: Honeywell Scanning and Mobility Scanner
>>>[ 7011.957968] usb 8-2: Manufacturer: Honeywell Scanning and Mobility

>>>[root at pe1800xs ~]# cat /proc/bus/usb/devices

>>>T:  Bus=08 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 19 Spd=1.5 MxCh= 0
>>>D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
>>>P:  Vendor=0c2e ProdID=0720 Rev= 1.00
>>>S:  Manufacturer=Honeywell Scanning and Mobility
>>>S:  Product=Honeywell Scanning and Mobility Scanner
>>>C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=450mA
>>>I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
>>>E:  Ad=02(O) Atr=03(Int.) MxPS=   8 Ivl=10ms
>>>E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms

>>>--
>>>Thanks & Regards,
>>>Manavendra Nath Manav

On Tue, Feb 28, 2012 at 2:15 PM, Ondrej Zary <linux at rainbow-software.org> wrote:
> On Tuesday 28 February 2012, Manavendra Nath Manav wrote:
>> Hi All,
>>
>> I have connected Metrologic USB Scanner, but Fedora is not able to attach a
>> driver to it. Is there a generic USB scanner driver which I can associate
>> with it to make it work? This scanner is HID compliant device. Can't I make
>> usbhid driver to make the scanner work? The sources from Metrologic said
>> that it should work in USB Keyboard emulation mode. How to enable this?
>
> You forgot to say that this is a *barcode* scanner. It should work fine in USB
> keyboard mode. If it's configured in some other mode, use the "MetroSelect
> Configuration Guide" to change the mode (by scanning some special barcodes).
>
>
> --
> Ondrej Zary

Yeah, I forgot to mention that it's a barcode scanner. I reconfigured
the device mode as USB HID keyboard as given in the Metrologic manual.
Now the driver associated with it shows as "usbhid". But still when i
scan any barcode i am not able to see any output on the console. Is
there any redirection required?

-- 
Manavendra Nath Manav



More information about the Kernelnewbies mailing list