1IR-KEYTABLE(1)                   User Commands                  IR-KEYTABLE(1)
2
3
4

NAME

6       ir-keytable - a swiss-knife tool to handle Remote Controllers.
7

SYNOPSIS

9       ir-keytable [OPTION]... --device [/dev/input/event* device]
10       ir-keytable [OPTION]... --sysdev [ir class (f. ex. rc0)]
11       ir-keytable [OPTION]... [for using the rc0 sysdev]
12

DESCRIPTION

14       ir-keytable  is a tool that lists the Remote Controller devices, allows
15       to get/set IR keycode/scancode tables, test events generated by IR, and
16       to adjust other Remote Controller options.
17
18       Note:  You  need to have read permissions on /dev/input for most of the
19       options to work.
20

OPTIONS

22       -a, --auto-load=CFGFILE
23              Auto-load a table, based on a  configuration  file.  Only  works
24              with sysdev.
25
26       -c, --clear
27              clears the old table
28
29       -d, --device=DEV
30              ir device to control
31
32       -D, --delay=DELAY
33              Sets the delay before repeating a keystroke
34
35       -k, --set-key=SCANKEY
36              Change scan/key pairs
37
38       -p, --protocol=PROTOCOL
39              Protocol  to enable (the other ones will be disabled). To enable
40              more than one, use the option more than one time
41
42       -P, --period=PERIOD
43              Sets the period to repeat a keystroke
44
45       -r, --read
46              reads the current scancode/keycode table
47
48       -s, --sysdev=SYSDEV
49              ir class device to control
50
51       -t, --test
52              test if IR is generating events
53
54       -v, --verbose
55              enables debug messages
56
57       -w, --write=TABLE
58              write (adds) the scancodes to the device scancode/keycode  table
59              from the specified TABLE file
60
61       -?, --help
62              Prints the help message
63
64       --usage
65              Give a short usage message
66
67       -V, --version
68              print the v4l2-utils version
69
70       Mandatory  or  optional arguments to long options are also mandatory or
71       optional for any corresponding short options. Options can  be  combined
72       together.
73
74   The options arguments are:
75       DEV    the /dev/input/event* device to control
76
77       SYSDEV the ir class as found at /sys/class/rc
78
79       TABLE  a file wit a set of scancode=keycode value pairs
80
81       SCANKEY
82              a set of scancode1=keycode1,scancode2=keycode2.. value pairs
83
84       PROTOCOL
85              protocol name (nec, rc-5, rc-6, other) to be enabled
86
87       DELAY  Delay before repeating a keystroke
88
89       PERIOD Period to repeat a keystroke
90
91       CFGFILE
92              configuration  file  that  associates a driver/table name with a
93              keymap file
94

EXIT STATUS

96       On success, it returns 0. Otherwise, it will return the error code.
97

EXAMPLES

99       To list all connected Remote Controller devices:
100            ir-keytable
101
102       To clean the keycode table and use a newer one:
103            ir-keytable -c -w /etc/rc_keymaps/nec_terratec_cinergy_xs
104
105       To append more codes to the existing table:
106            ir-keytable -w /etc/rc_keymaps/nec_terratec_cinergy_xs
107
108       To  read  the  current  keytable,  on  the  second  remote  controller:
109            ir-keytable -s rc1 -r
110

BUGS

112       Report bugs to Mauro Carvalho Chehab <mchehab@redhat.com>
113
115       Copyright (c) 2010-2011 by Mauro Carvalho Chehab <mchehab@redhat.com>.
116
117       License GPLv2: GNU GPL version 2 <http://gnu.org/licenses/gpl.html>.
118       This  is  free  software:  you  are free to change and redistribute it.
119       There is NO WARRANTY, to the extent permitted by law.
120
121
122
123v4l-utils                        January 2011                   IR-KEYTABLE(1)
Impressum