OHM power management

From OLPC
Revision as of 23:38, 29 August 2007 by Jg (talk | contribs)
Jump to navigation Jump to search
  This page is monitored by the OLPC team.
  Please copy/paste "{{Translationlist | xx | origlang=en | translated={{{translated}}}}}" (where xx is ISO 639 language code for your translation) to OHM power management/translations HowTo [ID# 62742]  +/-  

OHM Policy

  • On momentary power button: turn off screen, suspend machine, leave keyboard and wireless on; keyboard/touchpad will cause instant on again.
  • On lid close on battery, should turn off keyboard, turn off screen, Then should suspend to RAM, including disabling and powering down wireless
  • On lid close on power, leave the machine on and running, turn off the screen, turn off the backlight.
  • On lid open, turn on keyboard, reset keyboard, resume from suspend, turn wireless back on, tell NM to reassociate (maybe only after some delay), try previous association first, of course...
  • On ebook mode, should turn off keyboard #2770
  • On lid open, should reset keyboard #2770
  • On ebook to non-ebook mode, should reset keyboard #2770
  • On external power supply on *or* off, should reset touchpad #1407
  • rotate should probably be done by OHM.

When we are suspended, and the battery wakes us up because it is "low", then: Graceful shutdown after journal has been notified; we may do hibernation someday if enough flash is available.

Task: Tune the default DPMS parameters.

Note: "xset dpms force off" will turn off the screen; this will call the device driver as well as tell X the correct state.

Reset keyboard instructions are in trac.

The big question is: how to do idle?

X DPMS extension? X SS extension? cpuidle kernel patch, about to go mainline in Linux, with module to tell ohm the system has been idle? other ideas?