Recalbox Forum

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

    Problem using the On/Off power button option in Recalbox 8

    Recalbox General
    onoff button option recalbox
    4
    9
    362
    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.
    • ChrisK
      ChrisK last edited by

      Hi,

      Can anyone confirm that the On/Off power button option is working with the latest Recalbox v8 running on a Pi 4?

      I've uncommented the "system.power.switch=PIN56PUSH" line in the recalbox.conf file and rebooted, but grounding the GPIO3 pin has no effect. Also when I list running processes I cannot see the "rpi-pin56-power.py" script; is there something else I need to do to enable the startup of this script during boot?

      Zing renvert 2 Replies Last reply Reply Quote 0
      • Zing
        Zing Global moderator Translator @ChrisK last edited by

        @chrisk See if this helps:
        https://forum.recalbox.com/topic/25548/recalbox-reboot-au-lieu-de-s-arreter

        Se a minha resposta foi útil, por favor, dê um voto positivo, clicando na seta para cima logo abaixo da resposta, ao lado de "citar".
        If my answer was helpful, please give a positive feedback by clicking the up arrow below the answer, next to "quote".

        ChrisK 1 Reply Last reply Reply Quote 0
        • ChrisK
          ChrisK @Zing last edited by

          @zing Thanks, I've read that thread but can't see anything that will help my problem.

          It looks as if the script that monitors the button isn't being launched.

          Zing 1 Reply Last reply Reply Quote 0
          • Zing
            Zing Global moderator Translator @ChrisK last edited by

            @chrisk Check that you have followed all instructions correctly:
            https://wiki.recalbox.com/en/tutorials/others/add-on-off-button-to-your-recalbox

            Se a minha resposta foi útil, por favor, dê um voto positivo, clicando na seta para cima logo abaixo da resposta, ao lado de "citar".
            If my answer was helpful, please give a positive feedback by clicking the up arrow below the answer, next to "quote".

            ChrisK 2 Replies Last reply Reply Quote 0
            • ChrisK
              ChrisK @Zing last edited by

              @zing I reinstalled Recalbox 8 on a blank SD card, uncommented the "system.power.switch=PIN56PUSH" line, and rebooted, but the power button still didn't work.

              However, it worked fine when I tried the same with Recalbox 7.

              It does look as if, for some reason, the power button monitoring script isn't getting launched on Recalbox 8.

              1 Reply Last reply Reply Quote 0
              • ChrisK
                ChrisK @Zing last edited by

                @zing Also I just SSH'ed into my box and tried running the rpi-pin56-power.py script manually. It gave a syntax error due to missing parentheses in print statements. Is Recalbox 8 set to use python3 while the scripts were written for python2?

                1 Reply Last reply Reply Quote 0
                • Pitch64
                  Pitch64 Staff last edited by

                  This is a bug already fixed for the next version 🙂

                  Pi4 8gb / Alim off / HDD 4To / Argon one v1 / Dernière/Last beta
                  GPD Win Max / Dernière/Last beta
                  Next release? Soon™

                  ChrisK 1 Reply Last reply Reply Quote 0
                  • ChrisK
                    ChrisK @Pitch64 last edited by

                    @pitch64 Thanks for confirming it is a bug.

                    1 Reply Last reply Reply Quote 0
                    • renvert
                      renvert @ChrisK last edited by

                      @chrisk Hi, I had the same problem. Worked perfectly fine until update to 8.0. Seems to be fixed in 8.0.2 now 🙂

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

                      Want to support us ?

                      79
                      Online

                      90.3k
                      Users

                      26.3k
                      Topics

                      181.8k
                      Posts

                      Copyright © 2021 recalbox.com