Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7284

Troubleshooting • Re: How to change PWM fan control mode

$
0
0
Is there a way to have the fan be manually controlled? I've seen people unload and load modules to get access to it but there must be a more clean way to do it.

if i cat

Code:

/sys/class/thermal/cooling_device0/power/control
its set to auto.
If i cat

Code:

/sys/class/hwmon/hwmon2/fan1_input
i can see its RPM, pwm1 to see the current pwm value. When i echo a value into pwm1 it does react but then after a few seconds goes back to what speeds are set using dtparam.
you can have your own fan curve i.e. or take ownership of the PWM output via a custom overlay i.e.
https://github.com/raspberrypi/linux/bl ... .dtsi#L370

Statistics: Posted by aBUGSworstnightmare — Tue Apr 29, 2025 2:03 pm



Viewing all articles
Browse latest Browse all 7284