Think benh is right.
irsend accepts -d option. Irexec NOT:
LIRC_SOCKET_PATH
Path to the lircd socket irexec reads from, defaults to /var/run/lirc/lircd.
so maybe the eventlircd.service should not default to /var/run/lirc/lircd-lirc0 but /var/run/lirc/lircd.
Anyone knows how to manually change that?
greetz
Finally got it (irexec) runing. have to test irsend yet, but doesn’t timeout!
Left the key naming as it was, not valid Linux uinput key names.
Here’s how:
Ive put this in rc.local:
kill $(ps aux | grep '[l]ircd-lirc0' | awk '{print $2}')
echo `/usr/sbin/lircd --driver=default --device=/dev/lirc0 --uinput --output=/var/run/lirc/lircd -- pidfile=/var/run/lirc/lircd.pid /home/osmc/lircd.conf`
echo `/usr/bin/irexec --daemon /home/osmc/.lircrc`
This is my config.txt:
dtparam=gpio_out_pin=22
disable_overscan=1
overscan_bottom=20
start_x=1
dtparam=gpio_in_pull=down
overscan_left=20
sdtv_aspect=1
gpu_mem_1024=256
dtparam=gpio_in_pin=18
hdmi_ignore_cec_init=1
dtoverlay=lirc-rpi
So now, for me, it works like it did on raspbmc