Recalbox Forum

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

    Nespi Case+/ safe shutdown installed / power and reset buttons not working at all

    Recalbox General
    nespi case safe installed reset
    5
    12
    2982
    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.
    • yeeshkul
      yeeshkul last edited by yeeshkul

      I do need to install the script. The Nespi Case+ page sais so.
      See the link
      http://download.retroflag.com/

      Scavy paradadf 2 Replies Last reply Reply Quote 0
      • Scavy
        Scavy Global moderator @yeeshkul last edited by Scavy

        @yeeshkul hi
        Go in your recalbox.conf file, open it using notepad++, check the required line :

        # System Variable
        # You can configure your recalbox from here
        # To set a variable, remove the first ; on the line
        
        # ------------ A - System Options ----------- #
        #    Uncomment the system.power.switch you use
        ;system.power.switch=ATX_RASPI_R2_6      # http://lowpowerlab.com/atxraspi/#installation
        ;system.power.switch=MAUSBERRY           # http://mausberry-circuits.myshopify.com/pages/setup
        ;system.power.switch=REMOTEPIBOARD_2003  # http://www.msldigital.com/pages/support-for-remotepi-board-2013
        ;system.power.switch=REMOTEPIBOARD_2005  # http://www.msldigital.com/pages/support-for-remotepi-board-plus-2015
        ;system.power.switch=WITTYPI             # http://www.uugear.com/witty-pi-realtime-clock-power-management-for-raspberry-pi
        ;system.power.switch=PIN56ONOFF          # https://github.com/recalbox/recalbox-os/wiki/Add-a-start-stop-button-to-your-recalbox-(EN)
        ;system.power.switch=PIN56PUSH           # https://github.com/recalbox/recalbox-os/wiki/Add-a-start-stop-button-to-your-recalbox-(EN)
        ;system.power.switch=PIN356ONOFFRESET    # https://github.com/recalbox/recalbox-os/wiki/Add-a-start-stop-button-to-your-recalbox-(EN)
        ;system.power.switch=PIN356PUSHRESET     # https://github.com/recalbox/recalbox-os/wiki/Add-a-start-stop-button-to-your-recalbox-(EN)
        

        line 14 : simply remove the ";" in front on the pin356ONOFFRESET

        Save your file, and that's all.

        Don't forget recalbox is an operating system !

        • RPi0w : GPi Case
        • RPi4-2Go : Nespi4case - SN30 pro+ & PS3 DualShock pads - Logitech M170 (BT) keyboard/mouse set
        • Odroid Go Advance & Go Super
        • PC : CPU i5 core 2.8/3.4 GHz - GPU GeForce 850M - RAM 8Go DDR3L
        yeeshkul 1 Reply Last reply Reply Quote 0
        • paradadf
          paradadf Staff @yeeshkul last edited by

          @yeeshkul I really don't understand this kind of attitude. You already tried it and it didn't work as expected. You get new instructions and you don't want to believe it.

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

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

            @paradadf I did try without the script and it didn't work. Both buttons were completely irresponsive. I installed the script - which installed well - and there was no change.

            Why would i believe something that is not even explained, when the RetroFlag company itself directs people to install the script.

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

              @Scavy Thank you, i will try this 🙂

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

                @yeeshkul I gave you the same instructions as scavy.
                And you are in recalbox forum... so you better believe what recalbox people tell you or you should ask retroflag directly.

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

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

                  @paradadf I see, i am sorry, i must have missread your post. Thank you 🙂

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

                    My personal recommendation is to use this version of the script, to use the reset button to reset game/exit emulator/restart emulation station.

                    https://github.com/crcerror/retroflag-picase

                    Quick Press on Game, will reset the game only
                    Long Press on Game, will quit the emulator

                    ""
                    Multi Switch Shutdown

                    with advanced shutdown features for more natural behaviour:

                    If you press restart if emulator is currently running, then you will be kicked back to ES main menu
                    If you press restart in ES main screen, ES will be restartet (no reboot!), good for quick saving metadata or internal saves.
                    If you press power-off then Raspberry will shutdown

                    All metadata is always saved
                    ""

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

                      @antoni Does this script require to unflag the corresponding line in the recalbox config too? or we add the script only?

                      What i m looking for is a script that can shut down the fan of the nespi4 when it turns off the raspberry. The fan never goes off.

                      antoni 1 Reply Last reply Reply Quote 0
                      • antoni
                        antoni @asturur last edited by antoni

                        @asturur

                        Follow the instructions on this page, be sure that you enable the internal <Safe Shutdown> switch.
                        https://github.com/crcerror/retroflag-picase

                        Can you try to run this on your recalbox

                        wget -O - "https://raw.githubusercontent.com/crcerror/retroflag-picase/master/install_recalbox.sh" | bash
                        

                        it must install the following files:

                        /opt/RetroFlag/recalbox_SafeShutdown.py
                        /opt/RetroFlag/recalbox_SafeShutdown.sh

                        /etc/init.d/S99RetroFlag check for the following line

                        python /opt/RetroFlag/recalbox_SafeShutdown.sh &
                        
                        

                        /boot/config check for the following lines

                        enable_uart=1
                        # Overlay setup for proper powercut, needed for Retroflag cases
                        dtoverlay=gpio-poweroff,gpiopin=4,active_low=1,input=1
                        
                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Want to support us ?

                        90
                        Online

                        99.6k
                        Users

                        28.1k
                        Topics

                        187.1k
                        Posts

                        Copyright © 2021 recalbox.com