Bug 28008 - Standby if suspend isn't available
Summary: Standby if suspend isn't available
Status: RESOLVED FIXED
Alias: None
Product: pm-utils
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium enhancement
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2010-05-06 21:45 UTC by Dylan Smith
Modified: 2010-05-31 12:06 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch that adds the requested feature (935 bytes, application/octet-stream)
2010-05-06 21:45 UTC, Dylan Smith
Details

Description Dylan Smith 2010-05-06 21:45:35 UTC
Created attachment 35477 [details]
Patch that adds the requested feature

I have patched pm-utils to allow standby to work even though suspend doesn't work.  To be clear, standby is S1 ACPI power state and suspend is S3 ACPI power state.  The file /sys/power/state will contain "mem" if the linux kernel supports suspend, and will contain "standby" if it supports standby.

On my system only standby is available, so this is the output I get from running the following command:

$ cat /sys/power/state
standby disk
$ sudo pm-suspend; echo $?
1

I have triaged the bug, modified pm-utils so standby to work on my system, and created a patch against the git repository.
Comment 1 Victor Lowther 2010-05-31 12:06:54 UTC
Committed.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.