Recalbox Forum

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

    Issues installing safe shutdown scripts for Nespi4 case

    Your recalbox
    nespi4 case
    3
    9
    779
    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.
    • RetrOkada
      RetrOkada last edited by

      Hi everyone,

      Recently I got the Nespi4 case from RetroFlag, and have installed my Pi 4 Model B into it.

      The issue I'm experiencing is that I can't seem to download the "Safe Shutdown" script.

      I followed the instructions from https://github.com/RetroFlag/retroflag-picase.

      I pressed F4, followed by Alt-F2, to go into the Terminal. I entered "root" and "recalboxroot" to login. I then entered the following command:

      wget -o - "https://raw.githubusercontent.com/RetroFlag/retroflag-picase/master/recalbox_install.sh" | bash

      Upon pressing Enter, I receive the output as shown in the image above. I hope it's clear enough; I attempted to photograph my monitor.

      Without the scripts, there is a red LED on the front of the case, and the power and reset buttons do seem to work. However, as I understand it, without the scripts, the buttons don't shut the system down cleanly.

      The switch inside the case is set correctly.

      I am using a fresh install of Recalbox, version 7.2.1.

      Does anyone have any suggestions as to what I could try?

      Many thanks for any help.![0_1620849540537_IMG_0162.HEIC](Uploading 0%)

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

        @retrokada Read this:

        • https://forum.recalbox.com/topic/24272/nespi4-case-redémarrage-et-safe-shutdown
        • https://forum.recalbox.com/topic/21842/7-0-1-toujours-problème-avec-nespi4case-ventilateur-ne-s-éteint-pas

        Note: It is not possible to see the image you claim to have posted, you must have done something wrong.

        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".

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

          @zing ![alt text]([image url](```
          link url

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

            @zing ![0_1620869084203_IMG_0162.HEIC](Uploading 0%)

            IMG_0162

            Sorry for the issues with the image, and the blank post. I am using a screen-reader due to a visual impairment, and it struggles with some of the page elements.

            Is the image shown here?

            ![0_1620869818304_IMG_0162.HEIC](Uploading 5%)

            RetrOkada 1 Reply Last reply Reply Quote 0
            • RetrOkada
              RetrOkada @RetrOkada last edited by

              @retrokada 3C75E4B9-7636-4BDF-B1DC-823B4E706636.jpeg

              Hopefully it is showing now. Again, sorry for the issues.

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

                @retrokada Hello,
                with the help of users, we found the origin of the nespi4case problem. I'll write a little tutorial this week end to install the 7.2.1 version using a nespi4case, with or without a HD/SSD connected.

                • 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
                RetrOkada 1 Reply Last reply Reply Quote 0
                • RetrOkada
                  RetrOkada @Scavy last edited by

                  @scavy

                  Oh okay brilliant☺️. Any chance you'd be able to reply here once you've written it?

                  Again, really appreciate the assistance.

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

                    @retrokada I'll write a french and an english posts. You'll find it don't worry ^^

                    • 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
                    • RetrOkada
                      RetrOkada last edited by

                      So, I was able to fix the issue, and the script is now working perfectly. Below, I will outline the steps I needed to take in the hope that it will prove helpful to anyone else who may be experiencing similar issues.

                      Firstly, it's worth double-checking the "Safe Shutdown" switch inside the case. In my previous post, I stated that it was set correctly; it wasn't. Turns out that I routed my cables poorly during my first assembly attempt, and this repositioned the switch, so definitely double-check that. There is, apparently, a really helpful diagram in the manual. However, for people like me who are unable to read it, there is an easy enough way to verify that the switch is set correctly. Set the case in front of you, with the SSD compartment and USB ports at the front, and the power, Ethernet etc ports at the back. Then ensure that the "Safe Shutdown" switch is positioned towards you. After I fixed my mistake, the script installed properly.

                      However, I then ran into another issue. The buttons on the front did invoke the script. Problem is that the system would crash before properly shutting down. The only way to break out was to pull the power cord. Luckily, a solution is offered in this Github issue:
                      https://github.com/RetroFlag/retroflag-picase/issues/101

                      Essentially, it's necessary to ensure that you have the correct firmware installed for the top case/SSD bay, Otherwise the script won't run correctly. There are separate firmware versions for booting from a Micro SD card and booting from an SSD. You need to use the firmware which matches your boot configuration. For example, if you're booting from a Micro SD card, it's necessary to ensure that the matching firmware is installed.

                      It seems that the process can only be carried out on a Windows machine; for me, a Windows VM was sufficient. You'll also need to first disconnect the top case from the Nespi4, and connect it to your computer.

                      The firmware can be downloaded from the following page. Just scroll down and select "Firmware Download":
                      http://www.retroflag.com/nespi-4-case.html

                      You'll end up with a zip file, which will need to be extracted. You'll then have a folder called "How_to_boot_from_SSD". Open this, followed by "Method 2 update firmware". Run the "FwUpdateTool_v1_19_16_24.exe" file, doesn't require installation. In the update tool, click the "Load File" button, and browse to the "Firmware" folder in the aforementioned directory.

                      This is the crucial bit, as you need to select the correct firmware according to your boot preference. If you want to boot from a Micro SD card, choose "JMS578_STD_v00.02.01.04_UAS.bin". If you want to boot from an SSD, choose "JMS578_STD_v00.02.00.09_NO_UAS.bin". Then click "Run", and wait a few seconds for the firmware to install. Click "OK", and safely remove the top case from the computer.

                      After connecting everything back together, the script should run without any problems. Just to be safe, I started with a fresh installation of Recalbox, and installed the script.

                      Of course, all of this may be thoroughly detailed in the manual; I wouldn't know.

                      Anyway, I hope that this is helpful to someone.

                      Cheers☺️.

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

                      Want to support us ?

                      74
                      Online

                      98.7k
                      Users

                      28.1k
                      Topics

                      187.0k
                      Posts

                      Copyright © 2021 recalbox.com