Code: Select all
ACTION=="add", SUBSYSTEM=="rc", RUN+="/usr/bin/ir-keytable -a /etc/rc_maps.cfg -s $name"
When I type the command in a terminal it works fine (substituting "rc0" for "$name"), in fact, my work around is to run it as a cron job @reboot.
I did not write the rule, it came with ir-keytable as did rc_maps.cfg. The rc_maps.cfg is correct. I have tried editing the $name completely out and changing it to rc0. It has the same owner and permissions as all of the other udev rules and the same as rc_maps.cfg (root, 0644). Ir-keytabe is root,0744.
rc0 is gpio-ir receiver.
Raspbian Desktop June 2018
Any ideas why? Maybe change it to 99, so it comes after 99-systemd.rules?