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

    Powerblock shutdown slow

    Scheduled Pinned Locked Moved ControlBlock, PowerBlock & Co.
    powerblockshutdownslow shutdown
    15 Posts 6 Posters 2.6k 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.
    • ruckageR
      ruckage
      last edited by

      Hi,

      I've just setup the powerblock on a raspberry pi 3b+ and have noticed that when using the power switch the shutdown takes a long time to complete before finally powering off.

      Using the Powerblock to shutdown: 30 second.
      Using command-line or shutdown option in the ES menu: 4 seconds

      Is there anyway to make the powerblock shutdown faster as this is a huge difference.

      Thanks.

      SNES mini/Nes mini/Famicom mini theme developer.

      If you'd like to support my work you can donate here: Donate

      1 Reply Last reply Reply Quote 0
      • thelostsoulT
        thelostsoul
        last edited by

        What is a powerblock?
        And maybe fill out the standard information from https://retropie.org.uk/forum/topic/3/read-this-first.

        ๐Ÿ“œ RE/SET: 100 SNES Games for your RetroPie, ๐ŸŽ Share your hidden gems and insider tips

        mituM ruckageR 2 Replies Last reply Reply Quote 0
        • mituM
          mitu Global Moderator @thelostsoul
          last edited by mitu

          @thelostsoul said in Powerblock shutdown slow:

          What is a powerblock?

          It's a PCB to control the shutdown/startup of the Pi (https://blog.petrockblock.com/powerblock-raspberry-pi-power-switch/) . It's not strictly related to RetroPie (hence the topic category), so there's not really need for all the info from the read-me-first page.

          1 Reply Last reply Reply Quote 1
          • ruckageR
            ruckage @thelostsoul
            last edited by ruckage

            @thelostsoul said in Powerblock shutdown slow:

            What is a powerblock?
            And maybe fill out the standard information from https://retropie.org.uk/forum/topic/3/read-this-first.

            Why answer if you don't even know what a powerblock is ( if you'd looked you would see this part of the forum is specifically for powerblock and controlblock etc.).

            edit: Sorry, I overreacted a bit there. Didn't mean to snap.

            SNES mini/Nes mini/Famicom mini theme developer.

            If you'd like to support my work you can donate here: Donate

            cyperghostC 1 Reply Last reply Reply Quote 0
            • cyperghostC
              cyperghost @ruckage
              last edited by

              @ruckage said in Powerblock shutdown slow:

              Using the Powerblock to shutdown: 30 second.
              Using command-line or shutdown option in the ES menu: 4 seconds

              Sounds like a delay in detecting routine.
              I think it's better to tag @petrockblog ... He developed this device ;)

              ruckageR 1 Reply Last reply Reply Quote 0
              • ruckageR
                ruckage @cyperghost
                last edited by

                @cyperghost said in Powerblock shutdown slow:

                @ruckage said in Powerblock shutdown slow:

                Using the Powerblock to shutdown: 30 second.
                Using command-line or shutdown option in the ES menu: 4 seconds

                Sounds like a delay in detecting routine.
                I think it's better to tag @petrockblog ... He developed this device ;)

                Thanks, good idea - hopefully @petrockblog may have some insight.

                The shutdown does seem to start instantly, whatever is running at the time (ES/emulator) closes and you get the usual scroll of text output you'd expect but then it seems to pause halfway through the process before eventually continuing the shutdown and then powering off.

                SNES mini/Nes mini/Famicom mini theme developer.

                If you'd like to support my work you can donate here: Donate

                1 Reply Last reply Reply Quote 0
                • P
                  petrockblog Global Moderator
                  last edited by

                  Sounds like something should be refined with the PowerBlock service handing. I need to take a look into that.

                  ruckageR 1 Reply Last reply Reply Quote 1
                  • ruckageR
                    ruckage @petrockblog
                    last edited by ruckage

                    @petrockblog Thanks for the reply.
                    I'm using the latest official retropie image if that helps. Also the powerblock isn't the latest model, it's one bought I from you in November of 2015 (rev 1.0) in case that could be an issue.
                    Actually I do have a brand new powerblock that I bought from you recently (rev 1.1) which I believe is the latest model so I'll try that out to rule it out as problem.

                    Edit: I tried the rev 1.1 board and it's the same, I didn't think it would be the problem but it was worth a try.

                    SNES mini/Nes mini/Famicom mini theme developer.

                    If you'd like to support my work you can donate here: Donate

                    1 Reply Last reply Reply Quote 0
                    • P
                      petrockblog Global Moderator
                      last edited by

                      I assume that it somehow depends on the way the shutdown script or the PowerBlock service is integrated into Raspbian. I am afraid that I need to take a look into that to better understand the reason for that delay.

                      1 Reply Last reply Reply Quote 0
                      • P
                        petrockblog Global Moderator
                        last edited by

                        I have just published a new release of the PowerBlock driver. Besides a logger, and extended configurability, it also fixes the shutdown behaviour such that it only takes (again) about four seconds for a shutdown now:

                        https://blog.petrockblock.com/2018/08/03/update-powerblock-driver-1-5-0/

                        ruckageR 2 Replies Last reply Reply Quote 2
                        • ruckageR
                          ruckage @petrockblog
                          last edited by

                          @petrockblog
                          Thanks for the update, I appreciate it. I'll update it this afternoon and give it a try.

                          SNES mini/Nes mini/Famicom mini theme developer.

                          If you'd like to support my work you can donate here: Donate

                          1 Reply Last reply Reply Quote 0
                          • ruckageR
                            ruckage @petrockblog
                            last edited by ruckage

                            @petrockblog
                            Sorry for not posting sooner. The updated version works perfectly - instant shutdown again :)
                            Thanks for fixing that.

                            SNES mini/Nes mini/Famicom mini theme developer.

                            If you'd like to support my work you can donate here: Donate

                            1 Reply Last reply Reply Quote 0
                            • P
                              petrockblog Global Moderator
                              last edited by

                              Glad to hear that!

                              1 Reply Last reply Reply Quote 0
                              • B
                                Beest
                                last edited by Beest

                                EDIT: Donโ€™t mind me, nothing to see here.

                                1 Reply Last reply Reply Quote 0
                                • P
                                  petrockblog Global Moderator
                                  last edited by

                                  All right.

                                  I took a look into the sources of the ControlBlock driver. The same issue that caused the slow shutdown for the PowerBlock also existed there. I have fixed that now.

                                  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.