[split] OK button not working on remote, unable to remap to enter key
#1
Lightbulb 
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
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 :

html:

meson-ir * myremote.toml # my custom ir remote
has been added in /etc/rc_maps.cfg.

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? <<
Reply
#2
@sosie i have questions

what does this have to do with windows?
what does this have to do with the OP issue of a remote on windows?
what does the openelec base linux os have to do with this forum?
is the last line of your post a question?

(TLDR)
Reply
#3
You are right maybe it is the same related issue with lirc initiatlisation, I don't know if there is not an equivalent on windows. I will move this in the linux area if I can. Thanks for your remarks. The point was OK button problem. This was the link but after I noticed it was on windows.
Reply
#4
Hum seems there is not a delete or move feature. Sorry then.
Reply
#5
(2023-02-18, 18:19)sosie Wrote: Hum seems there is not a delete or move feature. Sorry then.

As you are a newcomer to this forum, there are certain restrictions in place. One of which is being unable to edit your posts.
These restrictions, as part of some anti-spam measures, will vanish over time.

I also split off your post from the Windows thread you posted in.
Reply
#6
Cool intro,  thanks a lot
Reply
#7
I have a great news, I isolated the culpit : it is the monitor, (I assume of udev)
With this https://gist.github.com/sosie-js/fa4d771...22cb966b49 ,

Ok button (KEY_ENTER) is back and eventlircd is launched once : it inits lirc and event and quits nicefully letting
meson-ir handling the core things such as arrows, ok and sound control reacts on double button press.
pause and stop buttons stopped to work in the process...but play/pause works correctly
Reply

Logout Mark Read Team Forum Stats Members Help
[split] OK button not working on remote, unable to remap to enter key0