For this to work all previous autostart.sh scripts and .config/lircd.conf files needs to be removed!
You need to have a IR Receiver connected thru GPIO on your RPI of course.
Here is a guide for that: http://aron.ws/projects/lirc_rpi
You need to add the following to
You can easily add your own remote to a
lircd.conf by running
First you need to kill the running lircd process:
You might need to run:
ir-keytable -p LIRC
Then start irrecord thelling it were to create the new config file:
Follow the on screen instructions...
Remember that you need to use the new KEY_ map names for it to work, like
KEY_POWER and so on.
When you are done you need to reboot you system for it to start working in XBMC.
You can run
irw to see if you get any input at all:
Start pushing buttons.
If you don't see any output your remote is not supported.
You can still create or add a custom
.config/lircd.conf for it though.
Joust remember that it needs to have the new KEY_ lirc map names. like this:
If your remote Repeats to much you can limit repeats like this.
cp /etc/lirc/lircd.conf.rpi /storage/.config/lircd.conf
Then change the line in that file thats saying: suppress_repeat 4 to suppress_repeat 6 or something in your remotes section.
Then reboot and see if its better...
After reboot you can joust run:
killall -HUP lircd
To reload the config after future edits.
You can also disable repeats completely by adding this to your
killall eventlircd eventlircd --evmap=/etc/eventlircd.d --socket=/var/run/lirc/lircd --release=_UP --repeat-filter
This will disable repeats. If you hold a button only one press will be registered.
GPIO hardware guide: http://aron.ws/projects/lirc_rpi