Previously, pm-utils did not support the Advanced Configuration and Power Interfaces (ACPI) S1 (Power on Suspend) power state. As a consequence, when BIOS supported the ACPI S3 (Suspend to RAM) power state but not the S1 power state, the "pm-suspend" command failed. This update introduces support for the S1 power state, and if the S3 power state is not supported by BIOS, pm-suspend now triggers the S1 power state.
DescriptionEduardo Minguez
2013-10-30 18:05:31 UTC
Description of problem:
Trying to suspend by running "pm-suspend" to S1 acpi state (standby) doesn't work
Version-Release number of selected component (if applicable):
pm-utils-1.2.5-10
How reproducible:
Configure the BIOS for suspend only to S1 state and run pm-suspend
Steps to Reproduce:
1. Configure BIOS settings to allow acpi suspension only to S1 state
2. Execute pm-suspend
Actual results:
pm-suspend exits (code error 0) but the computer is not suspended
Expected results:
pm-suspend works by changing the acpi state to S1
Additional info:
I've seen in /usr/lib/pm-utils/pm-functions that changing the following works:
# diff pm-functions pm-functions.old
257c257
< if grep -q standby /sys/power/state; then
---
> if grep -q mem /sys/power/state; then
259c259
< do_suspend() { echo -n "standby" >/sys/power/state; }
---
> do_suspend() { echo -n "mem" >/sys/power/state; }
Sorry for the ugly workaround!
Comment 7Jaroslav Škarvada
2014-05-05 11:40:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHBA-2014-1455.html
Description of problem: Trying to suspend by running "pm-suspend" to S1 acpi state (standby) doesn't work Version-Release number of selected component (if applicable): pm-utils-1.2.5-10 How reproducible: Configure the BIOS for suspend only to S1 state and run pm-suspend Steps to Reproduce: 1. Configure BIOS settings to allow acpi suspension only to S1 state 2. Execute pm-suspend Actual results: pm-suspend exits (code error 0) but the computer is not suspended Expected results: pm-suspend works by changing the acpi state to S1 Additional info: I've seen in /usr/lib/pm-utils/pm-functions that changing the following works: # diff pm-functions pm-functions.old 257c257 < if grep -q standby /sys/power/state; then --- > if grep -q mem /sys/power/state; then 259c259 < do_suspend() { echo -n "standby" >/sys/power/state; } --- > do_suspend() { echo -n "mem" >/sys/power/state; } Sorry for the ugly workaround!