RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Nespi case plus safe shutdown question/issue

    Scheduled Pinned Locked Moved Help and Support
    nespi case +nespi case plusnespicase+casessafe shutdown
    15 Posts 4 Posters 8.7k Views
    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.
    • C
      codecomp @almulder
      last edited by

      @almulder I'm pretty sure there were 6 wires in the 10 pin block. I recall pin 2, 6, 9, 10 being blank off the top of my head. And yeah I installed the script via that command, then double checked al the actions of that shell file to make sure they had worked, which they seem to have done.

      The USB is also plugged into the top left port which I saw some notes online saying was necessary for the older model (top left not plugging in)

      1 Reply Last reply Reply Quote 0
      • A
        almulder
        last edited by

        Odd I got the Case+ and installed the script, turned the switch selector switch to on and it just started working. (USB port plug should not matter, as I have moved mine to different slots when pulling it out and putting it back during testing.)
        Did you create the image of your SD card from scratch or used a premade one?

        C 1 Reply Last reply Reply Quote 0
        • C
          codecomp @almulder
          last edited by

          I just went to the downloads page and clicked the big red 2/3 download button and burnt it into a new formatted SD card with Win32DiskImager. I didn't want to try starting with loading it on top of Raspbien with my first install.

          It is sounding like a hardware issue more and more. The only working source I've found is a short video after someone stick their pi in the case and said "Look you can turn it on/off with this button" but skipped over the script install.

          My debugging just threw me for a loop as I could not work out the logic of how that power button should work. Passing power through on activation but labelling power as a button and the actual power button as a LED. I thought one of the wired might be going to the wrong pin when I was able to get power off working by changing the LED pin to a button. But while the shutdown command worked, powering back on would not without unplugging and plugging back in the cable.

          cyperghostC 1 Reply Last reply Reply Quote 0
          • A
            almulder
            last edited by

            post your script you have installed from your pi. (SSH would be the easiest way to copy and paste)

            1 Reply Last reply Reply Quote 0
            • A
              almulder
              last edited by

              also make sure that in /etc/rc.local that the SafeShutdown is listed. should look somehting like this

              # By default this script does nothing.
              
              # Print the IP address
              _IP=$(hostname -I) || true
              if [ "$_IP" ]; then
                printf "My IP address is %s\n" "$_IP"
              fi
              
              "/opt/retropie/supplementary/retropie-manager/rpmanager.sh" --start --user pi 2>&1 > /dev/shm/rpmanager.log &
              sudo python3 /opt/RetroFlag/SafeShutdown.py &
              dmesg --console-off
              exit 0
              
              1 Reply Last reply Reply Quote 0
              • cyperghostC
                cyperghost @codecomp
                last edited by

                @codecomp please check your rc.local first. Then is the LED blinking over boot process? It is just a bit flickering during the first few seconds then it glows solid.

                @mitu look at the process how they call the commands. A sudo call in rc.local .... And later they make sudo shutdown calls. So 3 time superuser (it is like a cinema with all superhumans in one film... The Avengers: Mission RetroPie) ... So it can be true that the vendor did not create the script at his own ;)

                1 Reply Last reply Reply Quote 0
                • C
                  codecomp
                  last edited by

                  The rc.local contains the expected sudo python 3 call to the SafeShutdown.py script. Thought I'd mentioned that before but must have been part of my deleted ramblings, whoops. But I did verify the install process did do it's job best I could.

                  The LED however does not blink on boot, just goes strait to solid. Tested again with the board set to on and off in case of faulty wiring just to be sure.

                  1 Reply Last reply Reply Quote 0
                  • HurricaneFanH
                    HurricaneFan
                    last edited by HurricaneFan

                    I just got the new superpi snes case from retroflag and my safe shutdown doesn't work either.

                    Script used:
                    wget -O - "https://raw.githubusercontent.com/RetroFlag/retroflag-picase/master/install.sh" | sudo bash

                    Switch on pcb is set to on.

                    Pi 3B+
                    Running 4.4 updated all packages

                    Edit: I do have a fan in my case using 3.3v power using gpio pins.

                    Any idea on what to try to fix this?

                    1 Reply Last reply Reply Quote 0
                    • A
                      almulder
                      last edited by

                      Did you get it working? if not post the contents of this file. /etc/rc.local

                      HurricaneFanH 1 Reply Last reply Reply Quote 0
                      • HurricaneFanH
                        HurricaneFan @almulder
                        last edited by

                        @almulder Yeah, its working now. @cyperghost found a fix for the 3B+.

                        https://retropie.org.uk/forum/topic/19248/retroflag-snes-case/22

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

                        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.