You are not logged in.
So I just recently did a fresh install of Arch and am now running systemd. So far everything has gone well except for lirc. The service is enabled, the moudles loaded, the conf is setup. but my remote is not working
with irw it shows
irw
^[[A^[[B^[[C^[[D
Thats pressing up/down/right/left. Those are the only buttons that show something or do something in xbmc.
I think the problem is whats detailed here on the lirc wiki page 9.2 After upgrading or installing Arch, an existing configuration stopped working
I needed that in the past, but now I'm not sure how to do that since rc.local is no longer used.
so any help would be greatly welcomed.
Thanks in advance.
Last edited by almostalive (2012-10-27 13:25:40)
Offline
Offline
Thanks graysky.
Your service file alone did not work for me, but reading that thread did help. I looked into ir-keytable --help and saw that i could enable the LIRC protocol with --protocol=LIRC. Doing that worked so i added an extra line to your service file
ExecStartPost=/usr/bin/ir-keytable --protocol=LIRC
I then rebooted, ran irw and it was working like it should.
This is what my lirc.service file now looks like
[Unit]
Description=LIRC Daemon
After=network.target
[Service]
Type=forking
PIDFile=/run/lirc/lircd.pid
ExecStartPre=/bin/mkdir -p /run/lirc
ExecStartPre=/bin/rm -f /dev/lircd
ExecStartPre=/bin/rm -f /run/lirc/lircd
ExecStartPre=/bin/ln -s /run/lirc/lircd /dev/lircd
ExecStart=/usr/sbin/lircd -d /dev/lirc0 -P /run/lirc/lircd.pid
ExecStopPost=/bin/rm -f /dev/lircd
ExecStopPost=/bin/rm -fR /run/lirc
ExecStartPost=/usr/bin/ir-keytable --protocol=LIRC
[Install]
WantedBy=multi-user.targetI'm not sure if this is proper or not but it works for me.
Last edited by almostalive (2012-10-27 13:26:47)
Offline