]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] Explanation of sleep levels for swsusp
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 1 Apr 2003 11:52:33 +0000 (03:52 -0800)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Tue, 1 Apr 2003 11:52:33 +0000 (03:52 -0800)
From:  Pavel Machek <pavel@ucw.cz>

Documentation/swsusp.txt

index 6fecfee1756515b72ef24847f74ce958478c30d6..c59eec748e13953705840b617f16dd5606e49ac8 100644 (file)
@@ -156,6 +156,20 @@ Drivers that need support
 - do IDE cdroms need some kind of support?
 - IDE CD-RW -- how to deal with that?
 
+Sleep states summary (thanx, Ducrot)
+====================================
+
+In a really perfect world:
+echo 1 > /proc/acpi/sleep       # for standby
+echo 2 > /proc/acpi/sleep       # for suspend to ram
+echo 3 > /proc/acpi/sleep       # for suspend to ram, but with more power conservative
+echo 4 > /proc/acpi/sleep       # for suspend to disk
+echo 5 > /proc/acpi/sleep       # for shutdown unfriendly the system
+
+and perhaps
+echo 4b > /proc/acpi/sleep      # for suspend to disk via s4bios
+
+
 FAQ:
 
 Q: well, suspending a server is IMHO a really stupid thing,