2014-04-03, 10:14
(2014-04-03, 01:39)herbieUK Wrote: Hi
I've spent most of this afternoon reading pages on the OE forum about getting an Apple TV remote to work in OpenElec. It's definitely possible and it uses NEC protocol.
I created a keytable to map the controls from the apple remote and put it in /storage.config - as suggested by the post here :
http://openelec.tv/forum/103-infared-rem...rk-with-oe
Then I added a line to my autostart.sh file
Everytime I reboot the i5 and enter
ir-keytable
via SSH, it shows
StartCode:Found /sys/class/rc/rc0/ (/dev/input/event9) with:
Driver nuvoton-cir, table rc-rc6-mce
Supported protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC other
Enabled protocols: RC-6
Repeat delay = 1000 ms, repeat period = 125 ms
End
When I enter
ir-keytable -p NEC, -w/storage/.config/apple
I get
StartCode:Read apple table
Wrote 7 keycode(s) to driver
Protocols changed to NEC
End
My autostart.sh file reads
StartCode:# RGB fix
DISPLAY=:0 xrandr --output HDMI1 --set "Broadcast RGB" "Full"
# IR fix
modprobe -r nuvoton-cir
echo "auto" > /sys/bus/acpi/devices/NTN0530\:00/physical_node/resources
modprobe nuvoton-cir
ir-keytable -p NEC,rc-6 -w/storage/.config/apple
End
Any help please or pretty please?
Your ir-keytable line in autostart.sh is different to the line you said appears to work at the commandline. (The autostart adds rc-6)