A
A
Alexander2015-12-02 12:44:31
linux
Alexander, 2015-12-02 12:44:31

What is a simple linux utility for testing USB HID devices?

What is a simple linux utility for testing USB HID devices?
better even on the command line

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
monah_tuk, 2015-12-02
@monah_tuk

HID is quite versatile. What exactly do you want and, most importantly, do you know any analogues (for example, under Windows)?
And so, I wrote my software using hidapi:
- www.signal11.us/oss/hidapi
- https://github.com/signal11/hidapi
there is some kind of testgui, I didn’t have to use it, you can gut it.
Or, I would use WireShark to capture and analyze USB packets. Or one of the sniffers from here:
- www.linux-usb.org/tools.html
Descriptors can also be viewed using the usual lsusb and graphical usbview.
At least that's what I used for development. There are also all sorts of AnyHID - a good thing, but for Windows, but when you need a product - it's not up to principles :) You can also try generichid.sourceforge.net , but I didn't have a chance to use it. There will be an experience - tell us.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question