8,460
个编辑
更改
→板载LED 灯测试说明
|-
| <br><big>'''注意,下面的操作请在 root 用户下进行。'''</big><br><br>
|}<br>
a. 首先进入绿灯的设置目录<br>
{| class="wikitable" style="width:800px;"
|-
|root@orangepi:~# '''cd /sys/class/leds/status_led'''
|}<br>
b. 设置绿灯停止闪烁的命令如下<br>
{| class="wikitable" style="width:800px;"
|-
|root@orangepi:/sys/class/leds/status_led# '''echo none > trigger'''
|}<br>
c. 设置绿灯常亮的命令如下<br>
{| class="wikitable" style="width:800px;"
|-
|root@orangepi:/sys/class/leds/status_led# '''echo default-on > trigger'''
|}<br>
d. 设置绿灯闪烁的命令如下<br>
{| class="wikitable" style="width:800px;"
|-
|root@orangepi:/sys/class/leds/status_led# '''echo heartbeat > trigger'''
|}<br>