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 off fan

    Scheduled Pinned Locked Moved Help and Support
    fan controlshutdown scriptpowerswitch
    7 Posts 2 Posters 877 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.
    • cnotoC
      cnoto
      last edited by

      I am building a new case in the shell of a non functioning psone and had a question about the best method to shut off the fan upon shutdown. I am using @cyperghost generic safe shutdown script.

      What is the best way to kill the fan when I use the safe shutdown button?

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

        @cnoto which power device do you want to use? Mausberry or the ONOFFSHIM?
        If the fan still consumes power then you did not perform a complete power cut.

        cnotoC 1 Reply Last reply Reply Quote 0
        • cnotoC
          cnoto @cyperghost
          last edited by

          @cyperghost Thanks for the quick response. I welcome your advice in terms of which is best. I have a safe shutdown button and power light on the ready. Can I connect my button to one of those two options? I believe your script (which I enjoy and have used many times before) has options for those both.

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

            @cnoto yes it has but for the Pi4 you might need a special setup for the config.txt located in boot partition.

            1 Reply Last reply Reply Quote 0
            • cnotoC
              cnoto
              last edited by

              @cyperghost got it. Thanks. Its a pi3 so should be good. Going to go with the onoffshim and a momentary button.

              cnotoC 1 Reply Last reply Reply Quote 0
              • cnotoC
                cnoto @cnoto
                last edited by

                @cyperghost can you share the pin layout that would work best for using your shutdown script with an on/off shim? Im not sure how to leverage the shim, fan and on/off light. Thanks.

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

                  @cnoto For the ONOFFSHIM I used the default setup, proposed by Pimoroni. For the complete powercut you either need a systemd file or you set a dtoverlay to /boot/config.txt

                  You can take a look here to this tutorial

                  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.