[Ilugc] Access barcode scanner data using ttyUSB0

  • From: arun289@xxxxxxxxx (Arun Venkataswamy)
  • Date: Mon Sep 28 19:34:58 2009

On Mon, Sep 28, 2009 at 5:43 PM, - <vkslist@xxxxxxxxx> wrote:

Hello,

I'm trying to access barcodes scanned and saved in a scanner's flash
memory. The scanner, Opticon's OPN 2001, connects via a USB cable
(which rather niftily also charges its battery), but the interface is
actually serial rather than "native" USB. Opticon scanners seem to be
supported as of Linux kernel 2.6.29


A quick glance at the opticon.c code looks like it is a driver which only
gives generic serial port like access to the scanner (makes life of a
programmer simple by not having to work with USB). You will have to ask for
the protocol from the manufacturer to talk to the device to collect the bar
codes stored in the flash memory. Some manufacturers might not give it (Of
course they will have free windows software and drivers for it) . For an
other manufacturer I had to sign a NDA and fax it to the USA before they
gave me the protocol for a DAQ device...

Regards,
Arun


-- 
Arun Venkataswamy
http://arun289.wordpress.com

Other related posts: