Menu

#350 USB HID support

New
nobody
None
Medium
Defect
2013-02-06
2013-02-02
Anonymous
No

Originally created by: rall... (code.google.com)@gmail.com

Hello.
Is there kernel support for USB HID devices?
I have a Temper1 USB temperature sensor/logger that is detected as an USB FTDI device. Any chance to get it detected as an HID device?

Thank you
Rui

Discussion

  • Anonymous

    Anonymous - 2013-02-02

    Originally posted by: rall... (code.google.com)@gmail.com

    Now, for some reason the device is detected differently, and OHCI is being used..

    "kernel: usb 2-2: new low speed USB device using str8100-ohci and address 4"

     
  • Anonymous

    Anonymous - 2013-02-02

    Originally posted by: rall... (code.google.com)@gmail.com

    Yes, i think it uses "user space drivers", but i tried several options and can't get it to work on SnakeOS. Works perfectly with Ubuntu.

    If no one tried this devices with SnakeOS i guess i will keep trying.

    thanks

     
  • Anonymous

    Anonymous - 2013-02-05

    Originally posted by: rall... (code.google.com)@gmail.com

    It tries to find the device but it's unsuccessful. I have to do more tests.
    I think different applications for that device use different approaches to find it.

    Would it - theoretically - work through Debian Chroot? The devices folders are linked to the SnakeOS ones like in the FAQ. No success with that too.

     
  • Anonymous

    Anonymous - 2013-02-05

    Originally posted by: stefansc...@googlemail.com

    Too bad. They should work in the chroot too. I think they either look under /dev or /proc for usb devices.

    I got the first two compiled there with something like:
    apt-get install build-essential git-core libusb-dev
    git clone git://github.com/jeixav/HID-TEMPerHUM.git
    cd HID-TEMPerHUM
    make

     
  • Anonymous

    Anonymous - 2013-02-06

    Originally posted by: rall... (code.google.com)@gmail.com

    I also compiled in Chroot without problems, but the device is never found by the software. I admit i don't know that much about linux devices and was avoiding to spend much time around this (i can use a Raspberry Pi for this project). I know some software for this device tries to find one of the known device IDs, but others check for the device itself at /dev . I think i tried at least one of each, but with no success. I don't know if it's important how the OS detects the device when user space drivers are used or if there's some kind of dependence between the two.

    But it's a shame, because this cheap little device with the cool SnakeOS was more than enough for my needs.  Thanks anyway!

     

Log in to post a comment.

MongoDB Logo MongoDB