Bug 28008

Summary: Standby if suspend isn't available
Product: pm-utils Reporter: Dylan Smith <dylan.ah.smith>
Component: GeneralAssignee: Richard Hughes <richard>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: medium Keywords: patch
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Patch that adds the requested feature

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.