From owner-freebsd-questions Mon Apr 8 2:56:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by hub.freebsd.org (Postfix) with SMTP id 52E5337B42A for ; Mon, 8 Apr 2002 02:56:44 -0700 (PDT) Received: (qmail 77457 invoked by uid 100); 8 Apr 2002 09:56:38 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15537.26966.149892.725287@guru.mired.org> Date: Mon, 8 Apr 2002 04:56:38 -0500 To: Ben Hockenhull Cc: freebsd-questions@freebsd.org Subject: Re: USB CueCat and FreeBSD? In-Reply-To: <20020407173617.H14492-100000@blues.jpj.net> References: <20020407173617.H14492-100000@blues.jpj.net> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.51 (Python 2.2 on FreeBSD/i386) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In <20020407173617.H14492-100000@blues.jpj.net>, Ben Hockenhull 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. 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