EMB-7521-CPU FAN
来自ARM Wiki
FAN :
Pin# | 信号名称 |
---|---|
1 | GND |
2 | VCC_FAN |
3 | NC |
- 控制风扇的Linux GPIO口为395
CPU风扇电源操作
- root@localhost:~# echo 395 > /sys/class/gpio/export
- root@localhost:~# echo out > /sys/class/gpio/gpio395/direction
- 打开风扇
- root@localhost:~# echo 1 > /sys/class/gpio/gpio395/value
- 关闭风扇
- root@localhost:~# echo 0 > /sys/class/gpio/gpio395/value