Hi all
For some time now at a place I work at we have been using some Unitech MS-180
barcode scanners todo logins the work around we had in place basicly was using
a 2.4 kernel on the thin clients doing the logins since 2.4 worked with them
2.6 had some issue and I had posted here asking for help and got some
suggestions
on how to precede, between the work around working and me not knowing
the USB/HID code any I had ignored the issue. Well now we had got some
new scanners
same model but internally a bit different and because of the older ones dieing
I'm required to look into the issue yet again
While poking around I stumbled across the fact that the usbkbd driver does work
with these but the normal hid driver does not.
This is a nice work around yet again for 2.6 kernels which would of
been handy eariler
but the issue now is the barcodes it scans always show up as lower
case, the scan
works fine in windows of course...

Checking the difference between the working older scanners and newer broken
I saw the following via usbmon the below is from a scan of the same
barcode from 2 scanners. all the C lines on the broken start with 01
and seem to be shifted compaired to the working

working:
ffff810035c5ea40 536368059 C Ii:005:01 0 8 = 02000000 00000000
ffff810035c5ea40 536368088 S Ii:005:01 -115 8 <
ffff810035c5ea40 536376058 C Ii:005:01 0 8 = 02001800 00000000
ffff810035c5ea40 536376080 S Ii:005:01 -115 8 <
ffff810035c5ea40 536384057 C Ii:005:01 0 8 = 00000000 00000000
ffff810035c5ea40 536384075 S Ii:005:01 -115 8 <

broken:
ffff810035c5e980 593493403 C Ii:006:01 0 8 = 01020000 00000000
ffff810035c5e980 593493417 S Ii:006:01 -115 8 <
ffff810035c5e980 593501397 C Ii:006:01 0 8 = 01020018 00000000
ffff810035c5e980 593501413 S Ii:006:01 -115 8 <
ffff810035c5e980 593509400 C Ii:006:01 0 8 = 01000000 00000000
ffff810035c5e980 593509419 S Ii:006:01 -115 8 <

and like I had stated eariler I still don't know what exactly todo now
I have read the docs in the kernel but It's rather over my head
help?

also I do have usbmon logs of one of the scanners being plugged in
with just hid loaded and with usbkbd loaded and unplugging again
If wanted I can attach or upload somewhere from what I gather
usbkbd should not have to be relied on unless your doing
embedded work or inital boot requirements?


Thanks

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to