Skip to content

基于 Lean&Lienol 源码的 NanoPi R4S 的 OpenWrt 固件(添加 CPU 风扇控制,适用于 r2s 和 r4s)

License

Notifications You must be signed in to change notification settings

Mr-xn/NanoPi-R4S

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NanoPi R4S Firmware

添加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风扇调节,文件位置如下:
image

Tips

  • Default Gateway: 192.168.2.1
  • Default Password: password

Features

References

About

基于 Lean&Lienol 源码的 NanoPi R4S 的 OpenWrt 固件(添加 CPU 风扇控制,适用于 r2s 和 r4s)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%