kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #95015
Re: [Bug 1394394] Re: pm-suspend-wakeup-hibernate (aka pm-suspend-hybrid before 3.6)
Hi,
sorry but I currently don't have access to that machine. The information
I gave (14.04LTS, pm-utils 1.4.1-13ubuntu0.1) should be sufficient.
Relevant part is in /usr/lib/pm-utils/pm-functions, near the end:
...
# for kernels that support suspend to both (i.e. hybrid suspend)
# since kernel 3.6
...
The suspend-wakeup-hibernate mechanism would be selected in the section
below that, but since the script finds that the kernel on Ubuntu 14.04
is recent enough to support a true "hybrid suspend" (suspend-to-both),
this is never reached (because SUSPEND_HYBRID_MODULE variable is already
set).
pm-utils as they come with Ubuntu offer
- pm-suspend (suspend-to-ram, no power off)
- pm-hibernate (suspend-to-disk, power off)
- pm-suspend-hybrid (suspend-to-both, no power off)
My patch adds another method
- pm-suspend-wakeup-hibernate (suspend-to-ram, wakeup after timeout,
hibernate, power off)
You just have to either add a new symlink:
ln -s /usr/lib/pm-utils/pm-functions \
/usr/sbin/pm-suspend-wakeup-hibernate
or assign "suspend_wakeup_hibernate" to SUSPEND_HYBRID_MODULE in one of
the config files, but then you lose the suspend-to-both functionality.
This might be useful if suspend-to-both does not work reliably on a
specific machine.
Regards
Matthias
On Fri, Dec 05, 2014 at 08:57:36PM -0000, Christopher M. Penalver wrote:
> Matthias Ferdinand, could you please execute the following via a terminal in order for the necessary debugging information to be attached:
> apport-collect 1394394
>
> ** Package changed: pm-utils (Ubuntu) => linux (Ubuntu)
>
> ** Changed in: linux (Ubuntu)
> Importance: Undecided => Low
>
> ** Changed in: linux (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1394394
>
> Title:
> pm-suspend-wakeup-hibernate (aka pm-suspend-hybrid before 3.6)
>
> Status in linux package in Ubuntu:
> Incomplete
>
> Bug description:
> Ubuntu 14.04LTS
> pm-utils 1.4.1-13ubuntu0.1
>
> before kernel 3.6, pm-suspend-hybrid would do suspend/wakeup/hibernate
> (with full power-off).
>
> since kernel 3.6, pm-suspend-hybrid will do suspend-to-both (without full power-off).
> The old functionality is not available any more. At times I would prefer using the old
> method, but pm-utils does not offer it anymore.
>
> Attached patch adds back the old functionality, either by
> - setting SUSPEND_HYBRID_MODULE variable to "suspend_wakeup_hibernate"
> in some /etc/pm/config.d- or /etc/pm/pm-suspend.config.d- File
> - invoking /usr/lib/pm-utils/bin/pm-action from a symlink called pm-suspend-wakeup-hibernate
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1394394/+subscriptions
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1394394
Title:
pm-suspend-wakeup-hibernate (aka pm-suspend-hybrid before 3.6)
Status in linux package in Ubuntu:
Incomplete
Bug description:
Ubuntu 14.04LTS
pm-utils 1.4.1-13ubuntu0.1
before kernel 3.6, pm-suspend-hybrid would do suspend/wakeup/hibernate
(with full power-off).
since kernel 3.6, pm-suspend-hybrid will do suspend-to-both (without full power-off).
The old functionality is not available any more. At times I would prefer using the old
method, but pm-utils does not offer it anymore.
Attached patch adds back the old functionality, either by
- setting SUSPEND_HYBRID_MODULE variable to "suspend_wakeup_hibernate"
in some /etc/pm/config.d- or /etc/pm/pm-suspend.config.d- File
- invoking /usr/lib/pm-utils/bin/pm-action from a symlink called pm-suspend-wakeup-hibernate
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1394394/+subscriptions
References