LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   barcode scanner drops digits... (part 2) (https://www.linuxquestions.org/questions/linux-hardware-18/barcode-scanner-drops-digits-part-2-a-4175522630/)

masavini 10-19-2014 09:44 AM

barcode scanner drops digits... (part 2)
 
hi,
i tried and post about this issue about one year ago (http://www.linuxquestions.org/questi...ts-4175486898/), but no solution was found...

now i have some more info, let's try again... :)

i have 2 usb barcode scanners: one ir-super-cheap and one laser-not-that-cheap.

the ir model perfectly works. the laser scanner instead "drops digits" when a particular pattern is found in the scanned string (see previous link if interested in a detailed description).

this morning i noticed that the laser barcode scanner is not described as a keyboard into /proc/bus/input/devices:
Code:

I: Bus=0003 Vendor=4242 Product=9188 Version=0101
N: Name="USBRF.COM RF-BCS-2"
P: Phys=usb-0000:00:14.0-1/input0
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/input/input21
U: Uniq=
H: Handlers=sysrq kbd event13
B: PROP=0
B: EV=100013
B: KEY=e080ffdf01cfffff fffffffffffffffe
B: MSC=10

EV value is 100013, while it should be 120013 for any keyboard (and actually is 120013 for the ir scanner).

does anybody know if there's a way to let my system detect the laser barcode scanner as a standard keyboard, as well?
thanks

smallpond 10-19-2014 04:41 PM

The expensive one is using the "USB Design by Example" VID, so they didn't pay to get their own ID. I bet it has a Windows driver and uses a different EV value just to avoid colliding with legitimate vendors. If I'd seen your post a year ago, I'd have suggested returning it for something standards-compliant.

masavini 10-19-2014 04:49 PM

Quote:

Originally Posted by smallpond (Post 5256182)
I bet it has a Windows driver and uses a different EV value just to avoid colliding with legitimate vendors. If I'd seen your post a year ago, I'd have suggested returning it for something standards-compliant.

unfortunately, this is not possibile anymore... you are right, it came with a windows driver, and it's working properly if attached to a windows virtual machine... no way to have it properly working on linux, then?

jefro 10-19-2014 05:16 PM

If only a sequence fools it then one of a few ideas.

One is you may have to reprogram it. They offer barcodes to do many settings. You have to copy the barcodes in exact size in some cases.

Two is some timing issue. Some buffer or such isn't working as expected under linux.


I guess it's possible to run windows drivers under ndiswrapper but they never finished work on that.

masavini 10-20-2014 06:34 AM

i've just and install windows drivers with ndiswrapper using this guide: http://wiki.ubuntu-it.org/Hardware/D...li/Ndiswrapper

the driver "input" is correctly installed with its *.sys dependecies, but the laser scanner still fails...

i've also tried and associate the device id with the ndiswrapper driver with
Code:

sudo ndiswraper -a 4242:9188 input
but nothing changes...

shall i give up?

triple-j 02-16-2015 12:56 PM

masavine: Do you still have problems? I have same problem too, Any more new ideas to fix this??

masavini 02-17-2015 03:15 AM

sorry, i couldn't fix it...


All times are GMT -5. The time now is 05:02 PM.