Skip to content

LEDS

Pigeon RB700 Standard has seven LEDs (including four built-in Ethernet sockets). Three of them are visible through the front panel:

  • PWR (green),
  • ACT (red),
  • USR (yellow).

The PWR LED (built into the POWER button) is under hardware control and indicates the state of UPS (see tab. 1). The PWR LED is controlled by a microcontroller, which monitors the value of the supply voltage and UPS state.

Table 1. The PWR LED states

PWR LED UPS STATE OS STATE
250 ms off, 250 ms on UPS charging Not running
Turned on Power on Running
250 ms off, 100 ms on Brownout detection Running
900 ms off, 100 ms on Shutdown in progress Running
Turned off Power off Not running

USR and ACT LEDs can be controlled by the user.

LEDs built-in Ethernet sockets:

  • Green - Ethernet status indicator. It blinks when network activity is detected,
  • Yellow - Ethernet link indicator. It is always on when the Ethernet is connected.

Bash Configuration and LED Control

The default trigger for the ACT LED is 'heartbeat':

$ cat /sys/class/leds/ACT/trigger

none rc-feedback kbd-scrolllock kbd-numlock kbd-capslock kbd-kanalock kbd-shiftlock kbd-altgrlock kbd-ctrllock kbd-altlock kbd-shiftllock kbd-shiftrlock kbd-ctrlllock kbd-ctrlrlock timer oneshot [heartbeat] backlight gpio cpu cpu0 cpu1 cpu2 cpu3 default-on input panic actpwr mmc1 mmc0 rfkill-any rfkill-none 

You can change the trigger:

$ echo mmc0 | sudo tee /sys/class/leds/ACT/trigger 

or deactivate the trigger:

$ echo none | sudo tee /sys/class/leds/ACT/trigger 

The LED can be turned on and off using the 'brightness' file:

$ echo '0' | sudo tee /sys/class/leds/ACT/brightness # ACT LED turn off 
$ echo '1' | sudo tee /sys/class/leds/ACT/brightness # ACT LED turn on 
$ echo '0' | sudo tee /sys/class/leds/USR/brightness # USR LED turn off 
$ echo '1' | sudo tee /sys/class/leds/USR/brightness # USR LED turn on