Pigeon RB300 has five LEDs (including two built-in Ethernet socket). Three of them are visible through the front panel:

  • PWR (green) - power status,
  • ACT (red) - GPIO47 - led0,
  • USR (yellow) - GPIO45 - led1.

The PWR LED (build in 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

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.

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

cat /sys/class/leds/led0/trigger

none mmc0 timer oneshot [heartbeat] backlight gpio cpu0 default-on input

You can change trigger:

echo mmc0 >/sys/class/leds/led0/trigger

or deactivate trigger:

echo none >/sys/class/leds/led0/trigger

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

echo 0 > /sys/class/leds/led0/brightness # ACT LED turn off
echo 0 > /sys/class/leds/led1/brightness # USR LED turn off
echo 1 > /sys/class/leds/led0/brightness # ACT LED turn on
echo 1 > /sys/class/leds/led1/brightness # USR LED turn on

LEDs built-in Ethernet socket:

  • green - LINK - LED is on when a valid link is detected. LED blinks when transmit or receive activity is detected.

  • yellow - SPEED - LED is on when the Ethernet operating speed is 100Mbs, or during auto-negotiation. LED is off during 10Mbs operation, or during line isolation.