Bug 223190 - devel/dbus: Error org.freedesktop.DBus.Error.UnknownMethod: No such method 'Suspend'
Summary: devel/dbus: Error org.freedesktop.DBus.Error.UnknownMethod: No such method 'S...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-gnome mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-23 16:02 UTC by Piotr Kubaj
Modified: 2017-10-23 16:02 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer 2017-10-23 16:02:22 UTC
I'm trying to make my laptop suspend. I run 11.1-STABLE with KDE. I can suspend just fine with zzz, but can't do it from KDE.

Running:
qdbus org.kde.kded /org/freedesktop/PowerManagement CanSuspend
prints:
true

Running:
qdbus org.kde.kded /org/freedesktop/PowerManagement Suspend
only locks the sceen.

I have traced the problem to DBUS. When I run:
dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend, I get:
Error org.freedesktop.DBus.Error.UnknownMethod: No such method 'Suspend'