Dan D.
02/12/2025, 9:48 PMcat /sys/class/thermal/thermal_zone0/policy
, you will find that fan control is set to "stepwise". The method of PWM fan speed control and speed steps are defined in the the device tree. The process of ramping up and down steps are controlled by a thermal sensor on the RK3588 and pre-defined fan speed trip points.
If you cat /sys/devices/platform/pwm-fan/hwmon/hwmon7/pwm1
, you will see that the default or lowest fan step is 100. I experimented with this FIFO a bit. Basically, just through echoing values to pwm1. The possible range of settings is 0 to 255. At 0, the fan is off. The lowest setting that my test module fan will spin at is 12. Setting pwm1 to 255 caused the fan to spin all the way up and then down to the default step. To me, that means the maximum step value is 254. If you play with these settings a bit, you quickly find that a setting of 254 is, relatively speaking, quite loud.Mart
02/14/2025, 7:58 PMDan D.
02/14/2025, 11:49 PM