修改 /sys/class/leds/ 下檔案值即可變更狀態
brightness 開關 0-255
trigger 驅動方式 (none 取消)
修改預設開機設定
修改 script.bin 內容 [leds_para]設定
#mount /dev/第一分割區 /mnt
cd /mnt; bin2fex script.bin script.fex;
編輯 [leds_para]
fex2bin script.fex script.bin ; cd /;umount /mnt; reboot
預設燈號
green LED is indicating if there is any read write with the SD Card [mmc0]
blue LED is heartbeating [heartbeat]
orange LED is CPU0 load [cpu0]
white LED is CPU1 load [cpu1]
相關資源
https://defendtheplanet.net/tag/led/
http://linux-sunxi.org/Cubieboard/Programming/StatusLEDs
沒有留言:
張貼留言