[Pkg-systemd-maintainers] Bug#717661: New suspend functionality causes double-suspend for environments not supporting the inhibit API

Matthias Liertzer matthias at liertzer.at
Tue Jul 23 20:30:23 BST 2013


Hi,

I think I experience this bug as well. In my case I'm using GNOME from 
unstable and suspending the laptop by closing the lid results in the 
laptop not waking up when I open the lid again. However, if I suspend 
manually via the gnome menu, the PC wakes up as expected. Furthermore 
the bug doesn't appear when switching back to sysv.

Regarding gnome-power-manager, isn't most of the logic regarding 
suspending and shutdown located in upower? I just had a quick look at 
the package and it seems to enable deprecated behavior in debian by 
default for enabling/disabling resume/suspend.

 From the debian changelog:
   * Add no_deprecation_define.patch: Do not require applications to define
     UPOWER_ENABLE_DEPRECATED to access suspend/resume functionality. We are
     not ready to do that yet in Debian.

It would be clever to ask Martin Pitt about this, as he committed the 
last version of upower including this patch.

Best,
Matthias




More information about the Pkg-systemd-maintainers mailing list