I have a problem similar to Pi 4 Quad Sata Hat Fan always at 100% where no solution was given as it looked like a hardware issue. The date on my hat is 2020-09-17.
The fan in the top board is running as soon as I plug the power (12V DC direct to the hat), even without an sd card in the raspberry pi 4.
The fan is also not responsive the the GPIO PWM pins. I have pigpio and rocky-sata running fine (disks are up, oled is working, rocky-sata gets gpio with host localhost, both services are active). I have lvl0 set high of course.
But the gpio pins do nothing. Running the python code manually with import fan, fan.gpio.hardware_PWM(12, 0, 0) and fan.gpio.hardware_PWM(13, 0, 0) do nothing. It is basically impossible to turn off the fan.
Is there any solution to this? Do I need to get a new top board and if yes, where can I get one?
I should mention that I bought the kit used on eBay so I didn’t build it myself. Is it possible that the wrong kind of fan be fitted on the top board? How can I check? There’s nothing written on the fan itself, all I can see are the three red yellow and black wires.
pi@mediaserver:~ $ sudo service rockpi-sata stop
pi@mediaserver:~ $ sudo service rockpi-sata status
● rockpi-sata.service - Rockpi SATA Hat
Loaded: loaded (/lib/systemd/system/rockpi-sata.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Tue 2022-03-29 10:26:05 BST; 6s ago
Process: 413 ExecStart=/usr/bin/python3 /usr/bin/rockpi-sata/main.py on (code=killed, signal=TERM)
Process: 955398 ExecStop=/usr/bin/python3 /usr/bin/rockpi-sata/main.py off (code=exited, status=0/SUCCESS)
Main PID: 413 (code=killed, signal=TERM)
CPU: 13min 45.521s
Mar 28 13:46:49 mediaserver systemd[1]: Started Rockpi SATA Hat.
Mar 29 10:26:00 mediaserver systemd[1]: Stopping Rockpi SATA Hat...
Mar 29 10:26:05 mediaserver systemd[1]: rockpi-sata.service: Succeeded.
Mar 29 10:26:05 mediaserver systemd[1]: Stopped Rockpi SATA Hat.
Mar 29 10:26:05 mediaserver systemd[1]: rockpi-sata.service: Consumed 13min 45.521s CPU time.
Then I ran the code and nothing happened, fan still spinning hard.
@setq@asa Hey there, were you guys able to resolve this issue? It seems I’m hitting the same thing. I’ve tried the suggestions here, but alas to no avail.
$ netstat -l | grep -o ‘\S*:8888’ | tr -d ‘:8888’
localhost
$ netstat -vatn | grep 8888
tcp 0 0 127.0.0.1:8888 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:44440 127.0.0.1:8888 ESTABLISHED
tcp 0 0 127.0.0.1:8888 127.0.0.1:44436 ESTABLISHED
tcp 0 0 127.0.0.1:44436 127.0.0.1:8888 ESTABLISHED
tcp 0 0 127.0.0.1:8888 127.0.0.1:44440 ESTABLISHED
$ sudo service rockpi-sata status
● rockpi-sata.service - Rockpi SATA Hat
Loaded: loaded (/lib/systemd/system/rockpi-sata.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2023-08-29 19:36:14 CEST; 4min 59s ago
Main PID: 597 (python3)
Tasks: 6 (limit: 8755)
CPU: 5.248s
CGroup: /system.slice/rockpi-sata.service
├─ 597 /usr/bin/python3 /usr/bin/rockpi-sata/main.py on
├─1969 /usr/bin/python3 /usr/bin/rockpi-sata/main.py on
├─1970 /usr/bin/python3 /usr/bin/rockpi-sata/main.py on
├─1971 /usr/bin/python3 /usr/bin/rockpi-sata/main.py on
└─1972 /usr/bin/python3 /usr/bin/rockpi-sata/main.py on
Aug 29 19:36:14 nextcloudpi systemd[1]: Started Rockpi SATA Hat.
I also noticed that even when using “sudo shutdown now” the fan keeps blasting at 100%. I’m using the provided power supply and the barrel jack on the hat.
I recommend checking your board to see if pin 8 of the 2x5 is connected to PIN 33.
After some troubleshooting in my board (that has the same revision as yours), I found that it is missing a jumper (0 ohm resistor).
Here are the contacts that you need to test between the PIN 33 of the 40pin socket and the pin 8 of the 2x5 PHD2 socket.