hal ChangeLog,1.700,1.701

Richard Hughes hughsient at freedesktop.org
Mon Dec 5 11:45:36 PST 2005


Update of /cvs/hal/hal
In directory gabe:/tmp/cvs-serv11435

Modified Files:
	ChangeLog 
Log Message:
Detect "Software Suspend 2" and set power_management.can_hibernate if found.

Index: ChangeLog
===================================================================
RCS file: /cvs/hal/hal/ChangeLog,v
retrieving revision 1.700
retrieving revision 1.701
diff -u -d -r1.700 -r1.701
--- ChangeLog	2 Dec 2005 17:11:00 -0000	1.700
+++ ChangeLog	5 Dec 2005 19:45:33 -0000	1.701
@@ -1,3 +1,13 @@
+2005-12-05  Richard Hughes <richard at hughsie.com>
+
+	* hald/linux2/osspec.c (set_suspend_hibernate_keys):
+	Software Suspend 2 enabled kernels don't have "disk" in
+	/sys/power/state, but still they can still hibernate.
+	Some older versions have a /proc/software_suspend config directory
+	but new versions switched to the /proc/suspend2 config directory.
+	Add the detection for these to set the correct value for the 
+	power_management.can_hibernate key.
+
 2005-12-02  Richard Hughes <richard at hughsie.com>
 
 	* hald/linux2/acpi.c, hald/linux2/apm.c, hald/linux2/pmu.c:




More information about the hal-commit mailing list