2023-02-18, 17:46
Hello all, I know it's old, but this problem is still on discouraging many of us.
I discovered by chance that if we trigger eventlircd (https://github.com/OpenELEC/eventlircd) with
systemctl enable evenlircd *OR* service eventlircd start
where a service file has been defined
and then shutdown it just behind with
sudo service eventlircd stop *OR* sudo killall eventlircd
THEN THE OK BUTTON ON REMOTE REACTS IF WITH PRESS DEEPLY THE BUTTON >1s !!!
CONCLUSION: It seems then that evenlircd initialise lirc loading not the 'default' core keys associated with meson_ir core module somewhere but correctly maps of my remote where a line :
and a correct:
myremote.toml exists in /usr/lib/udev/rc_keymaps
>> Does anyone know how to make eventlircd service run once and quit behind to reproduce this missing lirc or event initialisation to unlock OK button? <<
I discovered by chance that if we trigger eventlircd (https://github.com/OpenELEC/eventlircd) with
systemctl enable evenlircd *OR* service eventlircd start
where a service file has been defined
==========================================================html:
=== /usr/lib/systemd/system/eventlircd.service ======================
[Unit]
Description = eventlircd remote support
Before = mediacenter.service
[Service]
Type = simple
ExecStartPre = /bin/mkdir -p /var/run/lirc
ExecStart = /usr/sbin/eventlircd --evmap=/etc/eventlircd.d --socket=/var/run/lirc/lircd -f
ExecStartPost = /bin/sh -c "for f in /var/run/lirc/lircd-*.sh; do if [ -e $f ]; then s=$(basename $f .sh | sed 's/lircd-//g'); systemctl start lircd_helper@$s; fi; done"
Restart = on-abort
[Install]
WantedBy = multi-user.target
and then shutdown it just behind with
sudo service eventlircd stop *OR* sudo killall eventlircd
THEN THE OK BUTTON ON REMOTE REACTS IF WITH PRESS DEEPLY THE BUTTON >1s !!!
CONCLUSION: It seems then that evenlircd initialise lirc loading not the 'default' core keys associated with meson_ir core module somewhere but correctly maps of my remote where a line :
has been added in /etc/rc_maps.cfg.html:
meson-ir * myremote.toml # my custom ir remote
and a correct:
myremote.toml exists in /usr/lib/udev/rc_keymaps
>> Does anyone know how to make eventlircd service run once and quit behind to reproduce this missing lirc or event initialisation to unlock OK button? <<