This repository was archived by the owner on Feb 19, 2024. It is now read-only.
Repository navigation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
r2s的风扇脚本是/etc/init.d/fanctrl吧?r2s风扇用的可不是GPIO的总线
fanctrl内容如下
#!/bin/sh /etc/rc.common
. /lib/functions/system.sh
boot() {
case $(board_name) in
rongpin,king3399)
echo 50 > /sys/class/gpio/export && echo high > /sys/class/gpio/gpio50/direction
echo 56 > /sys/class/gpio/export && echo high > /sys/class/gpio/gpio56/direction
;;
esac
}
可以改吗?
All reactions