What you describe would not save much power I think. Switch off LCD, spin down disk, reduce CPU to lowest state, power down what peripherals you can -- would at most double your battery life. A suspended laptop can go days before it drains. And suspend-to-RAM works well on most laptops these days. Suspend-to-disk is the problem and it is what tuxonice is about.
On my current machine, suspend-to-RAM is all I need. Though suspend-to-disk (uswsusp, not tuxonice) works too.
Posted Dec 16, 2009 11:03 UTC (Wed) by michaeljt (subscriber, #39183)
[Link]
What is missing then that is drawing power? (Obviously I realise something must be, or people
would already be doing what I said...)
The abrupt merging of...
Posted Dec 16, 2009 13:33 UTC (Wed) by Cyberax (✭ supporter ✭, #52523)
[Link]
DRAM refresh and CPU, mostly.
The abrupt merging of...
Posted Dec 16, 2009 13:47 UTC (Wed) by michaeljt (subscriber, #39183)
[Link]
And are those components not sufficiently well known, or not sufficiently well identifiable (I know
that the last doesn't apply to the CPU, but I don't know much about DRAM) that this can't be done
by driver code without reading ACPI information?
The abrupt merging of...
Posted Dec 16, 2009 14:53 UTC (Wed) by mjg59 (subscriber, #23239)
[Link]
Suspending the CPU means that when power is reapplied it'll jump to its default start address. The
kernel can't put code there, so performing suspend to RAM on commodity x86 without firmware
assistance is impossible.
The abrupt merging of...
Posted Dec 17, 2009 18:39 UTC (Thu) by michaeljt (subscriber, #39183)
[Link]
> Suspending the CPU means that when power is reapplied it'll jump to its default start address.
> The kernel can't put code there, so performing suspend to RAM on commodity x86 without
> firmware assistance is impossible.
Is there really no known way to do this without assistance from the ACPI BIOS? I'm no expert, but
my understanding was that DOS extenders did this all the time to switch from protected back to
real mode at a time when there was no ACPI.
The abrupt merging of...
Posted Dec 17, 2009 18:49 UTC (Thu) by mjg59 (subscriber, #23239)
[Link]
In S3, the processor has no stored state. "Resume" is equivalent to the machine being turned on
from scratch as far as it's concerned. It's up to the BIOS to check a flag to determine whether it's a
cold power on or a resume.
Performing a full resume cycle is hard. You need to reprogram the memory controller, bring the
embedded controller up, dump values back into the thermal monitoring hardware and any number
of low-level initialisations. Only once that's been done does control get passed back to the OS,
which has absolutely no idea how any of that hardware works.