https://bugs.kde.org/show_bug.cgi?id=498298

--- Comment #5 from Stephan Diestelhorst <stephan.diestelho...@gmail.com> ---
I have been reading the powerdevil source code a bit.  It seems there are two
ways to get to suspend:

* runner actions -> these seem to be talking to logind directly, and I think
they are the ones invoked by KMenu and Krunner -> these seem to work
* daemon actions -> these eventually seem to be turned into DBus commands to
org.freedesktop.PowerManagement -> these don't work

Manually trying
  $ qdbus org.freedesktop.PowerManagement /org/freedesktop/PowerManagement
Suspend
does nothing.

Some more information:
  $  qdbus org.freedesktop.PowerManagement /org/freedesktop/PowerManagement
CanSuspend
  true
  $ qdbus org.freedesktop.PowerManagement
/org/freedesktop/PowerManagement/Inhibit HasInhibit
  false

This seems to suggest that whatever hangs on the other side of that DBus port
is not doing the right thing.  I will keep digging as time permits, hope me
logging stuff here is okay.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to