Hello i am new to all of this so i hope you have some patience XD.
I have bought a radxa penta sata hat with a top board fan. I have noticed that when i shut down my raspberry pi 5 my radxa sata hat top board blows at something close to 100%.
I would like it to stop spinning when i shut down my pi so it is not as loud anymore.
currently I try todo the following:
!/bin/bash
sleep 2
/usr/bin/gpioset --mode=time --sec=1 gpiochip0 27=0
in my /system-shutdown/fanoff.sh.
It stops spinning for a while but then starts back up again.
Any ideas or referring me to a solution would be very helpful!
sorry for my English XD
Thank you in advance!