• Quick Start
  • Booting
  • Platform
  • Portals
  • References
    • API Reference TOI3
    • IIP Reference
  • Resources
ARRIS Enterprises, Inc. Confidential Information

kreatv-option-rcmaps_all

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

The rcmap file needs to be in the following format:


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

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

...

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

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

The scan code [SCANCODE_X_Y] maps to the corresponding key code [KEYCODE_X_Y] and modifier key code [MODIFIER_X_Y]. Scan codes are codes from IR remote, key and modifier codes are linux key codes from linux/input.h header. Modifier codes can be only 0 (no modifier), 42 (Shift), 29 (Ctrl), 56 (Alt), 100 (AltGr). If modifier code is 0 it can be omitted.

Comments may be included in the file on a line by starting with a hash (#) character. Furthermore the lines may 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 #ARRIS RC
8, 1, 29
9, 108, 29
13, 1
15, 87
24, 106, 29
25, 61
26, 63, 29
28, 5
29, 11
31, 66
39, 60, 56
40, 105, 29
42, 64, 29
43, 60
44, 6
47, 67
56, 103
58, 65, 29
60, 7
61, 60, 29
63, 64
72, 108
73, 88
74, 66, 29
75, 63
76, 8
77, 61, 29
88, 105
89, 2
91, 68
92, 9
93, 62
104, 106
105, 3
107, 62, 29
108, 10
120, 65
121, 4
124, 59
127, 103, 29

Parameters

Name Repeat Description Type Default Example
debug_enabled Controls debug printouts in the log when keys on remote control units are pressed. This includes the protocol, scan code and potential mapped key. Boolean false debug_enabled=true
external Add external IR configuration file from 'path'.

NOTE: This parameter is deprecated. Use 'ir_config' instead.

File path external=path
ir Multiple Add support for IR RC. Supported IR RC configurations:
  • default (default remote keyboards and remotes)
  • arris_kb_kreatvir_2
  • arris_kb_kreatvir_5
  • arris_nyx_kreatvir_38
  • arris_rcu_kreatvir_37
  • arris_rcu_kreatvir_42
  • arris_srcu_kreatvir_32
  • aura
  • kpn
  • philips_rc3134504_ir
  • siemens
  • tcom
  • tcom_ruwido
  • telia_nec
String default ir=kpn,ir=siemens
ir_config Add external IR configuration file from 'path'. File path ir_config=path
irmap_default Add support for the default remote keyboards and remotes. Protocol RC5

NOTE: This parameter is deprecated. Use 'ir=default' instead.

String
kpn Add support for the KPN RC. Protocol R-STEP_KPN

NOTE: This parameter is deprecated. Use 'ir=kpn' instead.

String
motorola_kb_kreatvir_2 Add support for a remote keyboard. Protocol KreaTVIR

NOTE: This parameter is deprecated. Use 'ir=arris_kb_kreatvir_2' instead.

String
motorola_kb_kreatvir_5 Add support for a remote keyboard. Protocol KreaTVIR

NOTE: This parameter is deprecated. Use 'ir=arris_kb_kreatvir_5' instead.

String
motorola_nyx_kreatvir_38 Add support for the ARRIS Nyx RC. Protocol KreaTVIR

NOTE: This parameter is deprecated. Use 'ir=arris_nyx_kreatvir_38' instead.

String
motorola_rcu_kreatvir_37 Add support for the new ARRIS RC (MRCU180 and others). Protocol KreaTVIR

NOTE: This parameter is deprecated. Use 'ir=arris_rcu_kreatvir_37' instead.

String
motorola_srcu_kreatvir_32 Add support for the ARRIS RC. Protocol KreaTVIR

NOTE: This parameter is deprecated. Use 'ir=arris_srcu_kreatvir_32' instead.

String
siemens Add support for the Siemens RC. Protocol R-STEP_KPN

NOTE: This parameter is deprecated. Use 'ir=siemens' instead.

String
tcom Add support for the TCOM RC. Protocol R-STEP_KPN

NOTE: This parameter is deprecated. Use 'ir=tcom' instead.

String
tcom_ruwido Add support for the TCOM RC. Protocol R-STEP_KPN

NOTE: This parameter is deprecated. Use 'ir=tcom_ruwido' instead.

String
telia_nec Add support for the Telia NEC RC. Protocol NEC

NOTE: This parameter is deprecated. Use 'ir=telia_nec' instead.

String

Details

Version5.1.1.p8
Content version-
Branchkreatv.5.1.1.p8
Date20180221
Time143139
Architectureall
Rootdisk dependencies-
Finalize dependencies-
Installation scriptsbuildtime, kit
Dependency onlyno
Explicitno
Allow any parametersno

5.1.1.p8

Copyright (c) 2018 ARRIS Enterprises, LLC. All Rights Reserved. ARRIS Enterprises, LLC. Confidential Information.