• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login

Retroflag NESPi Case - Soft Power & Reset Hack

Scheduled Pinned Locked Moved Projects and Themes
nespiretroflagsoft shutdowntutorial
151 Posts 38 Posters 91.1k 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.
  • Y
    Yahmez @Fernandike
    last edited by 3 Oct 2017, 03:04

    @fernandike download the newest version of the PDF. There is a link to pastebin pastes of the scripts in the updated PDF. Try using that instead of copying from the PDF.

    F 1 Reply Last reply 3 Oct 2017, 05:46 Reply Quote 0
    • Y
      Yahmez @DaminouTav
      last edited by 3 Oct 2017, 03:05

      @daminoutav glad you got it going!

      F 1 Reply Last reply 3 Oct 2017, 05:50 Reply Quote 0
      • F
        Fernandike @Yahmez
        last edited by 3 Oct 2017, 05:46

        @yahmez the one that says here? on the PDF?
        and wich one its ok the raw or the oder one. by the way i dont know how i fixed that problem on the gpio readall

        Y 1 Reply Last reply 4 Oct 2017, 19:31 Reply Quote 0
        • F
          Fernandike @Yahmez
          last edited by Fernandike 10 Mar 2017, 06:51 3 Oct 2017, 05:50

          @yahmez the guide its awesome. tnx for that. do you have any video showing how it works. i couldnt make it work i tried everithing Visual test ok hardware test ok software test seems to be ok but neither resets or soft shutdown works. it just kills the power right away. and on the hardware test waits a few seconds to shuts off

          Y 1 Reply Last reply 4 Oct 2017, 19:42 Reply Quote 0
          • Y
            Yahmez @Fernandike
            last edited by Yahmez 10 Apr 2017, 20:32 4 Oct 2017, 19:31

            @fernandike said in Retroflag NESPi Case - Soft Power & Reset Hack:

            @yahmez the one that says here? on the PDF?
            and wich one its ok the raw or the oder one. by the way i dont know how i fixed that problem on the gpio readall

            Correct. Either one from the pastebin is fine.

            1 Reply Last reply Reply Quote 0
            • Y
              Yahmez @Fernandike
              last edited by 4 Oct 2017, 19:42

              @fernandike said in Retroflag NESPi Case - Soft Power & Reset Hack:

              @yahmez the guide its awesome. tnx for that. do you have any video showing how it works. i couldnt make it work i tried everithing Visual test ok hardware test ok software test seems to be ok but neither resets or soft shutdown works. it just kills the power right away. and on the hardware test waits a few seconds to shuts off

              Try it with the pi not screwed down, just loose. The same happened to me when I screwed it down because the underside of the pi pinched the on control wire and was shorting it to ground. If that fixes it, be careful how you route this wire. Really if all the tests are good, the only thing it could be is the on control wire shorting to ground.

              I do not have a video of it but it works as described. Upon switching the power off, the pi shuts down, then in a couple seconds the NESPi case cuts power to the pi and the power LED on the case goes out.

              1 Reply Last reply Reply Quote 0
              • M
                MD500_Driver
                last edited by 6 Oct 2017, 03:46

                @Yahmez

                I followed your instruction and I am having a problem where the mosfet powers up immediately upon applying power and never shuts off. All of the switches work and have been verified with a MM.

                I have verified that the power switch and reset switch are completely separated from one another, when you hit the power switch is connects ground to the center pins on the power switch which then connects ground to the "ON CONTROL" on the Mosfit (which should trigger the power on if it were not already on).

                I have verified that when everything is running, hitting the power switch does cause the pi to initiate a shutdown but the mosfet never shuts off power after that and when I push the power switch back on, nothing happens and I need to remove input power and really it and then the power comes on immediately.

                I have verified that the switch on the mosfet is in the OFF position as well.

                The only thing I did differently was using a 470 cap instead of the 220 you had in your plans.

                Any help would be greatly appreciated.

                I Y 2 Replies Last reply 6 Oct 2017, 05:20 Reply Quote 0
                • I
                  iggy @MD500_Driver
                  last edited by iggy 10 Jun 2017, 06:21 6 Oct 2017, 05:20

                  @md500_driver Hey There....I had the same problem.....did you make sure to cut the trace where the led is at ? There should be 5 traces that need to be cut on this board. If you miss this trace, the mosfet board will automatically turn on the moment you apply power.

                  0_1507267301166_8bd2eb64-631d-4bd7-9cd9-e0981460a9cc-image.png

                  1 Reply Last reply Reply Quote 0
                  • Y
                    Yahmez @MD500_Driver
                    last edited by 6 Oct 2017, 13:13

                    @md500_driver
                    as @Iggy said, it sounds like ytou did not fully cut the traces on the power /reset switch PCB. I saw someone else have the same issue and he did not fully cut the traces.

                    F 1 Reply Last reply 12 Oct 2017, 16:54 Reply Quote 0
                    • M
                      MD500_Driver
                      last edited by 6 Oct 2017, 14:12

                      @iggy @Yahmez

                      Thank you for the quick reply. You are absolutely correct, for some reason I missed that trace on the LED! I must have looked at those instructions 50 times, not sure how I missed it!

                      Thanks for the quick reply!!

                      1 Reply Last reply Reply Quote 0
                      • M
                        MD500_Driver
                        last edited by 6 Oct 2017, 15:14

                        @Yahmez

                        One other quick question. There has been talk of ES not saving metadata unless you shutdown via the ES scripts. In the case of nespi.py, it looks like you are calling shutdown. Does this cause problems with the metadata?

                        Thanks

                        C 1 Reply Last reply 6 Oct 2017, 16:53 Reply Quote 0
                        • C
                          cyperghost @MD500_Driver
                          last edited by 6 Oct 2017, 16:53

                          @md500_driver Not if you use @meleu shutdown service.
                          https://retropie.org.uk/forum/post/107139

                          F 1 Reply Last reply 11 Oct 2017, 05:22 Reply Quote 0
                          • M
                            MD500_Driver
                            last edited by 6 Oct 2017, 21:14

                            Thanks. I followed that to a T and yet I still lose favorites and recently played :-(

                            1 Reply Last reply Reply Quote 0
                            • F
                              Fernandike
                              last edited by 6 Oct 2017, 21:18

                              @yahmez I did it again from scratch and there in front of me there was my mistake It works so good Thanks and i appreciate your time on doing this and sharing it

                              1 Reply Last reply Reply Quote 0
                              • J
                                jmcfsu13
                                last edited by jmcfsu13 10 Jul 2017, 15:36 7 Oct 2017, 02:35

                                Why does the reset and power switch have three rows of leads? for the power you connect to all three and on reset just the middle and bottom. Do you know the pinout for these switches? for the original reset mod the guy actually solders the top to middle lead on the reset switch.

                                @cyperghost @Yahmez - either of you know?

                                1 Reply Last reply Reply Quote 0
                                • S
                                  snarc
                                  last edited by snarc 10 Jul 2017, 13:14 7 Oct 2017, 12:12

                                  @cyperghost:
                                  Sorry, if that is a "noob question" but do I have just to follow the instructions of meleu and create the killes.sh and killes.service files "beside" the script of yahmez (leaving the script of yahmez "untouched") or do I have to modify the script of yahmez, too (and if yes in which way)?

                                  Regards!

                                  C 1 Reply Last reply 7 Oct 2017, 12:48 Reply Quote 0
                                  • C
                                    cyperghost @snarc
                                    last edited by 7 Oct 2017, 12:48

                                    @snarc No....
                                    The shutdown service is intended to work without any modification to the shutdown/button scripts. That's the big advantage here ...

                                    Of course you can modify the python script to call a specific shutdown script. That would also work.

                                    S 1 Reply Last reply 7 Oct 2017, 13:08 Reply Quote 0
                                    • S
                                      snarc @cyperghost
                                      last edited by 7 Oct 2017, 13:08

                                      @cyperghost

                                      THX, tried it out and it works perfect! YES! :D

                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        Foldedpencil @cyperghost
                                        last edited by 11 Oct 2017, 05:22

                                        @cyperghost any chance this will be rolled into an update? I am reluctant to add a service that might conflict with future features. Why does the current shutdown not save the meta data.

                                        C 1 Reply Last reply 11 Oct 2017, 16:58 Reply Quote 0
                                        • C
                                          cyperghost @Foldedpencil
                                          last edited by 11 Oct 2017, 16:58

                                          @foldedpencil No this won't be integrated. This shutdown issues are not origin from Emulations Station or RetroPie themselves.
                                          It's rather a problem of the external hardware like the Mausberry, ATXRaspi, Powerblock.....

                                          And still there is an issue with the shutdown script itself as it doesn't decide of a Reboot or a shutdown if you want to perform a shutdown triggered by an GPIO together with a mausberry power switch.

                                          The script is really the best in use here but has one or two very small caveeats ;)

                                          1 Reply Last reply Reply Quote 0
                                          59 out of 151
                                          • First post
                                            59/151
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received