Re: + rework-pm_ops-pm_disk_mode-kill-misuse.patch added to -mm tree

Johannes Berg
2007-03-22T15:28:24Z

[-- Attachment #1.1: Type: text/plain, Size: 757 bytes --]

On Thu, 2007-03-22 at 18:23 +0300, Vitaly Wool wrote:
> On 3/22/07, Johannes Berg <johannes@sipsolutions.net> wrote:
> > If you have a platform that doesn't allow CONFIG_SOFTWARE_SUSPEND (which
> > is only suspend to disk) and doesn't have pm_ops either, then you end up
> > with an empty /sys/power/state file.
>
> CONFIG_SOFTWARE_SUSPEND is a misleading name then.

Oh, I don't disagree, but the help text for it makes it amply clear:

config SOFTWARE_SUSPEND
[...]
Enable the suspend to disk (STD) functionality.

You can suspend your machine with 'echo disk > /sys/power/state'.
Alternatively, you can use the additional userland tools available
from <http://suspend.sf.net>.
[...]

johannes

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]