2015-03-06, 16:32
Well, seems like this is a timing issue. Not sure, wether Xorg or the rc.local script is timed wrong here, but anyway I fixed the issue by creating a custom udev rule for my ir-receiver:
in (a new file) /etc/udev/rules.d/99-ir.rules
which adds a default device /dev/pctv-remote for my IR receiver and executes ir-keytable so to make sure the new rules are loaded as soon as the device turns up.
if you want to try it too, you would have to find out the attributes/vendor information for your IR receiver and probably read a bit about udev rules. then just use the RUN+="..." part from above.
Just to recap: don't put your ir-keytable command in rc.local
in (a new file) /etc/udev/rules.d/99-ir.rules
Code:
SUBSYSTEMS=="input" ATTRS{name}=="em28xx IR (em28178 #0)" SYMLINK+="pctv-remote" RUN+="/usr/bin/ir-keytable -d /dev/pctv-remote -c -w /etc/rc_keymaps/mini-remote"
which adds a default device /dev/pctv-remote for my IR receiver and executes ir-keytable so to make sure the new rules are loaded as soon as the device turns up.
if you want to try it too, you would have to find out the attributes/vendor information for your IR receiver and probably read a bit about udev rules. then just use the RUN+="..." part from above.
Just to recap: don't put your ir-keytable command in rc.local