Bug 1025006 - Add support for S1 suspend state
Add support for S1 suspend state
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: pm-utils (Show other bugs)
Unspecified Unspecified
urgent Severity high
: rc
: ---
Assigned To: Jaroslav Škarvada
Desktop QE
: OtherQA, ZStream
Depends On:
Blocks: 994246 1005342 1094293
  Show dependency treegraph
Reported: 2013-10-30 14:05 EDT by Eduardo Minguez
Modified: 2014-10-14 02:33 EDT (History)
11 users (show)

See Also:
Fixed In Version: pm-utils-1.2.5-11.el6
Doc Type: Bug Fix
Doc Text:
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.
Story Points: ---
Clone Of:
Last Closed: 2014-10-14 02:33:45 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Proposed fix (542 bytes, patch)
2014-05-05 07:40 EDT, Jaroslav Škarvada
no flags Details | Diff

  None (edit)
Description Eduardo Minguez 2013-10-30 14:05:31 EDT
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):

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 
    < 	if grep -q standby /sys/power/state; then
    > 	if grep -q mem /sys/power/state; then
    < 		do_suspend() { echo -n "standby" >/sys/power/state; }
    > 		do_suspend() { echo -n "mem" >/sys/power/state; }

Sorry for the ugly workaround!
Comment 7 Jaroslav Škarvada 2014-05-05 07:40:53 EDT
Created attachment 892496 [details]
Proposed fix

Using standby as workaround.
Comment 13 errata-xmlrpc 2014-10-14 02:33:45 EDT
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.


Note You need to log in before you can comment on or make changes to this bug.