On Wed, 9 Jan 2008, Todd A. Jacobs wrote:
I have a WASP pen scanner that seems to be recognized by the kernel:
usbcore: registered new interface driver hiddev
input: Marson Wasp Barcode USBi as /class/input/input3
input: USB HID v1.00 Keyboard [Marson Wasp Barcode USBi] on
usb-0000:00:03.3-1.7
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
and creates a device in dev:
/dev/input/by-id/usb-Marson_Wasp_Barcode_USBi-event-kbd
but I'm not sure how to read from it. Where is the ASCII output from the
unit going, theoretically?
--
"Oh, look: rocks!"
-- Doctor Who, "Destiny of the Daleks"
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
It's a distinct device - you should be able to read directly from that
/dev that's created when you plug it in. When in X it typically works like
a second keyboard, inserting the text wherever a keyboard's entry would
end up.
Andy
----------------------------------------------------------------------
Andrew J Perrin - andrew_perrin (at) unc.edu - http://perrin.socsci.unc.edu
Associate Professor of Sociology; Book Review Editor, _Social Forces_
University of North Carolina - CB#3210, Chapel Hill, NC 27599-3210 USA
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]