LED

LS-AVL/A

/usr/local/sbin/hddspaced.sh を読んでみた。

容量を示す LED は /proc/buffalo/gpio/led/bar? にあるようだ。

sh-3.2# ls /proc/buffalo/gpio/led
actblue          bar0             bar3             bar6             bar9             barred           info_blink       powerred_blink
actblue_blink    bar0_blink       bar3_blink       bar6_blink       bar9_blink       barred_blink     power
alarm            bar1             bar4             bar7             bar_max          eth              power_alt
alarm_alt        bar1_blink       bar4_blink       bar7_blink       bar_max_blink    funcred          power_alt_blink
alarm_alt_blink  bar2             bar5             bar8             barblue          funcred_blink    power_blink
alarm_blink      bar2_blink       bar5_blink       bar8_blink       barblue_blink    info             powerred
sh-3.2#
brink もできるようだ
sh-3.2# echo on > /proc/buffalo/gpio/led/bar0_blink
sh-3.2#
一番左の LED が慌ただしく点滅しはじめた。

いろいろ遊んでみた

sh-3.2# echo on > /proc/buffalo/gpio/led/bar_max_blink
sh-3.2# echo on > /proc/buffalo/gpio/led/barblue_blink
sh-3.2# echo off > /proc/buffalo/gpio/led/bar_max_blink
sh-3.2# echo off > /proc/buffalo/gpio/led/barblue_blink
sh-3.2# echo on > /proc/buffalo/gpio/led/powerred
sh-3.2# echo on > /proc/buffalo/gpio/led/eth
sh-3.2# echo on > /proc/buffalo/gpio/led/info
sh-3.2# echo off > /proc/buffalo/gpio/led/info
sh-3.2# echo on > /proc/buffalo/gpio/led/actblue
sh-3.2# echo off > /proc/buffalo/gpio/led/actblue
sh-3.2# echo off > /proc/buffalo/gpio/led/alarm
sh-3.2# echo off > /proc/buffalo/gpio/led/alarm_alt
sh-3.2# echo off > /proc/buffalo/gpio/led/alarm_alt_blink
sh-3.2# echo off > /proc/buffalo/gpio/led/barred
sh-3.2# echo on > /proc/buffalo/gpio/led/barred
sh-3.2# echo on > /proc/buffalo/gpio/led/barred_blink
sh-3.2# echo off > /proc/buffalo/gpio/led/barred_blink
sh-3.2# echo off > /proc/buffalo/gpio/led/barred
sh-3.2# echo off > /proc/buffalo/gpio/led/bar0_blink
sh-3.2# echo on > /proc/buffalo/gpio/led/powerred
sh-3.2# echo off > /proc/buffalo/gpio/led/powerred
sh-3.2#



LS-AVL/A
楽天市場
Amazon
uWorks
ValuMore
Yahoo!ショッピング


MovableType バックグラウンドでの再構築(2)
ハックの記録
LinkStation/玄箱 をハックしよう

MovableType バックグラウンドでの再構築(2)

Copyright (C) 2003-2010 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市