* Yamaban <foerster@lisas.de> [2013-06-07 00:36]:
On Thu, 6 Jun 2013 23:43, Carlos E. R. <robin.listas@...> wrote:
On 2013-06-06 23:40, Cristian Rodríguez wrote:
El 06/06/13 17:36, Carlos E. R. escribió:
rescate1:~ # systemctl suspend A dependency job for suspend.target failed. See 'journalctl -n' for details. rescate1:~ #
This is a different machine ? you first said it worked fine now that it does not work .. it is either one or the other :-)
No, I mistyped here the wrong command. Hibernate works, suspend does not.
I have restored pm-utils, suspend from xfce menu is simply ignored, nothing done.
on xfce: /usr/lib64/xfce4/panel/plugins/libactions.so (Actions-Menu)
uses dbus to call upon: "org.xfce.Session.Manager" or "/org/xfce/SessionManager" or "org.xfce.SessionManager" (found "org.xfce.SessionManager" for OSS 12.3)
and looks for Methods: CanRestart Restart CanSuspend Suspend CanHibernate Hibernate
/usr/bin/xfce4-session implements these, somewhere in there: xfsm-(hibernate|suspend) xfsm_consolekit_(can|try)_restart xfsm_manager_dbus_can_(hibernate|restart|suspend) xfsm_manager_dbus_(hibernate|restart|suspend) xfsm_manager_restart xfsm_shutdown_can_(hibernate|restart|suspend) xfsm_shutdown_try_(hibernate|restart|suspend) xfsm_upower_can_(hibernate|suspend) xfsm_upower_try_hibernate|suspend)
just where the pm-utils come to play is mysterious, most likely via pm-is-supported.
Nothing mysteriuos about it, both xfce4-session and xfce4-power-manager simply use the upower DBus API in order to suspend/hibernate and to determine whether the machine supports it. -- Guido Berhoerster -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org