Please implement in-kernel suspend to both
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
High
|
Ara Pulido | ||
Precise |
Fix Released
|
High
|
Ara Pulido | ||
pm-utils |
Won't Fix
|
Medium
|
|||
pm-utils (CentOS) |
Fix Released
|
Undecided
|
|||
pm-utils (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Medium
|
Unassigned |
Bug Description
From kernel-3.6 there is in-kernel support for suspend to both (AKA hybrid suspend). Working patches can be found at https:/
[Impact]
* Ubuntu 12.04 implements hybrid suspend differently. It suspends first and wakes up
the computer for hibernation 15 minutes later. This is risky since the computer may be
carried when the wakeup happens. The hard disk may experience physical shocks and get
damaged.
* Thus, it is desirable to have a real hybrid suspend implementation. In-kernel hybrid
suspend has been supported since kernel 3.6+. pm-utils only needs a small patch to
enable this feature.
[Test Case]
* Ensure all Ubuntu 12.04 packages are up-to-date in the test environment.
Install pm-utils 1.4.1-9ubuntu1
Install linux-image-
* Reboot the computer with lts-raring kernel. Run the command: 'pm-suspend-hybrid' from a
terminal. After the computer suspends, press the power button. It should be able to
resume from suspension correctly.
* Run the command above again. After it suspends, remove and reconnect its power supply
(or its battery). Press the power button. It should be able to resume from hibernation
correctly.
* Reboot with the default 3.2 kernel, Run the command above.
The computer should be able to suspend and then wake up for hibernation 15 minutes
later.
[Regression Potential]
* This patch won't affect users who still use 3.2 kernel. It only enables in-kernel
hybrid suspend if the option 'suspend' is available from /sys/power/disk.
Related branches
- Martin Pitt: Approve
-
Diff: 99 lines (+66/-0)4 files modifieddebian/changelog (+6/-0)
debian/patches/28-suspend-hybrid.patch (+39/-0)
debian/patches/series (+1/-0)
pm/pm-functions.in (+20/-0)
- Martin Pitt: Approve
-
Diff: 100 lines (+66/-0)4 files modifieddebian/changelog (+6/-0)
debian/patches/28-suspend-hybrid.patch (+39/-0)
debian/patches/series (+1/-0)
pm/pm-functions.in (+20/-0)
Changed in pm-utils (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → Medium |
Changed in pm-utils: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in oem-priority: | |
importance: | Undecided → High |
Changed in oem-priority: | |
assignee: | nobody → Ara Pulido (apulido) |
description: | updated |
tags: | added: verification-done-precise |
Changed in oem-priority: | |
status: | New → Fix Released |
Changed in pm-utils (CentOS): | |
importance: | Unknown → Undecided |
status: | Unknown → Fix Released |
Changed in pm-utils: | |
status: | Confirmed → Won't Fix |
Created attachment 64764
Add support for in-kernel suspend to both.
From kernel-3.6 there is in-kernel support for suspend to both (AKA hybrid suspend).
Original report with patch from Bojan (also added as attachment): /bugzilla. redhat. com/show_ bug.cgi? id=843657
https:/