| Summary: | Add support for S1 suspend state | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Eduardo Minguez <eminguez> | ||||
| Component: | pm-utils | Assignee: | Jaroslav Škarvada <jskarvad> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Desktop QE <desktop-qa-list> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | 6.6 | CC: | ahoness, ctrianta, cww, gfigueir, jherrman, jogreene, jskarvad, kdube, peterm, sgruszka, tpelka | ||||
| Target Milestone: | rc | Keywords: | OtherQA, ZStream | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| 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: | Environment: | ||||||
| Last Closed: | 2014-10-14 06:33:45 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 994246, 1005342, 1094293 | ||||||
| Attachments: |
|
||||||
Created attachment 892496 [details]
Proposed fix
Using standby as workaround.
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!