Storage Indicator: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Created page with 'A storage indicator is built into the XO-1.5 and XO-1.75. It is the second LED on the left. The indicator is managed by the main processsor. It is controlled by firmware or so…')
 
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>[[Category:Hardware]][[Category:XO-1.5]][[Category:XO-1.75]]
</noinclude>
A storage indicator is built into the XO-1.5 and XO-1.75. It is the second LED on the left.
A storage indicator is built into the XO-1.5 and XO-1.75. It is the second LED on the left.


The indicator is managed by the main processsor. It is controlled by firmware or software.
The indicator is managed by the main processsor. It is controlled by software.


== Software ==
== Software ==
Line 21: Line 23:
[list of possible triggers]
[list of possible triggers]
echo olpc-ac-online > trigger
echo olpc-ac-online > trigger

== Firmware ==

OpenFirmware uses the storage indicator when rewriting the SPI FLASH (XO-1.5 and XO-1.75) or the EC (on XO-1.75). The laptop must be left to complete the process, and the indicator is used to show this. Interrupting the process may break the laptop.


== Restrictions ==
== Restrictions ==

Latest revision as of 00:00, 13 December 2011


A storage indicator is built into the XO-1.5 and XO-1.75. It is the second LED on the left.

The indicator is managed by the main processsor. It is controlled by software.

Software

By default the indicator lights when the internal storage is accessed. A user may learn how to predict the responsiveness of the laptop by watching the indicator.

Turning on the LED and leaving it on

cd /sys/devices/platform/leds-gpio/leds/storage
echo 1 > brightness

(unfortunately this requires root)

Assigning the LED to another trigger

For example, this makes the LED act as an AC online indicator:

cd /sys/devices/platform/leds-gpio/leds/storage
cat trigger
[list of possible triggers]
echo olpc-ac-online > trigger

Restrictions

XO-1.75 C1 has the light sensor next to the storage indicator. The storage indicator is turned off briefly during each sample capture. XO-1.75 B1 and A3 do not do this.