====== LED の割り当てと表示パターン ====== ===== LED の割り当て ===== ==== STATUS LED ==== MA-S1xx には、2 色(赤/緑) LED が 4 個(POWER, STATUS-1〜3)実装されています。 {{:mas1xx_ope:led_allocation:led_status.jpg?600|STATUS LEDs}} \\ それぞれのデフォルトでの割り当ては下記のようになっています。 ^ LED ^ Color ^ 状態 ^ 意味 ^ sysfs 以下 相対 PATH | |POWER| | 消灯 |電源 OFF|PowerLED| |:::|:::| @#01df01:点灯 |電源ON|:::| |:::| | 消灯 | |power-stat:r| |:::|:::| @#ff0000:点灯 |SD カード拡張領域利用中|:::| |STATUS-1| | 消灯 | |system-status1:g| |:::|:::| @#01df01:点灯 |ブートローダー起動|:::| |:::|:::| @#088a08:点滅 |ブートローダー 入力待ち状態(プロンプト/メニュー)|:::| |:::|:::| @#088a08:Fade In/Out |Standby 状態|:::| |:::| | 消灯 | |system-status1:r| |:::|:::| @#8a0808:ハートビート |Kernel 動作中|:::| |STATUS-2| | 消灯 | |system-status2:g| |:::|:::| @#01df01:点灯 | |:::| |:::| | 消灯 | |system-status2:r| |:::|:::| @#ff0000:点灯 | |:::| |STATUS-3| | 消灯 | |system-status3:g| |:::|:::| @#01df01:点灯 |出荷状態での起動|:::| |:::| | 消灯 | |system-status3:r| |:::|:::| @#ff0000:点灯 | |:::| |:::|:::| @#8a0808:点滅 |シャットダウン処理中|:::| 全てのLEDは LED class driver(([[https://www.kernel.org/doc/Documentation/leds/leds-class.txt]])) での実装となっていますので、 sysfs(([[http://ja.wikipedia.org/wiki/Sysfs]])) 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 \\ ==== LTE Module LED ==== MA-S1xxには、アンテナレベルと回線接続状態を表す LED が実装されています。 {{:mas1xx_ope:led_allocation:led_mobile.jpg?600|}} LTE モジュールのアンテナレベル及び回線への接続状態により、点灯パターンが変化します。((v5.5.0より前のファームウェアではLED定義に間違えがあり、以下の動作にはなりません)) ^ 接続状態 ^ アンテナレベル ^ LED ^^ Note | ^:::^:::^ ANT ^ MOBILE ^:::| | - | 0~1 | 消灯 | - | | |:::| 2~3 | @#01df01:点灯 | - | | | 切断 | - | - | 消灯 | | | 接続中((Demand で待機中含む)) | - | - | @#01df01:点灯 | |