RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    HDMI CEC remote support

    Scheduled Pinned Locked Moved Help and Support
    8 Posts 4 Posters 11.6k Views
    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.
    • F
      fmemon
      last edited by

      I've been trying unsuccessfully to control retro pie using HDMI CEC, mostly using https://github.com/bramp/libcec-daemon. It has a lot of weird issues. Just wondering if anyone has had luck with using CEC?

      mediamogulM 1 Reply Last reply Reply Quote 1
      • mediamogulM
        mediamogul Global Moderator @fmemon
        last edited by mediamogul

        @fmemon

        In what capacity are you looking to utilize CEC? Are you looking to navigate Emulation Station's menus, KODI support (which should be inherent), or are you looking to play games with your TV remote? The latter I wouldn't recommend, but I have to admit it'd be fun to see it in action.

        Edit: Also, what weird issues are you running into?

        RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

        1 Reply Last reply Reply Quote 0
        • F
          fmemon
          last edited by

          Mostly just to navigate Emulation Station menus, though playing a game with a remote would be pretty cool. Kodi works fine with the built in CEC support.

          1 Reply Last reply Reply Quote 0
          • mediamogulM
            mediamogul Global Moderator
            last edited by mediamogul

            Well, as you might guess, this isn't something that people come around asking for all that often, but there does seem to be a few people who have worked to tailor this to Emulation Station and even the emulators themselves.

            http://blog.recalbox.com/forums/topic/my-setup-and-perhaps-some-inspiration-for-new-recalbox-functionality/

            This guy took you're approach by using 'libcec-daemon' and based on his demo video, seems to have accomplished everything you're looking to do. He offers up a full disk image, which is a little unconventional for this type of thing, but you should be able to poke around in all the places you're already familiar with and compare your work.

            https://github.com/CeRiAl/EmulationStation

            This project chose to add a custom SDL event for CEC and alter Emulation Station in accordance. While I imagine this approach is possible within RetroPie, it won't come without a few obstacles as you would have to adapt their work to the many unique intricacies found within RetroPie, such as variances in SDL implementations, not to mention integrating their ES into a very particular environment designed to work a certain way.

            Anyway, I hope this can at least get you started and if you do continue with this, drop a line every so often and let us know how it's going. It seems like a really cool project.

            RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

            1 Reply Last reply Reply Quote 1
            • R
              robertybob
              last edited by

              @fmemon

              There's now https://github.com/dillbyrne/es-cec-input

              1 Reply Last reply Reply Quote 2
              • N
                Nickelino
                last edited by Nickelino

                Has anybody got it work?

                I'm trying it on Ubuntu 16.04 Desktop and i can't get it work.

                After I start the es-cec-input.py in the Terminal I got this output:

                Traceback (most recent call last):
                File "RetroPie/es-cec-input.py", line 190, in <module>
                main()
                File "RetroPie/es-cec-input.py", line 182, in main
                press_keys(lines.next(), device, keylist)
                StopIteration

                Is this normal?

                Greetings

                Nicke

                R 1 Reply Last reply Reply Quote 0
                • R
                  robertybob @Nickelino
                  last edited by

                  @Nickelino

                  Maybe it's not x86 compatible? Has anyone tried this on a Pi?

                  1 Reply Last reply Reply Quote 0
                  • N
                    Nickelino
                    last edited by

                    @robertybob
                    that could be an explanation why it doesn't work if it's only developed for the RPi.

                    I'm using the PulseEight-CEC-Adapter ( https://www.pulse-eight.com/p/104/usb-hdmi-cec-adapter ) in a Zbox Nano CI320 with 8GB RAM and 64 GB Sandisk SSD and Ubuntu 16.04 Desktop amd64 as operating system.

                    Would be nice if we get it Work on RetroPie x86. The CEC-function is one of the missing functions in my Box. In Kodi does it work. My system is configurated to stop Kodi if another windowed application like emulationstattion is getting startet, so the adapter shouldn't be used by Kodi anymore before emulationstation appears.

                    Can anybody tell me the meanings of the throwed exceptions in my pervious post and how to troubleshoot them?

                    Greetings

                    Nicke

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

                    Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                    Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.