Difference between revisions of "Let your B3 beep and change the LED color"

From BubbaWiki
Jump to navigation Jump to search
(Created page with 'If you need to attract attention, you can let B3 make some noise!<br> Log in as administrator and become root.<br> To beep type the command:<br> <pre>echo 1 > /sys/bus/platf...')
(No difference)

Revision as of 09:16, 17 November 2010

If you need to attract attention, you can let B3 make some noise!

Log in as administrator and become root.

To beep type the command:

echo 1 > /sys/bus/platform/devices/bubbatwo/buzzer

To turn of the beep, type:

echo 0 > /sys/bus/platform/devices/bubbatwo/buzzer


Use the following commands to change the front LED color..

Blue

echo 0 > /sys/bus/platform/devices/bubbatwo/color

Red

echo 1 > /sys/bus/platform/devices/bubbatwo/color

Green

echo 2 > /sys/bus/platform/devices/bubbatwo/color

Purple

echo 4 > /sys/bus/platform/devices/bubbatwo/color


To disable the LED:

echo lit > /sys/bus/platform/devices/bubbatwo/ledmode

To enable the LED:

echo off > /sys/bus/platform/devices/bubbatwo/ledmode


echo 30000 > /sys/bus/platform/devices/bubbatwo/ledfreq