Moxa DA-682A-C7-W7E [59/112] Turning on or off the leds

Moxa DA-682A-C7-W7E [59/112] Turning on or off the leds
DA-682A Linux Softrware Programming Guide
4-3
SATA LEDs may be accessed directly using the /dev/sata_pledX device node. The examples below show
you how.
There are eight programmable LED indicators on the front panel of the DA-682A. Refer to the following figure
for the specific location of these LED indicators.
Turning On or Off the LEDs
To turn on the first LED and turn off the second, third and fourth LED. You should.
moxa@Moxa:~# echo 1000 > /dev/pled
To turn off all the LED you should.
moxa@Moxa:~# echo 0000 > /dev/sata_pled1
To turn on the second LED and turn off the others. You should
moxa@Moxa:~# echo 0100 > /dev/pled
Turning On or Off the LEDs on a SATA Board
To turn on the first LED and turn off the second on SATA LED #1 . You should.
moxa@Moxa:~# echo 10 > /dev/sata_pled1
To turn off all the SATA LED #1you should.
moxa@Moxa:~# echo 00 > /dev/sata_pled1
To turn on the first LED and turn off the second on SATA LED #2 . You should.
moxa@Moxa:~# echo 10 > /dev/sata_pled2
To turn off all the SATA LED #1 you should.
moxa@Moxa:~# echo 00 > /dev/sata_pled2
Watch Dog Timer (WDT)
Introduction
The WDT can be enabled or disabled directly, using a shell script (if you wish to use the Synmap software
package for this control, see the Synmap section above, Enabling the Watchdog). When the WDT is enabled
and fails to receive a reset signal in the configured amount of time (1 to 255 seconds), the system will
automatically reboot.
How the WDT Works
If you need the watchdog to run at boot time, use moxa@MoxaL~# update-rc.d to add it.

Содержание

Похожие устройства