The new remote control (dm8000) it' different:
(by GHOST)
The NEW RC is configured via "/proc/stb/ir/rc/mask1"
The OLD RC is configured via "/proc/stb/ir/rc/mask0"
The codes in the mask1 are shifted 8 bits left... (*256).
Default is 0xf00... this enables all 4 layers of the new RC.
Only Layer1 is 0x100... Layer2 ist 0x200, Layer3 is 0x400, Layer4 ist 0x800.
For disable all layers of the new rc (into 7025 or 800): "echo 0 > /proc/stb/ir/rc/mask1"
Into your plugin:
Code
# config file for IR mask, default is DM7025 or later, fallback to DM500/600
MASK = "/proc/stb/ir/rc/mask0"
if not path.exists(MASK):
MASK = "/proc/stb/ir/rc/mask"
becomed
Code
# config file for IR mask, default is DM7025 or later, fallback to DM500/600, mask1 it's for DM8000
MASK = "/proc/stb/ir/rc/mask1"
if not path.exists(MASK):
MASK = "/proc/stb/ir/rc/mask"
Or should include a menu of choice of the mask
Thanks