Kodi 17 IR Remote
-
Hey. I can’t set up IR Remote on a new version of Recalbox. In the latest version for 2018, everything worked fine
-
I also have a problem with my IR remote.
I made all the preparations (which work fine in Recalbox 4.1 with Kodi 16.1):
dtoverlay=lirc-rpi in /boot/config.txt is active
/recalbox/share/system/.config/lirc/lircd.conf exists
irw recognizes my IR inputs
/recalbox/share/system/.kodi/userdata/keymaps/remote.xml is the default from Kodi 17.6
/recalbox/share/system/.kodi/userdata/Lircmap.xml did not change since upgrade (and thus should work)Still, Kodi ignores my IR remote. Is it possible that the Kodi-Version on 6.0 DragonBlaze was compiled without IR support?
-
Just analyzed my kodi.log from 16.1 vs. 17.6 and found this:
in Kodi 16.1 this is present:
14:03:48 T:1836053472 INFO: LIRC Process: using: /var/run/lirc/lircd
14:03:48 T:1836053472 INFO: LIRC Connect: successfully started...but missing from Kodi 17.6
Seems 17.6 is actually missing/not looking for the LIRC/IR driver! -
@fonzman remote.xml is, afaik, only responsible for the cec mapping, not lirc. I recently did a MR deleting that custom xml file completely as it will easily get outdated between releases.
Thi instructions might be outdated though:
https://github.com/recalbox/recalbox-os/wiki/Infra-red-remote-control-on-the-Recalbox-(EN)Please check in the kodi wiki or tutorials which files should be addressed and compare with the one in recalbox.
-
Thank you paradadf, I know this faq.
I followed it some time ago when I configured lirc for Kodi 15 (back with recalbox 3.x or 4.0?), and made updates to Kodi 16.2 (with recalbox 4.1).
As I said, buildroot OS is recognizing my IR inputs also in Recalbox 6.0.
See this from my current setup:
irw
0000000077e1d0e4 00 KEY_UP Appleremote
0000000077e1d0e4 01 KEY_UP Appleremote
0000000077e1b0e4 00 KEY_DOWN Appleremote
0000000077e1b0e4 01 KEY_DOWN Appleremote
0000000077e1e0e4 00 KEY_RIGHT Appleremote
0000000077e1e0e4 01 KEY_RIGHT Appleremote
0000000077e110e4 00 KEY_LEFT Appleremote
0000000077e110e4 01 KEY_LEFT Appleremote
0000000077e110e4 02 KEY_LEFT Appleremote
0000000077e120e4 00 KEY_PLAY Appleremote
0000000077e120e4 01 KEY_PLAY Appleremote
0000000077e140e4 00 KEY_MENU Appleremote
0000000077e140e4 01 KEY_MENU Appleremoteonly in Kodi no button presses are registered. And as I wrote in my last post, Kodi 16.2 (on Recalbox 4.1) has these 2 lines in the kodi.log:
14:03:48 T:1836053472 INFO: LIRC Process: using: /var/run/lirc/lircd
14:03:48 T:1836053472 INFO: LIRC Connect: successfully startedBut they are missing from the kodi.log in Kodi 17.6 under Recalbox 6.0!For me it seems Kodi starts without LIRC support. Can I somehow enable it? What does Recalbox exactly do when I press "Start Kodi" in the emulationstation-menu?SOLVED!!
On Recalbox 6.0 Kodi 17.6 does ACTUALLY start without IR support! To rectify this, follow these steps:
- ssh to your recalbox
- make your system writeable with mount -o remount,rw /
- edit line 49 in /recalbox/scripts/kodilauncher.sh to look like this (changes are bold):
LD_LIBRARY_PATH="/usr/lib/mysql" /usr/lib/kodi/kodi.bin --standalone -fs --lircdev /var/run/lirc/lircd - restart
-
@fonzman would you mind creating a Merge Request (MR) on gitlab to add those missing parameters by default?
-
@paradadf said in Kodi 17 IR Remote:
@fonzman would you mind creating a Merge Request (MR) on gitlab to add those missing parameters by default?
done
-
@fonzman great, thank you.