ref doc:
Create remote.conf from scratch
copy https://github.com/CoreELEC/remot…ent/remote.conf to /storage/.config
comment content of:
between key_begin and key_end
between repeat_key_begin and repeat_key_end
run remotecfg .config/remote.conf
press OK button in remote
LibreELEC:~ # dmesg
[ 538.296106@0] remote: Wrong custom code is 0xfd029f00
[ 543.716170@0] remote: Wrong custom code is 0xfd029f00
LibreELEC:~ #
vi remote.conf,set factory_code
factory_code = 0xfd029f00
run command:
LibreELEC:~ # remotecfg .config/remote.conf
curpara:factory_code fd029f00
curpara:work_mode 00000000
curpara:repeat_enable 00000001
curpara:repeat_delay 00000082
curpara:repeat_peroid 00000078
curpara:release_delay 00000014
curpara:debug_enable 00000001
repeat_delay = 130
repeat_peroid = 120
work_mode = 0
repeat_enable = 0x1
factory_code = 64770
release_delay = 0x14
debug_enable = 0x1
LibreELEC:~ #
press POWER button in remote and get log message:
LibreELEC:~ # dmesg
[ 2138.422743@2] remote: cur_mode = 0
[ 2138.422761@2] remote: set_remote_mode[78]
[ 2164.000795@0] remote: Wrong custom code is 0xa8579f00
[ 2165.311417@0] remote: Wrong custom code is 0xa8579f00
[ 2165.836795@0] remote: Wrong custom code is 0xa8579f00
[ 2166.101722@0] remote: Wrong custom code is 0xa8579f00
LibreELEC:~ #
try to edit remote.conf with
# 0x57 116 ;POWER
LibreELEC:~ # remotecfg .config/remote.conf
curpara:factory_code fd029f00
curpara:work_mode 00000000
curpara:repeat_enable 00000001
curpara:repeat_delay 00000082
curpara:repeat_peroid 00000078
curpara:release_delay 00000014
curpara:debug_enable 00000001
KEYMAP_LEVEL: ircode = 0x57, keycode = 116
repeat_delay = 130
repeat_peroid = 120
work_mode = 0
repeat_enable = 0x1
factory_code = 64770
release_delay = 0x14
debug_enable = 0x1
LibreELEC:~ #
also tried:
# 0xa8 116 ;POWER
but, none of can poweroff box
and never got following:
remote: scancode is 0x0043,invalid key is 0x0000.
only get message as:
remote: Wrong custom code is 0xa8579f00
don't know, how to do
my box's Skyworth Q+ remote dammaged, so I use third party remote, it can be used in LE12 with meson-ir format config file
have no idea
here I post meson-ir format remote config file which can work in LE12 and coreelec
# table minix, type: NEC
0x9f57 KEY_POWER
0x9f43 KEY_UP
0x9f06 KEY_LEFT
0x9f0e KEY_RIGHT
0x9f0a KEY_DOWN
0x9f47 KEY_HOME
0x9f16 KEY_CONTEXT_MENU
0x9f02 KEY_ENTER
0x9f4f KEY_ESC
0x9f5d KEY_VOLUMEDOWN
0x9fff KEY_VOLUMEUP
0x9f8a KEY_MUTE