You are not logged in.
If I run:
# cat /sys/class/rc/rc0/protocols
what I get is:
other unknown rc-5 nec [rc-6] jvc sony rc-5-sz sanyo sharp mce_kbd lirc xmp
This breaks Kodi (formerly XBMC), which needs "lirc" to be specified for the remote to function. I can manually fix this by running echo > /sys/class/rc/rc0/protocols as root, but I don't want to have to break out a terminal every time I need to use Kodi.
I tried unstalling/re-installing lirc after deleting the /etc/lirc folder, but that made no difference. Also I wrote a custom unit with the following content, but it failed to make a difference even though it was running after lircd service loaded:
[Unit]
Description=LIRC fix
After=lircd.service
[Service]
Type=oneshot
ExecStart=/usr/bin/echo lirc > /sys/class/rc/rc0/protocols
[Install]
WantedBy=multi-user.target
Offline
Try
ExecStart=/bin/sh -c 'echo lirc > /sys/class/rc/rc0/protocols'Offline