If this is not already done, please consider this patch to detect suspend2 at 
the new /sys/power/suspend2 location.

Thanks.

-- 
Pat Double, [EMAIL PROTECTED]
"In the beginning God created the heaven and the earth."
--- ./daemon/pm_interface.cpp.orig	2006-09-01 15:44:20.000000000 -0500
+++ ./daemon/pm_interface.cpp	2006-09-01 15:45:11.000000000 -0500
@@ -631,7 +631,8 @@
 
 bool PM_Interface::haveSuspend2()
 {
-	if (access("/proc/suspend2", F_OK) < 0) {
+	if (access("/proc/suspend2", F_OK) < 0
+		&& access("/sys/power/suspend2", F_OK) < 0) {
                 return false;
 	}
 

Attachment: pgpGDpnvfmhCg.pgp
Description: PGP signature

_______________________________________________
powersave-devel mailing list
[email protected]
http://forge.novell.com/mailman/listinfo/powersave-devel

Reply via email to