Re: test program to check usb hid devices

2014-08-15 Thread Benjamin Tissoires
If I understood correctly, you just want to dump the hid output. You can just cat /sys/kernel/debug/hid/*/events if debugfs is mounted. Or you may want to have a look at these 2 projects: hid-recorder -> http://bentiss.github.io/hid-replay-docs/ usbhid-dump-> https://github.com/DIGImend/usbhid-du

Re: test program to check usb hid devices

2014-08-15 Thread loody
hi David: 2014-08-15 20:54 GMT+08:00 David Laight : > From: loody >> Is there any test program we can use to capture input data send from >> usb keyboard/mouse? > > google usbmon Sorry for making you confused. What I need is not monitor usb bus data. What I need is some user mode program, and when

RE: test program to check usb hid devices

2014-08-15 Thread David Laight
From: loody > Is there any test program we can use to capture input data send from > usb keyboard/mouse? google usbmon David

test program to check usb hid devices

2014-08-15 Thread loody
hi all: Is there any test program we can use to capture input data send from usb keyboard/mouse? I don't need to parsing the binary sent by keyboard/mouse. Just raw data is fine. I checked the Kernel sample, hid-example.c, but it seems only get report and print it out. appreciate your help in adv