[Pkg-xfce-devel] Bug#718458: Reassigning to upower

brian m. carlson sandals at crustytoothpaste.net
Thu Aug 1 23:39:41 UTC 2013

reassign 718458 upower
retitle 718458 upower: claims sleep is pending when it is not
found 718458 upower/0.9.21-1
notfound 718458 upower/0.9.20-2

When I bypass xfce4-power-manager and use dbus-send, I get the

  vauxhall no % dbus-send --system --print-reply --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend
  Error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

The system suspends, and when it unsuspends, it prints the error
message.  Notably, upon resume network-manager is running but the
network stays down and cannot be enabled through the applet; it has to
be restarted with service.

Subsequent attempts to suspend result in the following:

  vauxhall no % dbus-send --system --print-reply --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend
  Error org.freedesktop.UPower.GeneralError: Sleep has already been requested and is pending

This despite the fact that the machine has resumed and nothing else on
the system thinks sleep is pending.  Restarting upower allows me to
suspend again, once, after which, I get the same response: sleep is

Contrast this with upower 0.9.20-2:

  vauxhall no % dbus-send --system --print-reply --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend
  method return sender=:1.160 -> dest=:1.162 reply_serial=2
  vauxhall ok % dbus-send --system --print-reply --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend
  method return sender=:1.160 -> dest=:1.167 reply_serial=2

And when I bring it out of suspend, network-manager comes back up.  I
suspect the code to shove part of the work off to systemd is broken; I
have used both the sid and experimental versions and upower is broken
with both of them.

brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20130801/adbf0baf/attachment.sig>

More information about the Pkg-xfce-devel mailing list