[Bug 41926] Re: Software suspend is no longer located in /proc/software_suspend

Dan dan at digitaldan.com
Mon May 1 14:55:38 UTC 2006


This patch adds suport for newer versions of suspend2, could the maintainer send this upstream to KDE?  Thanks for you time.

Dan-

--- kdeutils-3.5.2/klaptopdaemon/portable.cpp   2006-05-01 08:14:39.000000000 -0600
+++ orig/kdeutils-3.5.2/klaptopdaemon/portable.cpp      2006-01-19 09:49:17.000000000 -0700
@@ -578,8 +578,7 @@
                known = last_seed;
                available = 0;
                present = (((::access("/proc/sys/kernel/swsusp", F_OK) == 0) ||
-                            (::access("/proc/software_suspend", F_OK) == 0) ||
-                           (::access("/proc/suspend2", F_OK) == 0)) &&
+                            (::access("/proc/software_suspend", F_OK) == 0)) &&
                           ::access("/usr/sbin/hibernate", F_OK) == 0);
                if (present) {
                        if (::getuid() == 0) {  // running as root

-- 
Software suspend is no longer located in /proc/software_suspend
https://launchpad.net/bugs/41926




More information about the kubuntu-bugs mailing list