USB Devices
Hello,
I'm trying to write a simple background process that reads input from a USB magnetic card reader. In most linux systems you can find the device in /dev/input. Unfortunately its not there. Does anyone have any suggestions as to how I could read this USB card readers input stream? I do have a /sys/class/input directory for it, but there are a ton of items in that directory and I don't want to break anything. The reader is a GIT usb card reader and I have had no luck from contacting the company thus far. |
Run
Code:
dmesg Code:
dmesg Play Bonny! :hattip: |
It finds it..
[ 195.863911] input: GIT GIT USB READER as /class/input/input2 [ 195.864259] generic-usb 0003:1234:5678.0001: input: USB HID v1.00 Keyboard [GIT GIT USB READER] on usb-0000:00:0f.4-1/input0 But where is my data stream? I've scanned through /class/input/input2 a ton, but Im not sure what I'm looking for exactly. |
All times are GMT -5. The time now is 08:52 PM. |