[Wlug] Seeking help with a USB barcode scanner

Andy Stewart andystewart at comcast.net
Sat Mar 31 15:01:46 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi Everybody,

Jamie Guinan wrote:
> 
>> See if "evdev" is loaded, then try reading the various 
>> /dev/input/event* nodes.

Yes, evdev is loaded and I see some /dev/input/event* nodes.  The unique
ones for this device (that show up when I plug in the device) are event3
and event4.  Also, I see mouse1 and ts1.

> 
>> I have a USB keyboard here.  Oh neat, under 2.6.19, they even give you 
>> a path that matches the device ids,
> 
>> # od -x /dev/input/by-id/usb-1241_1203-event-kbd 
>> (tap tap tap...)
>> 0000000 92a9 460e 0000 0000 36dc 000b 0000 0000
>> 0000020 0001 001c 0000 0000 92a9 460e 0000 0000
>> 0000040 36e0 000b 0000 0000 0000 0000 0000 0000
>> ...

In /dev/input/by-id, I see:
usb-Cypress_Cypress_PS.2_Keyboard-event-{kbd,mouse}
usb-Cypress_Cypress_PS.2_Keyboard-mouse

I tried your "od -x" trick on each of these to no avail.  I pointed the
barcode scanner at some arbitrary barcodes, and it beeped and turned off
the red light, but nothing appeared on my screen as a result of the "od -x".

Are there other possibilities to consider?

Thanks!

Andy

- --
Andy Stewart, Founder
Worcester Linux Users' Group (http://www.wlug.org)
Chelmsford Linux Meetup Group (http://linux.meetup.com/393)
Amateur Radio:  KB1OIQ
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFGDrAaHl0iXDssISsRAtKQAJ94QGALxKYyZCAe1O82lmX0oPbw6ACff6xq
+3p23tpa7Eu+AaA2eRTS1To=
=Yf7o
-----END PGP SIGNATURE-----


More information about the Wlug mailing list