Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Kodi 17 IR Remote

    MediaCenter & Dualboot
    kodi remote
    3
    8
    1807
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DiZ91
      DiZ91 last edited by

      Hey. I can’t set up IR Remote on a new version of Recalbox. In the latest version for 2018, everything worked fine

      1 Reply Last reply Reply Quote 0
      • fonzman
        fonzman last edited by fonzman

        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?

        paradadf 1 Reply Last reply Reply Quote 0
        • fonzman
          fonzman last edited by

          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!

          1 Reply Last reply Reply Quote 0
          • paradadf
            paradadf Staff @fonzman last edited by

            @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.

            If your question was answered, please mark it as solved: Topic Tools -> Ask a question + Topic Tools -> Mark as Solved

            1 Reply Last reply Reply Quote 0
            • fonzman
              fonzman last edited by fonzman

              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 Appleremote

              only 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 started

              But 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
              paradadf 1 Reply Last reply Reply Quote 0
              • paradadf
                paradadf Staff @fonzman last edited by paradadf

                @fonzman would you mind creating a Merge Request (MR) on gitlab to add those missing parameters by default?

                https://gitlab.com/recalbox/recalbox/blob/master/board/recalbox/fsoverlay/recalbox/scripts/kodilauncher.sh#L49

                If your question was answered, please mark it as solved: Topic Tools -> Ask a question + Topic Tools -> Mark as Solved

                fonzman 1 Reply Last reply Reply Quote 0
                • fonzman
                  fonzman @paradadf last edited by

                  @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?

                  https://gitlab.com/recalbox/recalbox/blob/master/board/recalbox/fsoverlay/recalbox/scripts/kodilauncher.sh#L49

                  done

                  paradadf 1 Reply Last reply Reply Quote 0
                  • paradadf
                    paradadf Staff @fonzman last edited by

                    @fonzman great, thank you.

                    If your question was answered, please mark it as solved: Topic Tools -> Ask a question + Topic Tools -> Mark as Solved

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post

                    Want to support us ?

                    77
                    Online

                    99.6k
                    Users

                    28.1k
                    Topics

                    187.1k
                    Posts

                    Copyright © 2021 recalbox.com