views:

51

answers:

1

Hello, I'm currently working on an embedded linux machine. Im trying to read a USB devices input stream but for some reason I dont have any such thing in my /dev directory. I would assume it would be something like /dev/ttyUSB01 or /dev/input/usb or something similar but it's not there. dmesg returns the following

[ 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

I've scanned through /sys/class/input/input2 and I am not really sure what Im looking for. Maybe someone could point me in the right direction?

A: 

Check out /dev/input/by-path and look for your usb-0000:00:0f.4-1. On my Ubuntu box that's a symbolic link to the device.

Karl Bielefeldt
I have nothing related to that. The only thing that is in my /dev/input directory is "mice"
Dalton Conley