http://bugzilla.novell.com/show_bug.cgi?id=589294
http://bugzilla.novell.com/show_bug.cgi?id=589294#c6
--- Comment #6 from Stefan Assmann
line tool but only a lengthy d-bus call to get the same functionality:
For suspend to ram:
$ dbus-send --system --print-reply --dest=org.freedesktop.Hal \ /org/freedesktop/Hal/devices/computer \ org.freedesktop.Hal.Device.SystemPowerManagement.Suspend int32:0
This worked but only with sudo! Otherwise I get sassmann@linux-xvs9:~> dbus-send --system --print-reply --dest=org.freedesktop.Hal \
/org/freedesktop/Hal/devices/computer \ org.freedesktop.Hal.Device.SystemPowerManagement.Suspend int32:0
Error org.freedesktop.Hal.Device.UnknownError: error: org.freedesktop.Hal.Error: Could not determine whether caller is privileged org.freedesktop.Hal.Device.Error S2RAM works!
For suspend to disk:
$ dbus-send --system --print-reply --dest=org.freedesktop.Hal \ /org/freedesktop/Hal/devices/computer \ org.freedesktop.Hal.Device.SystemPowerManagement.Hibernate
same here, the command only executes as root! However I get the funky new sleeping penguin splashscreen and the progress bar goes up to 3/4 and then the system freezes. :( After rebooting I couldn't get my network to run anymore with networkmanger. The applet only show "Network not managed" or something like that and no more networking options are available. I needed to switch to ifup-method to gain network again :-/
If that still fails, try pm-suspend/pm-hibernate as root.
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.