Re: ACPI suspend/hibernate tests (was: ACPI power off regression in 2.6.23-rc8)

Frans Pop
2007-09-25T22:29:21Z

On Wednesday 26 September 2007, Rafael J. Wysocki wrote:
> > I compiled kernels (i386) for my laptop (Toshiba Satellite A40) with:
> > A) PM + SUSPEND + HIBERNATION + ACPI
> > B) PM + SUSPEND + ACPI
> > C) PM + HIBERNATION + ACPI
> > D) PM + ACPI
> > E) PM + SUSPEND + HIBERNATION but _without_ ACPI
> > F) without PM
>
> Thanks a lot for testing this!

You're welcome. Until 2.6.20 or .21 s2ram never worked for me and even then
sound did not work after resume. Now it seems to be supported perfectly, so
my thanks to all of you!
Pity this laptop is slowly nearing end of life (3.5 years old, though still
performing fine).

> > RESULTS
> > boot s2ram s2disk off
> > A) OK OK OK OK
> > B) OK OK N/A OK
> > C) OK OK 1) OK OK
> > D) OK 2) OK 1) N/A OK
> > E) OK 3) N/A 4) ??? 5) Only halted 6)
> > F) OK N/A N/A Only halted 6)
> >
> > Comments:
> > 1) sleep script ran, but laptop stayed on
> > 2) dmesg lists S0,S5 supported
> > /proc/acpi/{sleep,wakeup} do not exist (is that correct?)
> > 3) /proc/acpi/{sleep,wakeup} do not exist; /sys/power/state only has
> > 'mem'
>
> Hm, this should be 'disk' ...
>
> > so SUSPEND seems missing even though compiled in
>
> ... but it so follows from this comment. Can you clarify, please?

Yes, my mistake. For E) /sys/power/state only has "disk", not "mem".

> I think that your results reflect the code pretty well, ie. no big
> surprises.

Great. That was what I was thinking. Thanks for confirming.