Edited by jpascher at 2017-5-15 17:59
It is exactly as explaned here by jerney, exept in my case i had to use a different modul sunix-cir. My board is a orangepipc+ and with Armbian as basis for OPENelec.
Se also this thread i posted about LIRCD and IR
https://forum.armbian.com/index. ... ceive-ir-with-lirc/
OPENelec. Kodi version is 15.1 i got it working with keyboard and IR remote. Worse drawback no VNC possible, since there is no normal desktop root login. Speed of Videos was a lite bit better. Remote control a bit easier to set up as on Armbin desktop. Uses also Lirc and ir_keytable. Kernal Modul for ir (modeprobe sunix-cir) must be loaded first by editing /storage/.config/autostart.sh lircd.conf is on a different place in /storage/.config/lircd.conf Lircmap.xml is on the same place as with Armbian installation. One can find everything in the OPENelec wiki. How to setup ssh, how to edit autostart.sh and how remots can be setup. Note: In the wiki the circumstance that the IR modul mast be loaded via autostart.sh is not mentioned! Also missing is an explanation how lircd.conf and Lircmap.xml should link to each other. It is also possible to have multiple remotes as well in the Arrmbian or in the OPENelec. How? Make more as one lircd.conf file for each Remote control you want to use. Rename each file. Make a new lircd.conf file that contains only the includes for the other files. include "./lircd.conf.remotename" include "./lircd.conf.remotename2" Replace one line i each lircd.conf.remotename: name /storage/.config/lircd.conf to name yourremotenamex the name of your remote. This name must have a representation in the Lircmap.xml find / -name Lircmap.xml #find the location of a template-file that makes the final key mapping for kodi)
cp /usr/share/kodi/system/Lircmap.xml /storage/.kodi/userdata/Lircmap.xml #copy the template to your user directory If only one lirc.conf is used: sudo sed -i s#'</storage/.config/lircd.conf>'#'<yourremotenamex>'# /storage/.config/lircd.conf # Replace the Name of your remote in lircd.config to yourremotenamex or what you want. sudo sed -i s#'<remote device="mceusb">'#'<remote device="yourremotenamex">'# /storage/.kodi/userdata/Lircmap.xml # Also adapt the name to the same name in Lircmap.xml If there are more as one remote in use Lircmap.xml mast have a section for each remote that looks simmilar exept the name has to cerespond to the name userd in the individual lircd.conf.remotename.
PS: I did not compare the android version of kodi on orangepipc+
Newer versions of kodi like 17.1 would be appricaitd, dont know if there is allready an OPENelec with the 17.1 or 18 alfa.
I would like to find a way to use VNC as i can if kodi is installed just with the desktop of the armbian Image. Unfortunately the Desktopversion is also an old 15.1 kodi and no h/w exaleration. So it is to slow.
|