Public bug reported:

Binary package hint: pm-utils

After setting SLEEP_MODULE in /etc/pm/config.d/00sleep_module to
"uswsusp", suspend becomes impossible. This is a regression, because in
Hardy, suspend was possible even when uswsusp was chosen as the suspend
method.

The reason for this bug is that the uswsusp code in pm-utils tries to
use s2ram to suspend, which does not exist, because its build was
disabled (see Bug #134238).  In previous versions, pm-utils fell back
onto the kernel method when it could not find s2ram. This bug appeared
in Bug #267141 when pm-utils auto-detected uswsusp and used it instead
of the kernel method. The resolution for Bug #267141 in a patch provided
by James Westby was to remove the auto-detection code completely, but
that does not fix the issue I have highlighted.

And finally, there are two possible fixes (which I can see) for this:
1. Patch /usr/lib/pm-utils/module.d/uswsusp to fall back on kernel for 
check_suspend and do_suspend (The attached patch will do just that)
2. Re-enable the s2ram build in uswsusp

** Affects: pm-utils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
[Intrepid] Suspend fails when telling pm-utils to use uswsusp
https://bugs.launchpad.net/bugs/287374
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to