Girish Venkatachalam <girishvenkatachalam@...> writes:
On Mon, Sep 28, 2009 at 5:43 PM, - <vkslist@...> wrote:
I have never done what you are trying to do but I have heard numerous
times that barcode readers simply emulate a keyboard and spit out
keyboard sequences very much like a serial device on USB...
[ 196.495094] USB Serial support registered for opticon
[ 196.495135] opticon 4-1:1.0: opticon converter detected
[ 196.495529] usb 4-1: opticon converter now attached to ttyUSB0
[ 196.495557] usbcore: registered new interface driver opticon
If you have got so far then wouldn't it work?
Did you see the sources of the opticon driver?
lsusb gives:
Bus 004 Device 002: ID 065a:0009 Optoelectronics Co., Ltd
Grep for this device ID and vendor ID combo in your linux kernel tree.
How do I access the scanned data? Presumably, an application has to
use /dev/ttyUSB0 to do so. Are there generic Linux apps. which will do
so?
The driver is attached, so you would have to test using /dev/event*
interface or some such for testing.
A generic serial communication program like minicom or cu should be
able to communicate with your barcode reader.
Just point the serial port device to /dev/ttyUSB0. I am applying
logic here. Never been there, never done that...
I have done my best. Let better hackers help you.
Best of luck.
-Girish
This name should have been in your e-mail ID but well.