Power Management/lang-es: Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 33: Line 33:


<div id="Firmware (aka BIOS on conventional PC's)"/>
<div id="Firmware (aka BIOS on conventional PC's)"/>

=Configuracion de Hardware =
==Soporte del CPU==
Mas informacion sobre el CPU puede encontrarse en can be found at [http://en.wikipedia.org/wiki/Amd_geode#AMD_Geode Wikipedia] y [http://www.amd.com/us-en/ConnectivitySolutions/ProductInformation/0,,50_2330,00.html AMD].
* Los sistemas BTest-1 y BTest-2 usan el [http://www.amd.com/us-en/ConnectivitySolutions/ProductInformation/0,,50_2330_9863_9864,00.html AMD Geode GX-400]
* LOs sistemas BTest-3 y posteriores usan el [http://www.amd.com/us-en/ConnectivitySolutions/ProductInformation/0,,50_2330_9863_13022,00.html AMD Geode LX-700]
==AMD Geode™ CS5536 Companion Device==
Todos los XO-1' usan el [http://www.amd.com/us-en/ConnectivitySolutions/ProductInformation/0,,50_2330_9863_13022%5E13054,00.html AMD 5536]. Note que el procesador y los chips southbridge tienen facultades entendibles para ahorrar potencia automáticamente o bajo programa. Los ejemplos incluyen la habilidad de apagar el GPU cuando no esta en uso y apagar la salida de video.
==Memory Support==
El XO-1 usa memorias soldada en la tarjeta madre y esta no puede ser expandida.
* BTest-1 Tienen 256M de RAM y 512M de flash.
* BTest-2-1 Tienen 128M de RAM y 512M de flash.
* BTest-2-2 Tienen 256M de RAM y 512M de flash.
* BTest-3 y posteriores tendrán 256M de RAM y 1GB of flash.
==Video RAM==
Video display memory on the XO-1 is taken from main memory. It is set to 16 megabytes.
==System Resources==
==IRQ Map==
{| class="wikitable"
|-
! System Interrupt
!Connected Pin
!Function
|-
| IRQ0
|
| System Timer
|-
| IRQ1
|
| PS2 Keyboard
|-
| IRQ2
|
| Cascade from Second PIC
|-
| IRQ3
|
| Available
|-
| IRQ4
|
| Available
|-
| IRQ5
| Audio IRQ
| AC 97 Audio
|-
| IRQ6
|
| Available
|-
| IRQ7
| PCI INTC#
| NAND/SD card/Camera
|-
| IRQ8
|
| Real time Clock (RTC) Interrupt
|-
| IRQ9
|
| SCI
|-
| IRQ10
| USB IRQ
| USB controllers
|-
| IRQ11
| PCI INTB#
| VGA/DCON
|-
| IRQ12
|
| PS2 Touch Pad
|-
| IRQ13
| PCI INTA#
| Math processor
|-
| IRQ14
|
| Available
|-
| IRQ15
|
| Available
|}

==DMA Resource Assignments==
{| class="wikitable"
|-
! DMA Channel
! Description

|-
| Channel 0
| Used for Memory Refresh
|-
| Channel 1
| Available
|-
| Channel 2
| Available
|-
| Channel 3
| Available
|-
| Channel 4
| Used Cascade channels 0-3
|-
| Channel 5
| Available
|-
| Channel 6
| Available
|-
| Channel 7
| Available
|-
|}
==Keyboard Support==
The physical keyboards are all identical on any XO-1; the firmware manufacturing information indicates which variant of keyboard is installed. We chose to use a 3.3V version of a PS/2 interface to save power. There is no provision for external PS/2 devices to be plugged in.
===Keyboard Power===
The keyboard and touchpad are powered up continuously when the system is in any but the powered down state (BTest-3 or later) to allow the keyboard to trigger a resume of the processor. An design oversight in BTest-1 and BTest-2 means the keyboard is not powered on those versions.
===Keyboard Languages Support===
Language support for a keyboard involves either three or four items:
* The keyboard engravings themselves
* XKB [[Keyboard definitions|definitions]] for keyboard for the window system that defines the behavior of the keyboard. These are found in /usr/share/X11/xkb.
* A console mapping of the keyboard (generally simpler than the full X Window System keyboard definition, since the console is not fully internationalized.
* Possibly input methods for some languages (e.g. Chinese).
A single keyboard design may be capable of supporting multiple languages, and be able to switch from one language to the other.

At this time, keyboard designs have been completed for the following areas:
* [[:Image:Keyboard arabic.jpg|Arabic]]
* [[:Image:Keyboard portuguese.jpg|Brazilian Portuguese]]
* [[:Image:Keyboard azerty.jpg|French]]
* [[:Image:Keyboard west africa.jpg|Nigeria]] (for English, Hausa, Yoruba)
* [[:Image:Keyboard spanish.jpg|Spanish]]
* [[:Image:Keyboard thai.jpg|Thai]]
* [[:Image:Keyboard urdu.jpg|Urdu]]
* [[:Image:Keyboard_english.jpg|US International]] (able to be used for many western European languages)

Which keyboard is installed is encoded in the manufacturing area of the firmware, and the correct keyboard language support installed on software installation.

Additional keyboard definitions are easy to generate: input methods for complex script input may be more involved (though many already exist).
==Touchpad==
The [[Touch Pad/Tablet|touch pad/tablet]] has provision to be "recalibrated" under program command as of BTest-3 (maybe also BTest-2-2). This readjusts the sensitivity of the capacitive sensor. [http://dev.laptop.org/ticket/1407 Trac bug #1407] is being used to track implementation of this power related feature. As a temporary measure, [[Recalibrating Touchpad|recalibrating the touch pad]] can be forced manually.
==Wireless Hardware==
The XO-1 supports 88W8388+88W8015, 802.11b/g compatible; dual adjustable, rotating coaxial antennas; supports diversity reception. It also supports an implementation of what is the evolving 802.11s mesh network draft standard.

The power consumption of the Marvell wireless module has been measured at a bit over 300mw; even with power supply losses, we expect the batteries can power the wireless for > 40 hours (to be measured).

Since the "last kilometer" problem is so great, we are engineering the system to leave the wireless active for as much of the time as possible, since the wireless can run the mesh network autonomously. The module is capable of waking up the CPU via the embedded controller. [http://dev.laptop.org/ticket/1060 Trac #1060] has been established to track the development, integration and verification of autonomous mesh mode.

The wireless firmware dynamically adjusts transmit power; but signal processing in receive dominates power consumption. Marvell has done extensive work to minimize power consumption automatically.

Therefore, we expect to leave the wireless active in all modes except fully powered down (labeled state 1 below); this state also allows us to turn off the USB entirely as there is a signal from the wireless module that allows the XO-1 to be woken up by the wireless firmware.

Additionally, there needs to be an "airplane" mode to meet FAA and similar emissions requirements for on board airplane use, in which the wireless can be disabled. This will not be easy to access, by deliberate design. [http://dev.laptop.org/ticket/1406 Bug #1406] is being used to track this issue.

==Embedded Controller==
The embedded controller is an ENE KB3700: [[Image:KB3700-ds-01.pdf]]. It is used to charge the battery, emulate various legacy devices (e.g. PS/2),
add more GPIO pins (since the Geode does not have enough pins, some signals have to be routed through the EC), boot the system (the SPI flash used to store the firmware is a serial ROM attached to the EC), wake up the system under various circumstances, and other miscellaneous functions. The [[Ec specification|EC specification]] contains detailed information about the commands and protocol used to communicate with the EC. A number of buttons (game pad and buttons, etc.), are interfaced to the EC, and also generate scan codes as though they were keyboard keys, to simplify the programming interface. SCI events are also generated at times to inform the CPU of events, so that the XO-1 can avoid polling interfaces that would otherwise require periodic wake ups.


=Status Indicators=
The XO-1 has a number of status indicators; some of which are on both sides of the main unit.
The picture to the right[[Image:Drawing75c1.jpg|right]] of a BTest-2 system has most of these, though some
will be used in a different fashion than the current use. The final production XO-1 systems will lack the keyboard lights in the picture and add indicator lights for the microphone and camera. A labeled picture of a BTest-3 system will be added as soon as possible (sometime in the last two weeks of May).
==Wireless Lights==
There are two wireless lights. One light looks roughly like an exclamation point, and the other like (*).
These are used to indicate connectivity
* The '''!''' LED is used to indicate association *and* connectivity via infrastructure mode.
* The '''(*)''' LED is used to indicate similar association *and* existence of a mesh portal.
* if neither is lit, then you are trying to use a mesh that is not connected.
* if both are lit, then you know you are a mesh portal for a mesh to the internet.
Note that this behavior has not been implemented yet, and will require work in the NetworkManager daemon, as it is probably the best place that knows if connectivity is available. See [http://dev.laptop.org/ticket/1385 bug #1385] to track progress.
===Power Indicator LED===
This LED indicates the system is powered up. It is controlled by the embedded controller.
===Battery LED===
The battery LED indicates information about the battery.
* if the LED is green, it indicates the battery is fully charged.
* if the LED is orange, it indicates the battery is charging
* if the LED is red, it indicates the battery charge is critically low
* if the LED is red and flashing, it indicates an error in the battery charging system.
This LED is controlled by the embedded controller's battery charging logic.

===Microphone LED===
If the microphone is enabled, the microphone LED is lit. This is a hardware feature than cannot be circumvented.
===Camera LED===
If the camera is powered on, the camera LED will be lit. This is a hardware feature than cannot be circumvented.




==Firmware (BIOS en PC's convencionales)==
==Firmware (BIOS en PC's convencionales)==
Line 73: Line 267:


<div id="Power Management Support"/>
<div id="Power Management Support"/>

==Power Management Support==
==Power Management Support==



Revision as of 06:50, 9 May 2007

  Esta página está supervisada por el equipo de OLPC.
  Traducción de Power Management original  
  english | español | 日本語 | 한국어   +/- cambios  
This is an on-going translation

Administración de potencia