添加CPU 温度风扇控制脚本(适配r2s 和 r4s),来源官方仓库
详见 https://github.com/Mr-xn/NanoPi-R4S/blob/main/scripts/lean.sh#L119
# Add cpu temperature
curl -sfL https://github.com/friendlyarm/friendlywrt/raw/master-v22.03/target/linux/rockchip/armv8/base-files/usr/bin/fa-fancontrol-direct.sh --create-dirs -o target/linux/rockchip/armv8/base-files/usr/bin/fa-fancontrol-direct.sh
curl -sfL https://github.com/friendlyarm/friendlywrt/raw/master-v22.03/target/linux/rockchip/armv8/base-files/usr/bin/fa-fancontrol.sh --create-dirs -o target/linux/rockchip/armv8/base-files/usr/bin/fa-fancontrol.sh
curl -sfL https://github.com/friendlyarm/friendlywrt/raw/master-v22.03/target/linux/rockchip/armv8/base-files/etc/init.d/fa-fancontrol --create-dirs -o target/linux/rockchip/armv8/base-files/etc/init.d/fa-fancontrol
chmod +x target/linux/rockchip/armv8/base-files/etc/init.d/fa-fancontrol target/linux/rockchip/armv8/base-files/usr/bin/fa-fancontrol*.sh
PS:
如果想手动调节风扇转速和温度匹配可以参考官方的文档-5.13PWM风扇调节,文件位置如下:
- Default Gateway: 192.168.2.1
- Default Password: password