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

    Power on and off

    Scheduled Pinned Locked Moved Help and Support
    safe astart
    45 Posts 12 Posters 15.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.
    • CapemanC
      Capeman
      last edited by

      Ok, so i bought the ebay power button that was mentioned above. There is one comparison that i can make to the Petrock Powerblock.

      When the petrock powerblock shuts down, it seems to run a longer process, I am not sure what this process is or why it's needed (i'm guessing its a script that cleanly exits emulation station so that all xml files are saved? Maybe a dev can elaborate on this). But it takes upwards of 20 seconds to fully turn off.

      The ebay IR power HAT seems to simply send a SUDO HALT command to the pi, which supposedly safely shuts it off, but does so in a pretty abrupt way. I am not sure if this is safe for a retropie installation, considering it's a software shutdown that probably instantly crashes out all running apps, it's probably still safer than pulling the plug because nothing will be "interrupted" but it seems odd that it shuts off this quickly.

      This seems to be the same speed shutdown as the single button GPIO method detailed in the video by ETAprime in a previous post. Can anyone elaborate on if this is a safe way to shutdown?

      0_1495067301007_1000px-8182.JPG

      Vector Artist, Designer and Maker of Stuff: Laser Cut Atari / Pixel Theme Bartop

      AlexMurphyA 1 Reply Last reply Reply Quote 0
      • AlexMurphyA
        AlexMurphy Banned @Capeman
        last edited by

        @Capeman As far as I know... A HALT command in Linux does not kill any process. It basically tells it to stop whenever it is safe to do so. It may or may not have finished doing what it is doing but it is sort of a semi-forced end to on-going processes. I'm sorry that is such a vague answer but you will probably get another 20 or so conflicting answers! That's Linux!

        1 Reply Last reply Reply Quote 1
        • CapemanC
          Capeman
          last edited by Capeman

          Hmmm, it appears the service for this HAT is causing my Pi to heat up for some reason. I tried to remove the powerblock driver from my spare installation before putting on drivers for this HAT, there is probably something conflicting.

          Vector Artist, Designer and Maker of Stuff: Laser Cut Atari / Pixel Theme Bartop

          1 Reply Last reply Reply Quote 0
          • DorkVonWaterfallD
            DorkVonWaterfall
            last edited by

            installed one of those remote control suckers today...works like a charm.....

            01001110 01101111 01100010 01101111 01100100 01111001 00100000 01101011 01101110 01101111 01110111 01110011 00100000 01101001 01100000 01101101 00100000 01100001 00100000 01101100 01100101 01110011 01100010 01101001 01100001 01101110 00100001

            CapemanC 1 Reply Last reply Reply Quote 0
            • CapemanC
              Capeman @DorkVonWaterfall
              last edited by

              @DorkVonWaterfall said in Power on and off:

              installed one of those remote control suckers today...works like a charm.....

              Must be a conflict on mine, i pull the heat icon after about 15 minutes of leaving it on, i'll try it again on a fresh install.

              Vector Artist, Designer and Maker of Stuff: Laser Cut Atari / Pixel Theme Bartop

              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.