Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Apr 2002 04:56:38 -0500
From:      Mike Meyer <mwm-dated-1018691798.79be27@mired.org>
To:        Ben Hockenhull <benh@blues.jpj.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: USB CueCat and FreeBSD?
Message-ID:  <15537.26966.149892.725287@guru.mired.org>
In-Reply-To: <20020407173617.H14492-100000@blues.jpj.net>
References:  <20020407173617.H14492-100000@blues.jpj.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In <20020407173617.H14492-100000@blues.jpj.net>, Ben Hockenhull <benh@blues.jpj.net> typed:
> Has anyone been able to use a USB CueCat with FreeBSD?

I haven't got the USB cuecat, but I do have a serial one. You may want
to take a look at my cuecatscript for it, in the misc/cuecat port.

> I have one, and it's properly detected:
> 
> ukbd0: KYE Systems :Cue:CAT, rev 1.10/1.00, addr 3, iclass 3/1
> kbd1 at ukbd0
> 
> but when I scan things with it, I get no output.  As I understand it, I
> should be able to scan barcodes with this guy and get something on STDOUT,
> but that doesn't seem to be the case.  I assume I'm missing something
> pretty obvious here.  Ideas?

You've got the I/O wrong. When you scan something with it, it's going
to show up as INPUT, not OUTPUT. With the serial cuecat, it shows up
as from the keyboard, which is STDIN. For the usb one, It should show
up from ukbd0. So to use the cuecat script, you would run it as 
"cuecat < /dev/ukbd0", and then start scanning things with it.

If you want the raw data, you can get that with "cat /dev/ukbd0" and
then star scanning things. It's possible they changed the encoding for
the this version to try and enforce their business model, in which
case the cuecat port won't work. Googline for CueCat will be
instructive in any case.

Are they still giving them away free at Radio Shack? I'd like to get
one to make sure the cuecat script works properly.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15537.26966.149892.725287>