Am Mittwoch, 24. Juli 2019, 21:17:15 CEST schrieb Andrius Štikonas: > RockPro64 has a dedicated circuit for driving a 12V fan from PWM1. > > At the moment this makes fan spin at full speed. fancontrol can be used > to control fan speed. E.g. the following config file works well: > > INTERVAL=10 > DEVPATH=hwmon0=devices/platform/pwm-fan > DEVNAME=hwmon0=pwmfan > FCTEMPS=hwmon0/device/pwm1=../thermal/thermal_zone0/temp > MINTEMP=hwmon0/device/pwm1=40 > MAXTEMP=hwmon0/device/pwm1=60 > MINSTART=hwmon0/device/pwm1=100 > MINSTOP=hwmon0/device/pwm1=70 > > In the future it would be nice to define trip points in dts file, > so that kernel could adjust fan speed itself. patches welcome ;-) > Signed-off-by: Andrius Štikonas <andrius@xxxxxxxxxxx> applied for 5.4 Thanks Heiko _______________________________________________ Linux-rockchip mailing list Linux-rockchip@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/linux-rockchip