Raspberry Pi 4

For information, Recalbox IS NOT compatible with Raspberry Pi 4 yet.
Pour information, Recalbox N'EST PAS encore compatible avec le Raspberry Pi 4.

The Recalbox Team.

HDMI CEC Control?



  • I was wondering what the possibilities would be for integrating GUI navigation in Recalbox via a TV remote over HDMI CEC? I was delighted to discover my TV remote works when I boot up Kodi through Recalbox, but currently I still need my joypad to load Kodi - would help me (and my less computer-literate girlfriend) if we could use our TV remote in both just for simple navigation functions! It's a luxury thing but it would be cooooool :D


  • Staff
    Team

    Hello indeed this could be a great feature. An issue is open on the recalbox's github. Recalbox is using emulationstation as frontend, so the modification must be done directly on this software. But if you want to load Kodi without your gamepad. You can boot Kodi on the recalbox startup. You have juste to edit your recalbox.conf.



  • Aha, yes I had only just discovered the github. I will look into booting Kodi on startup too. Thanks!



  • Has this been implemented yet? It would be great if we could use the TV remote over HDMI CEC to control the recalbox menus.



  • Sup Guys. Sorry for the necrobumping here. My TV supports HDMI-CEC, and when I turn on the Raspberry PI with the TV on standby, the TV is also turned on "magically" :)

    However, since the github issue does not exist, I ask: Is there a configuration i can do to send "cec standby" while powering off Recalbox? (power off is being done by GPIO5+6 push button).



  • OK. Gotta get this thing working so, i've made a custom.sh for this.

    1 - Create the /recalbox/share/system/custom.sh script
    2 - Enable executable bit with chmod +x /recalbox/share/system/custom.sh
    3 - vi /recalbox/share/system/custom.sh and paste the following contents on it:

    #!/bin/bash
    recallog "Custom.sh to handle cec-client tv standby"
    case "$1" in
            stop)
                    recallog "Turn off the TV"
                    echo standby 0 | cec-client -s -d 1 &
            ;;
            *)
                    recallog "Do nothing. custom.sh will only execute during shutdown"
    esac
    exit $?
    

    @Bkg2k , @paradadf . What do you think of a specific daemon to deal with this and read a recalbox.conf parameter(something like global.video.autooff=1) ? I think i could do it :)


Log in to reply
 

Want to support us ?

160
Online

58582
Users

18400
Topics

138480
Posts

Looks like your connection to Recalbox Forum was lost, please wait while we try to reconnect.