diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-04-10 06:01:59 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-04-10 06:01:59 -0400 |
commit | be770021011f00bd6220c87876292053221ca5f1 (patch) | |
tree | 004a568289a595082119064edf07503170153c19 /Documentation/power | |
parent | e5e02de0665ef2477e7a018193051387c6fe0fbc (diff) | |
parent | f321c9cbf3bbf86f6e6153419eaf93ad085e3d74 (diff) |
Merge back earlier suspend/hibernate material for v4.1.
Diffstat (limited to 'Documentation/power')
-rw-r--r-- | Documentation/power/basic-pm-debugging.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Documentation/power/basic-pm-debugging.txt b/Documentation/power/basic-pm-debugging.txt index edeecd447d23..b96098ccfe69 100644 --- a/Documentation/power/basic-pm-debugging.txt +++ b/Documentation/power/basic-pm-debugging.txt | |||
@@ -75,12 +75,14 @@ you should do the following: | |||
75 | # echo platform > /sys/power/disk | 75 | # echo platform > /sys/power/disk |
76 | # echo disk > /sys/power/state | 76 | # echo disk > /sys/power/state |
77 | 77 | ||
78 | Then, the kernel will try to freeze processes, suspend devices, wait 5 seconds, | 78 | Then, the kernel will try to freeze processes, suspend devices, wait a few |
79 | resume devices and thaw processes. If "platform" is written to | 79 | seconds (5 by default, but configurable by the suspend.pm_test_delay module |
80 | parameter), resume devices and thaw processes. If "platform" is written to | ||
80 | /sys/power/pm_test , then after suspending devices the kernel will additionally | 81 | /sys/power/pm_test , then after suspending devices the kernel will additionally |
81 | invoke the global control methods (eg. ACPI global control methods) used to | 82 | invoke the global control methods (eg. ACPI global control methods) used to |
82 | prepare the platform firmware for hibernation. Next, it will wait 5 seconds and | 83 | prepare the platform firmware for hibernation. Next, it will wait a |
83 | invoke the platform (eg. ACPI) global methods used to cancel hibernation etc. | 84 | configurable number of seconds and invoke the platform (eg. ACPI) global |
85 | methods used to cancel hibernation etc. | ||
84 | 86 | ||
85 | Writing "none" to /sys/power/pm_test causes the kernel to switch to the normal | 87 | Writing "none" to /sys/power/pm_test causes the kernel to switch to the normal |
86 | hibernation/suspend operations. Also, when open for reading, /sys/power/pm_test | 88 | hibernation/suspend operations. Also, when open for reading, /sys/power/pm_test |