Banana Pi: Onboard, User-Definable Green Led

Check the output of cat /sys/class/leds/bananapi:green:usr/trigger for possible values.
Older kernels (3.4.x) may name the file /sys/class/leds/green:ph24:led1/trigger instead.

To switch it on:

echo 1 > /sys/class/leds/green:ph24:led1/brightness

To switch it off:

echo 0 > /sys/class/leds/green:ph24:led1/brightness

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s