1HID-RECORDER(1) HID-RECORDER(1)
2
3
4
6 hid-recorder - HID Input device recorder.
7
9 hid-recorder
10
11 hid-recorder [OPTIONS] [/dev/hidrawX] [[/dev/hidrawY] ... ]
12
14 -d, --debugfs
15 use HID debugfs node. Some devices (like "Logitech USB Receiver" or
16 "Apple Magic Mouse") grabs the hidraw output leading to an empty
17 output. Fortunately, relying on HID debugfs can help us most of the
18 time. However, if hte device does report two many events at once
19 (multitouch panles for example), the HID debugfs node is missing a
20 lot of events, preventing us to make this the default behaviour.
21
23 hid-recorder is a tool that allow users to capture hidraw description
24 and events in order to replay them through the uhid kernel module.
25
26 The first invocation type displayed above (without arguments) causes
27 hid-recorder to let the user choose which hidraw she will use,
28 including the name the device.
29
30 Several hidraw nodes can be given to hid-recorder. In this case, the
31 recording of each node are multiplexed thanks to the tag D: as seen
32 below.
33
34 hid-recorder needs to be able to read from the hidraw device; in most
35 cases this means it must be run as root.
36
37 hid-recorder and hid-replay are used to debug kernel issues with HID
38 input devices. The output of hid-recorder has the following syntax:
39
40 · # lines comments
41
42 · D: tell which device we are currently working with
43
44 · R: size dump_of_report_descriptor_in_hexadecimal
45
46 · N: common_name_of_the_device
47
48 · P: physical_path
49
50 · I: bus vendor_id product_id
51
52 · E: timestamp size report_in_hexadecimal
53
55 hid-recorder returns EXIT_FAILURE on error.
56
58 hid-replay(1)
59
61 Copyright 2012, Benjamin Tissoires.
62 Copyright 2012, Red Hat, Inc.
63
65 Benjamin Tissoires <benjamin.tissoires@redhat.com>
66
67
68
69 07/14/2018 HID-RECORDER(1)