I tried getting my power button working for my Minix A2 Lite for a couple of days now. Yesterday i got power-on working and today i’ve had some succes with power-off, but somehow my changes disappear after reboot. Here is what i did, using How to configure IR remote control as a reference:
ir-keytable -p NEC,RC-5,RC-6,JVC,SONY -t
Protocols changed to rc-5 jvc sony nec rc-6
Testing events. Please, press CTRL-C to abort.
862.965033: event type EV_MSC(0x04): scancode = 0x118
862.965033: event type EV_SYN(0x00).
cat /storage/.config/rc_map.cfg
meson-ir * minix_neo_pwr_only
cat /usr/lib/udev/rc_keymaps/minix_neo_pwr_only
# table minix_neo_pwr_only, type: NEC
0x118 KEY_POWER
So, unless i’m mistaken, CoreElec should have already be listening to the correct IR command, but it was not working. So i made a copy of this file and placed it in the “custom keymaps directory”:
I tried the same thing a while ago but could never get mine to turn on.
I noticed a remote setting in the coreelec settings, had an option for minix but that didn’t help. It actually won’t even turn off right now with the remote.
I need to take the time to go through the guide again. Might have wiped my device since the last time I did it.