"reading" a HID device
Using Linux 2.6.33 (gcc V4.3.4, Buildroot 2010.02) on an embedded ARM system with Busybox.
I have a nifty voltage meter USB device (robotshop device RB-Spa-274 Micro Voltage Recorder) that I would like to use, but it is a "HID" device, and no /dev file gets created when it is plugged in. I want to simply read this "keyboard" like device from a program to fetch the voltage data that it is reporting. Why they didn't make this a tty device is beyond me.
Any help would be much appreciated.
Have you gone to the manufacturer's web site to see if there is integration documentation?
They say: run the program you want to receive the data, plug the device in, and it will appear in the program b/c it looks like a keyboard device. Clever, but useless. I either need to reprogram the device to look like a terminal device, or I need a way to read a HID device without treating it like a keyboard. Essentially, I need the "keyboard input stream" to be read by a program.
Originally Posted by Rubberman
Have you looked to see if linux puts it in /dev/input somewhere? If it looks like a keyboard, that is one possibility.