Find the answer to your Linux question:
Results 1 to 4 of 4
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2013
    Location
    Silicon Valley
    Posts
    2

    "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.
    Thanks
    /BB

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,397
    Have you gone to the manufacturer's web site to see if there is integration documentation?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Apr 2013
    Location
    Silicon Valley
    Posts
    2

    Yes

    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.

    Quote Originally Posted by Rubberman View Post
    Have you gone to the manufacturer's web site to see if there is integration documentation?

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,397
    Have you looked to see if linux puts it in /dev/input somewhere? If it looks like a keyboard, that is one possibility.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •