1EVTEST-CAPTURE(1)               [FIXME: manual]              EVTEST-CAPTURE(1)
2
3
4

NAME

6       evtest-capture - Input device event capture program
7

SYNOPSIS

9       evtest-capture "/dev/input/eventX" [evtest-capture.xml]
10

DESCRIPTION

12       evtest-capture captures the information and events from the input
13       device specified on the command line and writes it to the xml file
14       given. If no filename is given for the output file, evtest-capture.xml
15       is chosen as default.
16
17       evtest-capture needs to be able to read from the device; in most cases
18       this means it must be run as root.
19
20       Together with with evtest-create-device.xsl, a simple uinput-based
21       software input device can be created that replays the events as if the
22       same input was performed on the physical device. This can be useful to
23       replicate bugs with input devices in upper layers of the stack.
24
25       To convert evtest-capture.xml into such a uinput device, run:
26
27           xsltproc evtest-create-device.xls evtest-capture.xml > mydevice.c
28           gcc -o mydevice mydevice.c
29           ./mydevice
30

DIAGNOSTICS

32       If evtest-capture does not see any events even though the device is
33       being used, the device may be grabbed by a process (EVIOCGRAB). This is
34       usually the case when debugging a synaptics device from within X. VT
35       switching to a TTY or shutting down the X server terminates this grab
36       and synaptics devices can be debugged.
37

SEE ALSO

39       evtest(1)
40

AUTHOR

42       evtest-capture was written by Peter Hutterer
43       <peter.hutterer@redhat.com[1]>.
44

NOTES

46        1. peter.hutterer@redhat.com
47           mailto:peter.hutterer@redhat.com
48
49
50
51[FIXME: source]                   09/01/2011                 EVTEST-CAPTURE(1)
Impressum