[opensuse] How to test hibernation without pm-utils?
All, For a bug I'm trying to help test, they asked me to remove pm-utils and then hibernate my laptop? How do I do that? It seems to just run and run without pm-utils installed. Thanks Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 03/05/2013 01:11 AM, Greg Freemyer wrote:
All,
For a bug I'm trying to help test, they asked me to remove pm-utils and then hibernate my laptop?
How do I do that? It seems to just run and run without pm-utils installed.
- remove package pm-utils - issue systemctl hibernate if you are testing a problem with suspend/hibernate from a desktop environment, tell us which one . -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El mar 05 mar 2013 02:00:01 CLST, Cristian Rodríguez escribió:
On 03/05/2013 01:11 AM, Greg Freemyer wrote:
All,
For a bug I'm trying to help test, they asked me to remove pm-utils and then hibernate my laptop?
How do I do that? It seems to just run and run without pm-utils installed.
- remove package pm-utils - issue systemctl hibernate
if you are testing a problem with suspend/hibernate from a desktop environment, tell us which one .
Just FYI, if you issue an hibernate from a desktop environment, different things may happend depending on which DE. - It may call upower 's org.freedesktop.UPower dbus method, which in turns calls pm-utils . it should not do that, as the upower suspend/hibernate interface will go away. - it may just call pm-utils, if it does just that.. RUN away! - Current versions of KDE (KDE:Factory) and GNOME call org.freedesktop.login1.Manager.Hibernate. that is , they ask systemd-logind to take care of the problem. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 El 2013-03-04 a las 23:11 -0500, Greg Freemyer escribió:
All,
For a bug I'm trying to help test, they asked me to remove pm-utils and then hibernate my laptop?
How do I do that? It seems to just run and run without pm-utils installed.
Why don't you ask them? At the bugzilla, I mean, they should know. There is a way to hibernate a machine from the kernel. I think it is triggered by writing something to /proc. Old links: http://en.opensuse.org/S2ram http://en.opensuse.org/Pm-utils http://en.opensuse.org/Pm-utils_10.2 http://en.opensuse.org/Projects_KPowersave http://en.opensuse.org/NVidia_Suspend_HOWTO http://en.opensuse.org/ACPI_Suspend_debugging - -- Cheers Carlos E. R. (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iF4EAREIAAYFAlE2LDYACgkQja8UbcUWM1xzFAEAhti41Bd3nCU7JkWGriAHfSxc OiduuW3cZorez0PeLIgA/2NsFkt4qoOnlKwpqKWgJlU9Sg5e+UGpvowBwzYsP4g0 =Gdei -----END PGP SIGNATURE-----
El 05/03/13 14:32, Carlos E. R. escribió:
There is a way to hibernate a machine from the kernel. I think it is triggered by writing something to /proc.
This is exactly what systemctl hibernate does, the equivalent to - runs all scripts present in /usr/lib/systemd/systemd-sleep (currently none, bugs must be fixed in the kernel or in the particular application that fails suspend/hibernate) - echo platform > /sys/power/disk - echo disk > /sys/power/state
Old links:
http://en.opensuse.org/S2ram http://en.opensuse.org/Pm-utils http://en.opensuse.org/Pm-utils_10.2 http://en.opensuse.org/Projects_KPowersave http://en.opensuse.org/NVidia_Suspend_HOWTO http://en.opensuse.org/ACPI_Suspend_debugging
Not much of that is valid nowdays. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Carlos E. R.
-
Cristian Rodríguez
-
Greg Freemyer