Possibly using hiddev?

Florin Andrei wrote:
Wow! You're right, it was enough to run an xterm to see the data being
printed when I swiped the card.

Any idea on how to redirect that data, so that it doesn't interfere with
the regular keyboard? (I want to be able to use the normal keyboard
while swiping the card)

On Thu, 2005-08-04 at 08:38 -0700, Stephen J. Gowdy wrote:
It claims it is a keyboard, perhaps you'll see the data in your terminal
when you swipe?

On Thu, 4 Aug 2005, Florin Andrei wrote:

Fedora Core 4, kernel-2.6.12-1.1398_FC4
USB device: IDtech Magnetic Stripe credit card reader

When plugging it into the system, this is what shows up in syslog:

Aug  3 23:46:53 rivendell kernel: usb 3-1: new low speed USB device
using ohci_hcd and address 5
Aug  3 23:46:53 rivendell kernel: input: USB HID v1.00 Keyboard
[0acd:0200] on usb-0000:00:03.1-1
Aug  3 23:46:53 rivendell hal.hotplug[4576]: DEVPATH is not set
(subsystem input)

When unplugging it, it's this:

Aug  3 23:56:09 rivendell kernel: usb 3-1: USB disconnect, address 5
Aug  3 23:56:09 rivendell hal.hotplug[4655]: DEVPATH is not set
(subsystem input)

I'm a total newbie to USB.

Questions:
How do I know whether the device is actually properly recognized?

If it is recognized, how do I read the device? I assume it's pretty
similar to a serial device (a character device), so I probably need
a /dev file or something like that to read from when I swipe the card.
Which /dev file is that?


--
/------------------------------------+-------------------------\
|Stephen J. Gowdy                     | SLAC, MailStop 34,       |
|http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road,     |
|http://calendar.yahoo.com/gowdy      | Menlo Park CA 94025, USA |
|EMail: [EMAIL PROTECTED]       | Tel: +1 650 926 3144     |
\------------------------------------+-------------------------/


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to