LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-19-2014, 10:44 AM   #1
masavini
Member
 
Registered: Jun 2008
Posts: 240

Rep: Reputation: 6
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

Last edited by masavini; 10-19-2014 at 04:48 PM.
 
Old 10-19-2014, 05:41 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 & 7
Posts: 3,044

Rep: Reputation: 811Reputation: 811Reputation: 811Reputation: 811Reputation: 811Reputation: 811Reputation: 811
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.

Last edited by smallpond; 10-19-2014 at 05:42 PM. Reason: brain malfunction
 
Old 10-19-2014, 05:49 PM   #3
masavini
Member
 
Registered: Jun 2008
Posts: 240

Original Poster
Rep: Reputation: 6
Quote:
Originally Posted by smallpond View Post
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?
 
Old 10-19-2014, 06:16 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 18,637

Rep: Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789Reputation: 2789
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.
 
Old 10-20-2014, 07:34 AM   #5
masavini
Member
 
Registered: Jun 2008
Posts: 240

Original Poster
Rep: Reputation: 6
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?

Last edited by masavini; 10-20-2014 at 07:36 AM.
 
Old 02-16-2015, 01:56 PM   #6
triple-j
LQ Newbie
 
Registered: Feb 2015
Posts: 1

Rep: Reputation: Disabled
masavine: Do you still have problems? I have same problem too, Any more new ideas to fix this??
 
Old 02-17-2015, 04:15 AM   #7
masavini
Member
 
Registered: Jun 2008
Posts: 240

Original Poster
Rep: Reputation: 6
sorry, i couldn't fix it...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
barcode scanner drops digits... masavini Linux - Hardware 1 12-05-2013 04:43 AM
Looking for Barcode scanner with linux support ellappan Linux - Hardware 8 06-22-2013 04:23 PM
Ubuntu with barcode scanner Omino2 Linux - Hardware 2 06-08-2007 04:24 PM
barcode scanner metrologic ms9520 j-ray Linux - Hardware 2 03-03-2006 06:49 AM
barcode scanner manueljose Linux - Hardware 1 09-09-2005 09:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration