kreatv-option-rcmaps

This IIP allows you to specify a scancode-to-keycode conversion table for the IR driver. Predefined tables exist (see param list below), but it is also possible to create your own custom keycode table.

Note: This is NOT how you change character maps! Use xmodmap or the settings application for that.

When external option is used (external=path) the rcmap file needs to be in the following format:

PROTOCOL=[PROTOCOL_1],ID=[ID_1]
[SCANCODE_1_1],[KEYCODE_1_1]
[SCANCODE_1_2],[KEYCODE_1_2]
...
[SCANCODE_1_N1],[KEYCODE_1_N1]

PROTOCOL=[PROTOCOL_2],ID=[ID_2]
[SCANCODE_2_1],[KEYCODE_2_1]
[SCANCODE_2_2],[KEYCODE_2_2]
...
[SCANCODE_2_N2],[KEYCODE_2_N2]

...

PROTOCOL=[PROTOCOL_N],ID=[ID_N]
[SCANCODE_N_1],[KEYCODE_N_1]
[SCANCODE_N_2],[KEYCODE_N_2]
...
[SCANCODE_N_NN],[KEYCODE_N_NN]

Where [ID] is custom id and [PROTOCOL] is one of the following supported protocols:
KreaTVIR
R-STEP_KPN
NEC
USB

The scan code [SCANCODE_X_Y] maps to the corresponding key code [KEYCODE_X_Y]

Comments may be included in the file on a line by starting with a hash (#) character. Further more the lines my not be longer than 80 characters, if longer the mapping will not load.

An example of this file (with only one mapping):

PROTOCOL=KreaTVIR,ID=32 #Motorola RC
8, 116
9, 178
13, 128
15, 217
24, 213
25, 216
26, 164
28, 5
29, 11
31, 222
39, 241
40, 211
42, 168
43, 214
44, 6
47, 212
56, 103
58, 159
60, 7
61, 114
63, 220
72, 108
73, 139
74, 218
75, 219
76, 8
77, 115
88, 105
89, 2
91, 158
92, 9
93, 150
104, 106
105, 3
107, 113
108, 10
120, 221
121, 4
124, 215
127, 177

In order to aid mapping of a new RC there is also an optional 'kreatv-tool-read-irdriver' IIP which contains the 'read-irdriver' program. When this program is launched on the box it will publish PROTOCOL/ID, scancode and currently mapped keycode when key is pressed. It must however be run via the console (telnet or ssh).

Parameters

NameRepeatDescriptionExample
external Add external configuration file from 'path'. external=path
ft Add support for the FT NEC RC. Protocol NEC
irmap_default Add support for the default remote keyboards and remotes. Protocol RC5
irmap_vip22x2 Add support for the default remote keyboards and remotes on vip22x2. Protocol NEC
kpn Add support for the KPN RC. Protocol R-STEP_KPN
motorola_kb_kreatvir_2 Add support for a remote keyboard. Protocol KreaTVIR
motorola_kb_kreatvir_5 Add support for a remote keyboard. Protocol KreaTVIR
motorola_nyx_kreatvir_38 Add support for the Motorola Nyx RC. Protocol KreaTVIR
motorola_rcu_kreatvir_37 Add support for the new Motorola RC (MRCU180 and others). Protocol KreaTVIR
motorola_srcu_kreatvir_32 Add support for the Motorola RC. Protocol KreaTVIR
siemens Add support for the Siemens RC. Protocol R-STEP_KPN
tcom Add support for the TCOM RC. Protocol R-STEP_KPN
tcom_ruwido Add support for the TCOM RC. Protocol R-STEP_KPN
telia_nec Add support for the Telia NEC RC. Protocol NEC
usbdongle Add support for the USB dongle (see kreatv-option-usb-ir).

Details

Version4.3.IAP30.3
Content version-
BranchSTABLE_iap_digitalis_3
Date20120112
Time035830
ArchitectureAll
Rootdisk dependencieskreatv-hal
Execution dependencieskreatv-hal
Finalize dependencies-
Installation scriptsbuildtime
Uninstallation scripts-
Sanity checktrue