Re: Suspend and hibernation status report
From: Rafael J. Wysocki
Date: Sat Sep 08 2007 - 17:29:33 EST
On Wednesday, 5 September 2007 01:32, Len Brown wrote:
> On Friday 27 July 2007 04:57, Rafael J. Wysocki wrote:
>
> Thanks for writing this, Rafael.
>
> > * system hibernation state - state, in which the system's processors are off and
> > its main memory is not powered, but the information necessary for continuing
> > the computations carried out when the system was last in a working state is
> > preserved in a storage space, such as a disk
> > * ACPI S4 state - system hibernation state, in which some information is
> > preserved by the ACPI platform, in accordance with the ACPI specification
>
> "some information is preserved by the ACPI platform" is sort of mis-leading.
> What ACPI adds to the hibernate flow is some platform hooks to handle
> wakeup devices, and a platform hook for the actual sleep request.
> I'm not aware of any information saved by ACPI during S4 that is
> not saved were the hibernate to be done with "acpi=off".
Well, I am.
On HPC nx6325 the status of AC adapter after the restore is not reported
correctly if hibernation is done without the ACPI hooks (eg. if you hibernate
with the AC connected and then disconnect it and resume, it will still be
reported as connected until you plug/unplug it).
There are more machines that behave similarly, AFAICT.
Greetings,
Rafael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/