Scripting
Lirc Setup On Arch Linux
How to make lirc work (ie Fix it) with MCE reciever on Arch Linux
I was scratching my head on this one for a long time. Everything seemed to be set up but irw and cat'ing devices did nothing.
Eventually, from this thread: https://bbs.archlinux.org/viewtopic.php?id=121651
I realised that the default is not LIRC. Setting the ir-keytable fixed it for me.
I put this into the systemctl script.
Firstly, copy the lircd.service to /etc/systemd (this overides the default)
cp /usr/lib/systemd/system/lircd.service /etc/systemd/system/lircd.service
Then add the line:
ExecStartPre=/usr/bin/ir-keytable -p LIRC
Full file now:
[Unit] Description=LIRC Infrared Signal Decoder After=network.target [Service] Type=simple ExecStartPre=/usr/bin/ir-keytable -p LIRC ExecStart=/usr/sbin/lircd --nodaemon [Install] WantedBy=multi-user.target