lsusb -v gives the information of the device descriptor of a USB device.
Is there any command/tool which can give us the continuous HID input reports from a USB HID device in Linux?
When lsusb shows your device is 60 on a bus 1:
usbhid-dump -s 1:60 -f -e stream
Example output:
001:060:000:STREAM             1479575666.731004
 02 1F
.001:060:000:STREAM             1479575666.859017
 01 1E
.001:060:000:STREAM             1479575666.987019
 02 1F
First line is path, type, timestamp. Second line is raw report, so if you use several report ids, then first byte is report id. If you don't use report ids, then it's your message straight from the beginning
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With