Discussion:
USB Scanner driver
Manavendra Nath Manav
2012-02-28 08:32:13 UTC
Permalink
Hi All,

I have connected Metrologic USB Scanner, but Fedora is not able to atta=
ch a
driver to it. Is there a generic USB scanner driver which I can associa=
te
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 sai=
d
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 add=
ress
18
[ 7002.373938] usb 8-2: New USB device found, idVendor=3D0c2e, idProduc=
t=3D0200
[ 7002.373943] usb 8-2: New USB device strings: Mfr=3D1, Product=3D2,
SerialNumber=3D0
[ 7002.373946] usb 8-2: Product: Honeywell Scanning and Mobility Scanne=
r
[ 7002.373949] usb 8-2: Manufacturer: Honeywell Scanning and Mobility
[ 7002.399070] input: Honeywell Scanning and Mobility Honeywell Scannin=
g 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 Mobili=
ty
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 add=
ress
19
[ 7011.957957] usb 8-2: New USB device found, idVendor=3D0c2e, idProduc=
t=3D0720
[ 7011.957962] usb 8-2: New USB device strings: Mfr=3D1, Product=3D2,
SerialNumber=3D0
[ 7011.957965] usb 8-2: Product: Honeywell Scanning and Mobility Scanne=
r
[ 7011.957968] usb 8-2: Manufacturer: Honeywell Scanning and Mobility

[***@pe1800xs ~]# cat /proc/bus/usb/devices

T: =A0Bus=3D08 Lev=3D01 Prnt=3D01 Port=3D01 Cnt=3D01 Dev#=3D 19 Spd=3D1=
=2E5 MxCh=3D 0
D: =A0Ver=3D 1.10 Cls=3D00(>ifc ) Sub=3D00 Prot=3D00 MxPS=3D 8 #Cfgs=3D=
=A01
P: =A0Vendor=3D0c2e ProdID=3D0720 Rev=3D 1.00
S: =A0Manufacturer=3DHoneywell Scanning and Mobility
S: =A0Product=3DHoneywell Scanning and Mobility Scanner
C:* #Ifs=3D 1 Cfg#=3D 1 Atr=3D80 MxPwr=3D450mA
I:* If#=3D 0 Alt=3D 0 #EPs=3D 2 Cls=3Dff(vend.) Sub=3D00 Prot=3D00 Driv=
er=3D(none)
E: =A0Ad=3D02(O) Atr=3D03(Int.) MxPS=3D =A0 8 Ivl=3D10ms
E: =A0Ad=3D81(I) Atr=3D03(Int.) MxPS=3D =A0 8 Ivl=3D10ms

--
Thanks & Regards,
Manavendra Nath Manav
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Oliver Neukum
2012-02-28 08:42:26 UTC
Permalink
Post by Manavendra Nath Manav
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
Apart from a few very old scanners which are repackaged SCSI devices,
scanners are handled by libusb. There is no kernel driver involved.
Post by Manavendra Nath Manav
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?
Keyboard emulation is a bad idea. You need to find the correct backend of SANE
for your scanner.

Regards
Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Manavendra Nath Manav
2012-02-28 08:58:33 UTC
Permalink
Hi Oliver,
Am Dienstag, 28. Februar 2012, 09:32:13 schrieb Manavendra Nath Manav=
Post by Manavendra Nath Manav
Hi All,
I have connected Metrologic USB Scanner, but Fedora is not able to a=
ttach a
Post by Manavendra Nath Manav
driver to it. Is there a generic USB scanner driver which I can asso=
ciate
Apart from a few very old scanners which are repackaged SCSI devices,
scanners are handled by libusb. There is no kernel driver involved.
Post by Manavendra Nath Manav
with it to make it work? This scanner is HID compliant device. Can't=
I make
Post by Manavendra Nath Manav
usbhid driver to make the scanner work? The sources from Metrologic =
said
Post by Manavendra Nath Manav
that it should work in USB Keyboard emulation mode. How to enable th=
is?
Keyboard emulation is a bad idea. You need to find the correct backen=
d of SANE
for your scanner.
=A0 =A0 =A0 =A0Regards
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Oliver
In my Barcode scanner device SANE utility is not supported according
to the documentation of Metrologic. Is it correct that SANE is
predominately used for image capture functionality? how we can use it
for barcode scanning?

--=20
Manavendra Nath Manav
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Oliver Neukum
2012-02-28 09:13:17 UTC
Permalink
Post by Manavendra Nath Manav
In my Barcode scanner device SANE utility is not supported according
to the documentation of Metrologic. Is it correct that SANE is
predominately used for image capture functionality? how we can use it
for barcode scanning?
You need to mention that it is a barcode scanner. That changes everything.
Disregard what I wrote.

Regards
Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Ondrej Zary
2012-02-28 08:45:36 UTC
Permalink
Post by Manavendra Nath Manav
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
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Manavendra Nath Manav
2012-02-28 08:55:10 UTC
Permalink
Hi Ondrez
Post by Ondrej Zary
Post by Manavendra Nath Manav
Post by Manavendra Nath Manav
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
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
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
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Continue reading on narkive:
Loading...