lkml.org 
[lkml]   [2000]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectBetter driver for the :Cue:Cat barcode reader
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hello all,
<p>I've just rewritten the decoder in the cuecat driver to be a state machine
instead of a flat string parser, which allows the portion of the kernel
driver that deals with scancodes to detect possible barcodes very soon,
buffer the scancodes, squelch them if they really are a barcode or re-inject
them in the kernel if they turn out to be normal keyboard input scancodes.
So now, the console isn't messed up anymore when scanning a barcode.
<p>Also, I replaced my triplet decoding routine by Colin Cross' generic
algorith which is much better and very generic : Colin's code enables the
driver to read just about any type of barcode !
<p>The new driver is available at :
<p><A HREF="ftp://oss.lineo.com/drivers/cuecat-0.0.2.tar.gz">ftp://oss.lineo.com/drivers/cuecat-0.0.2.tar.gz</A>
<p>Have fun :)
<pre>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ////\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (@ @)
--------------oOOo-(_)-oOOo---------------
Pierre-Philippe Coupard
Software Engineer, Lineo, Inc.
Email : pierre@lineo.com
Phone : (801) 426-5001 x 208
------------------------------------------

Speaking of purchasing a dog, never buy a watchdog that's on sale.
After all, everyone knows a bargain dog never bites!</pre>
&nbsp;</html>
\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.045 / U:0.764 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site