diff options
author | Bojan Smojver <bojan@rexursive.com> | 2012-06-15 18:09:58 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-07-01 07:31:22 -0400 |
commit | 62c552ccc3eda1198632a4f344aa32623d226bab (patch) | |
tree | fbd85e76542a715a8e988dddb59e3df859939fb5 /Documentation/power | |
parent | 6887a4131da3adaab011613776d865f4bcfb5678 (diff) |
PM / Hibernate: Enable suspend to both for in-kernel hibernation.
It is often useful to suspend to memory after hibernation image has been
written to disk. If the battery runs out or power is otherwise lost, the
computer will resume from the hibernated image. If not, it will resume
from memory and hibernation image will be discarded.
Signed-off-by: Bojan Smojver <bojan@rexursive.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'Documentation/power')
-rw-r--r-- | Documentation/power/swsusp.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/power/swsusp.txt b/Documentation/power/swsusp.txt index ac190cf1963e..92341b84250d 100644 --- a/Documentation/power/swsusp.txt +++ b/Documentation/power/swsusp.txt | |||
@@ -33,6 +33,11 @@ echo shutdown > /sys/power/disk; echo disk > /sys/power/state | |||
33 | 33 | ||
34 | echo platform > /sys/power/disk; echo disk > /sys/power/state | 34 | echo platform > /sys/power/disk; echo disk > /sys/power/state |
35 | 35 | ||
36 | . If you would like to write hibernation image to swap and then suspend | ||
37 | to RAM (provided your platform supports it), you can try | ||
38 | |||
39 | echo suspend > /sys/power/disk; echo disk > /sys/power/state | ||
40 | |||
36 | . If you have SATA disks, you'll need recent kernels with SATA suspend | 41 | . If you have SATA disks, you'll need recent kernels with SATA suspend |
37 | support. For suspend and resume to work, make sure your disk drivers | 42 | support. For suspend and resume to work, make sure your disk drivers |
38 | are built into kernel -- not modules. [There's way to make | 43 | are built into kernel -- not modules. [There's way to make |