[lkml]   [2009]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFD] Automatic suspend
Hi Mark,

> Putting the wake on key event issue aside, is it possible to have
> wake up's on the ms time scale? I ask because I thought the XO did
> exactly this (but left the screen live).

We're currently at 890ms for suspend+resume with USB on, and 180ms for
suspend+resume when booted "nousb". Anything done upstream to make the
first number closer to the second one will be very valuable to us.

> Why does it take 20 sec to get into or out of S3 on my laptop?

We found that the SMM version of S3 in our original development BIOS
also took that long. We switched to using Open Firmware, turned off
ACPI, worked out exactly which registers to use to enter S3, and
scheduled device reinitialization such that hardware-required delays
(such as clock stabilization for our GPU) start in the right order to
keep the critical path short.

The main difference was the switch away from the vendor BIOS, though --
we were seeing something like a five-second delay between Linux entering
S3 and the hardware noticing and putting the system into suspend, for
example. There's not much market pressure to write efficient EC code
for suspend/resume. (Or, we discovered, to write EC code that's able
to handle suspend/resume more than a hundred times per boot without

- Chris.
Chris Ball <>

 \ /
  Last update: 2009-02-18 18:35    [W:1.677 / U:0.404 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site