Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fan does not go off if the PI is powered down #97

Open
neilyoung opened this issue Apr 1, 2021 · 3 comments
Open

Fan does not go off if the PI is powered down #97

neilyoung opened this issue Apr 1, 2021 · 3 comments
Labels
notice Preserved for posterity

Comments

@neilyoung
Copy link

As subject says. I'm having the service running to control the fan, but if I sudo shutdown now the PI powers off, but the fan still roars. Only a complete removal of power from the PI switches off the fan. Is that by design?

@jpmvferreira
Copy link

I'm getting the same problem, it's probably by design, and I'm unsure if it's a hardware thing or not because it's connected directly to the pins.

But I would also like to see it powering down and the RPI is powered off!

@Gadgetoid
Copy link
Member

This is by design, but you may be able to force it off by asserting a GPIO pin on shutdown.

It'll require a script in /lib/systemd/system-shutdown/gpio-poweroff that looks something like this - https://github.com/pimoroni/clean-shutdown/blob/master/daemon/lib/systemd/system-shutdown/gpio-poweroff

And drop a config file in /etc/cleanshutd.conf with:

poweroff_pin=18

@cmonty14
Copy link

cmonty14 commented Mar 4, 2022

This is by design, but you may be able to force it off by asserting a GPIO pin on shutdown.

It'll require a script in /lib/systemd/system-shutdown/gpio-poweroff that looks something like this - https://github.com/pimoroni/clean-shutdown/blob/master/daemon/lib/systemd/system-shutdown/gpio-poweroff

And drop a config file in /etc/cleanshutd.conf with:

poweroff_pin=18

I cannot confirm that this solution is working, means 120s after shutdown the fan is still running.
Maybe I missed a step.
Can you please explain what you mean by "[...] asserting a GPIO pin on shutdown."?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notice Preserved for posterity
Projects
None yet
Development

No branches or pull requests

4 participants