Recalbox Forum

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

    Safe Shutdown not working - NESPi 4 case

    Recalbox General
    safe nespi case
    6
    11
    3155
    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.
    • Scavy
      Scavy Global moderator @lhari84 last edited by

      @lhari84 hello

      https://forum.recalbox.com/topic/24395/recalbox-v7-2-1-nespi4case-installation-tutorial?_=1641069647508

      On the 8.0 version, i can't install the case. I can change just the case=Nespi4case:1 line and it works but... the power button manage to activate the safeshutdown but doesn't stop the power. (the fan is still activated)

      • 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
      lhari84 2 Replies Last reply Reply Quote 0
      • lhari84
        lhari84 @Scavy last edited by

        @scavy Hello

        Ok thanks, so this is a known issue?
        I have followed the RB changlogs for a long time and it showed up many entries suggesting the case works properly, too bad it does not, I really thought it would.

        Now I have added the case=NESPi:1 line but same situation as you wrote: RB shuts down safely, but Pi will not power off.

        What I do not understand so far, is this case working properly in any other constellation? For example if using microSD instead of SSD?

        Completely different question:
        Do you think the Pi4 will be ok without a fan, just a (small) heatsink? My case has been delivered without ANY cooling solution, so I put a heatsink on CPU and placed a fan in the case, that was delivered with an older Retroflag Pi3-case in the past. The fan fits well, but the noise drives me crazy... 😨

        Pi 4:
        Sony DualShock 4 (2nd gen), 8BitDo Pro 2, 8BitDo SF30 PRO, Retroflag SUPERPi 4 Case, Recalbox 9.0

        Pi Zero 2W:
        GPi Case 2W, Recalbox 9.0

        woife 2 Replies Last reply Reply Quote 0
        • woife
          woife @lhari84 last edited by

          @lhari84 I experienced the same error.

          As far as I understand the script which is responsible for handling the buttons is not compatible with the python version in Recalbox 8.0. This is a known issue: https://gitlab.com/recalbox/recalbox/-/issues/2067

          There are two merge requests that should solve it:

          • https://gitlab.com/recalbox/recalbox/-/merge_requests/2072
          • https://gitlab.com/recalbox/recalbox/-/merge_requests/2083

          With version 7.2 it worked out of the box, with version 8.0 it only works if I apply the changes from the merge requests. I have tested it on an RPi3 in a NESPi+ case and on an RPi4 in a NESPi4 case.

          lhari84 jor2404 2 Replies Last reply Reply Quote 0
          • woife
            woife @lhari84 last edited by

            @lhari84 said in Safe Shutdown not working - NESPi 4 case:

            Completely different question:
            Do you think the Pi4 will be ok without a fan, just a (small) heatsink? My case has been delivered without ANY cooling solution, so I put a heatsink on CPU and placed a fan in the case, that was delivered with an older Retroflag Pi3-case in the past. The fan fits well, but the noise drives me crazy... 😨

            I have a GeekPi heat sink in both cases mentioned above, and it does a good job: https://thepihut.com/products/raspberry-pi-4-extreme-cooling-heat-sink-fan-kit

            It can be connected to either 3V or 5V. I choose 3V. This way it is really silent and still keeps the Pi cool enough (tested e.g. with playing Dreamcast games on the Pi4 in the NESPi 4 case).

            1 Reply Last reply Reply Quote 0
            • lhari84
              lhari84 @woife last edited by

              @woife Sounds good, so I will wait for the fix to start over with the Pi4 Case then.
              Further I will not upgrade my good old SuperPi Case with Pi 3B+ to 8.0 for now, as you have mentioned the older generation unfortunately is affected too.

              Regarding the cooler, thanks for the info. I have thought about ordering this one, but was not sure it would fit and if it's more silent. Now I know 👍

              Pi 4:
              Sony DualShock 4 (2nd gen), 8BitDo Pro 2, 8BitDo SF30 PRO, Retroflag SUPERPi 4 Case, Recalbox 9.0

              Pi Zero 2W:
              GPi Case 2W, Recalbox 9.0

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

                @scavy Hi,

                Now, after updating to 8.0.1, I still can't get it working. Is there anything I should/can do?
                Both methods case=Nespi4case:1 overwriting and system.power.switch=... (common activation paramater in recalbox.conf) will not work.
                Same as with 8.0, system will shutdown, but NESPi 4 case will not power off.

                Changelog does not specify which Retroflag cases have been fixed, maybe NESPi 4 is not yet?

                Pi 4:
                Sony DualShock 4 (2nd gen), 8BitDo Pro 2, 8BitDo SF30 PRO, Retroflag SUPERPi 4 Case, Recalbox 9.0

                Pi Zero 2W:
                GPi Case 2W, Recalbox 9.0

                MickLaBrique 1 Reply Last reply Reply Quote 0
                • MickLaBrique
                  MickLaBrique @lhari84 last edited by

                  @lhari84 Hi

                  Try this :
                  https://forum.recalbox.com/topic/23588/problème-configuration-safe-shutdown-avec-le-nespi-4-case

                  It worked fine for my Nespi4 case. 🙂

                  lhari84 1 Reply Last reply Reply Quote 1
                  • lhari84
                    lhari84 @MickLaBrique last edited by

                    @micklabrique
                    Thank you so much, my missing piece was the following modification 🙂 :

                    mount -o remount,rw /boot
                    echo "# Overlay setup for proper powercut, needed for Retroflag cases" >> /boot/config.txt
                    echo "dtoverlay=gpio-poweroff,gpiopin=4,active_low=1,input=1" >> /boot/config.txt
                    shutdown -r now

                    Pi 4:
                    Sony DualShock 4 (2nd gen), 8BitDo Pro 2, 8BitDo SF30 PRO, Retroflag SUPERPi 4 Case, Recalbox 9.0

                    Pi Zero 2W:
                    GPi Case 2W, Recalbox 9.0

                    1 Reply Last reply Reply Quote 0
                    • jor2404
                      jor2404 @woife last edited by

                      @woife said in Safe Shutdown not working - NESPi 4 case:

                      @lhari84 I experienced the same error.

                      As far as I understand the script which is responsible for handling the buttons is not compatible with the python version in Recalbox 8.0. This is a known issue: https://gitlab.com/recalbox/recalbox/-/issues/2067

                      There are two merge requests that should solve it:

                      • https://gitlab.com/recalbox/recalbox/-/merge_requests/2072
                      • https://gitlab.com/recalbox/recalbox/-/merge_requests/2083

                      With version 7.2 it worked out of the box, with version 8.0 it only works if I apply the changes from the merge requests. I have tested it on an RPi3 in a NESPi+ case and on an RPi4 in a NESPi4 case.

                      Hi.

                      I read those threads and I dont know what I have to do.
                      Could anyone explain it for somebody that has not high kwoledges.

                      The original script was installed by me just pasting a line gave in retroflag’s web in the consolé

                      Thanks in advance.

                      Scavy 1 Reply Last reply Reply Quote 0
                      • Scavy
                        Scavy Global moderator @jor2404 last edited by

                        @jor2404 for the NesPi4Case :
                        1/ Connect the Pi4 to the case and activate the safeshutdown button. Use the case manual to install it correctly.
                        2/ Install recalbox 8.0.2 if not done lol
                        3/ Connect your Recalbox to the internet. Connect in SSH. Authorize partition boot writting with this command : mount -o remount,rw /boot.
                        In the boot part look for the recalbox-boot.conf file. Open it.
                        Look for the case=none:1 line. Change it by case=NESPi4:1.
                        Save the changes.
                        4/ Still in the boot part look for the recalbox-user-config.txt file. At the end of the file, add this line : dtoverlay=gpio-poweroff,gpiopin=4,active_low=1,input=1
                        Save the changes.
                        5/ Reboot, your NesPi4Case is totally operationnal 🙂

                        • 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
                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Want to support us ?

                        73
                        Online

                        99.6k
                        Users

                        28.1k
                        Topics

                        187.1k
                        Posts

                        Copyright © 2021 recalbox.com