Your company here ā€” click to reach over 10,000 unique daily visitors

hid-recorder - Man Page

HID Input device recorder.



hid-recorder [Options] [/dev/hidrawX] [[/dev/hidrawY] ... ]


-d, ā€‰--debugfs

use HID debugfs node. Some devices (like "Logitech USB Receiver" or "Apple Magic Mouse") grabs the hidraw output leading to an empty output. Fortunately, relying on HID debugfs can help us most of the time. However, if hte device does report two many events at once (multitouch panles for example), the HID debugfs node is missing a lot of events, preventing us to make this the default behaviour.


hid-recorder is a tool that allow users to capture hidraw description and events in order to replay them through the uhid kernel module.

The first invocation type displayed above (without arguments) causes hid-recorder to let the user choose which hidraw she will use, including the name the device.

Several hidraw nodes can be given to hid-recorder. In this case, the recording of each node are multiplexed thanks to the tag D: as seen below.

hid-recorder needs to be able to read from the hidraw device; in most cases this means it must be run as root.

hid-recorder and hid-replay are used to debug kernel issues with HID input devices. The output of hid-recorder has the following syntax:

Exit Code

hid-recorder returns EXIT_FAILURE on error.

See Also



Benjamin Tissoires <benjamin.tissoires@redhat.com>

Referenced By