ユーザ用ツール

サイト用ツール


mas1xx_ope:led_allocation:start

以前のリビジョンの文書です


LED の割り当てと表示パターン

LED の割り当て

STATUS LED

MA-S1xx には、2 色(赤/緑) LED が 4 個(POWER, STATUS-1〜3)実装されています。

STATUS LEDs


それぞれのデフォルトでの割り当ては下記のようになっています。

LED Color 状態 意味 sysfs 以下 相対 PATH
POWER 消灯 電源 OFFPowerLED
点灯 電源ON
消灯 power-stat:r
点灯 SD カード拡張領域利用中
STATUS-1 消灯 system-status1:g
点灯 ブートローダー起動
点滅 ブートローダー 入力待ち状態(プロンプト/メニュー)
Fade In/Out Standby 状態
消灯 system-status1:r
ハートビート Kernel 動作中
STATUS-2 消灯 system-status2:g
点灯
消灯 system-status2:r
点灯
STATUS-3 消灯 system-status3:g
点灯 出荷状態での起動
消灯 system-status3:r
点灯
点滅 シャットダウン処理中

全てのLEDは LED class driver1) での実装となっていますので、 sysfs2) I/F により任意の動作に変更が可能です。

lrwxrwxrwx 1 root root 0 Aug 24 10:04 PowerLED -> ../../devices/platform/leds/leds/PowerLED
lrwxrwxrwx 1 root root 0 Aug 24 10:05 power-stat:r -> ../../devices/platform/ahb/ahb:apb/fc028000.i2c/i2c-1/1-0045/leds/power-stat:r
lrwxrwxrwx 1 root root 0 Aug 24 10:05 system-status1:g -> ../../devices/platform/ahb/ahb:apb/fc028000.i2c/i2c-1/1-0045/leds/system-status1:g
lrwxrwxrwx 1 root root 0 Aug 24 10:04 system-status1:r -> ../../devices/platform/ahb/ahb:apb/fc028000.i2c/i2c-1/1-0045/leds/system-status1:r
lrwxrwxrwx 1 root root 0 Aug 24 10:05 system-status2:g -> ../../devices/platform/ahb/ahb:apb/fc028000.i2c/i2c-1/1-0045/leds/system-status2:g
lrwxrwxrwx 1 root root 0 Aug 24 10:05 system-status2:r -> ../../devices/platform/ahb/ahb:apb/fc028000.i2c/i2c-1/1-0045/leds/system-status2:r
lrwxrwxrwx 1 root root 0 Aug 24 10:05 system-status3:g -> ../../devices/platform/ahb/ahb:apb/fc028000.i2c/i2c-1/1-0045/leds/system-status3:g
lrwxrwxrwx 1 root root 0 Aug 24 10:05 system-status3:r -> ../../devices/platform/ahb/ahb:apb/fc028000.i2c/i2c-1/1-0045/leds/system-status3:r


mas1xx_ope/led_allocation/start.1598237171.txt.gz · 最終更新: 2020/08/24 11:46 by admin