Mailinglist Archive: opensuse-factory (667 mails)

< Previous Next >
[opensuse-factory] Re: Hibernation/suspend with systemd - documented? Where?
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.

- Yamaban.
< Previous Next >