- sudo sh -c 'echo 255 > /sys/devices/pwm-fan/target_pwm'
备注:这里可以将255 修改成其他值(0~255)来修改风扇的风速
- sudo vi /etc/rc.local
- #!/bin/bash
- sleep 10
- sudo /usr/bin/jetson_clocks
- sudo sh -c 'echo 255 > /sys/devices/pwm-fan/target_pwm'
- sudo chmod u+x /etc/rc.local
备注:如果你不习惯用vi编辑器,可以安装nano然后用nano创建编辑文档
- sudo apt-get install nano
- sudo nano /etc/rc.local