Joshua-Riek / ubuntu-rockchip

Ubuntu for Rockchip RK35XX Devices
https://joshua-riek.github.io/ubuntu-rockchip-download/
GNU General Public License v3.0
2.31k stars 249 forks source link

Bug Report: Rock 5b+ Ubuntu FAN is not spining #1088

Open tpnthr opened 6 days ago

tpnthr commented 6 days ago

What happened?

So the problem is that fan is not spinning. It is original fan with heat sink from radxa. SBC is getting pretty hot, but fan is still. When i turn on the device fan moves a bit and is still for entire time.

sudo sh -c 'echo 255 > /sys/class/hwmon/hwmon9/pwm1'; echo $? shows 0 error and parameter is changed to 255 for a few seconds, but after that parameter is set back to 0. fan do not react to any type of changes.

Maybe someone knows how to make this fan work?

Kernel version

6.1.0-1025-rockchip

SBC model

radxa 5b+

What operating system are you seeing this problem on?

Ubuntu 24.04 LTS (Noble Nombat)

Relevant logs

No response

lukaszsobala commented 3 days ago

To make the manual fan speed be persistent, you need to change the policy to userspace:

echo user_space |sudo tee /sys/class/thermal/thermal_zone0/policy

The fan does not spin because the default profile does not make sense. I recommend this one: https://forum.radxa.com/t/guide-how-to-make-the-rock-5b-fan-work-properly-joshua-rieks-ubuntu-24-04/20836

If the fan doesn't react, you might want to check if it's plugged in correctly

tpnthr commented 3 days ago

Done everything according to that instructions Still nothing. When I plug power to sbc FAN make one rotation and stops - so it should be connected good.

May be there is a way to force fan to certain speed?

lukaszsobala commented 3 days ago

the way to force a certain speed that I know about is echoing some number to pwm1, as you did, with user_space policy. Or you can try powering it with GPIO if you know how to use them.