Replies: 3 comments 2 replies
-
The same question |
Beta Was this translation helpful? Give feedback.
-
See my post for the rock 5a board. That should help. |
Beta Was this translation helpful? Give feedback.
-
Its sort of a misnomer that you can control 2 pin fans by pwm, that quickly gets quite complex. So yeah you can use PWM on a 2pin fan but the fan curve is likely pretty bad starting at 40/45% and likely if you could measure the speed having little correlation to pwm duty as the PWM is just aproximating voltage. The later 3 pin gpio fan is sort of the newer one to market as its a 4 pin fan with the 3rd wire cut off :) 20mm 3 pin gpio fan https://www.raspberrypi.com/products/raspberry-pi-4-case-fan/ They do have a much better and more controllable fan curve as they are 5v fans that will take a 3.3v pwm for the duty cycle. Yeah you can do the above and it will work in a fashion or just get a gpio fan and ignore that stupid 2pin header as surely there was space for a 2.54mm 3pin connector somewhere and if not used you should be able to steal back a gpio and gain another 5vcc & Gnd pins... |
Beta Was this translation helpful? Give feedback.
-
Currently fan plugged into fan header behaves according cpu temperature defined in hex table located in /sys/firmware/devicetree/base/pwm-fan/rockchip,temp-trips
and powering the fan with power from this hex table /sys/firmware/devicetree/base/pwm-fan/cooling-levels
So it behaves like: above 50c - power 50, above 55c - power 100, ..., ,above 70c - power 255
Is it possible to somehow set the fan to be always at same power level? Or even adjust the CPU cooling tables?
It is possible to temporary set fan speed by
echo 80 > /sys/class/hwmon/hwmon9/pwm1
however speed is overwritten when another cpu temperature level is reached.Beta Was this translation helpful? Give feedback.
All reactions