hal/hald/linux2 acpi.c,1.42,1.43 apm.c,1.14,1.15 pmu.c,1.17,1.18
Richard Hughes
hughsient at freedesktop.org
Fri Dec 2 09:11:03 PST 2005
Update of /cvs/hal/hal/hald/linux2
In directory gabe:/tmp/cvs-serv29267/hald/linux2
Modified Files:
acpi.c apm.c pmu.c
Log Message:
Now we have can_suspend and can_hibernate we should remove the power_management.is_enabled key
Index: acpi.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux2/acpi.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- acpi.c 1 Dec 2005 17:32:50 -0000 1.42
+++ acpi.c 2 Dec 2005 17:11:00 -0000 1.43
@@ -852,7 +852,6 @@
}
/* Set appropriate properties on the computer object */
- hal_device_property_set_bool (computer, "power_management.is_enabled", TRUE);
hal_device_property_set_string (computer, "power_management.type", "acpi");
hal_util_set_string_elem_from_file (computer, "power_management.acpi.linux.version",
"/proc/acpi", "info", "version", 0, FALSE);
Index: apm.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux2/apm.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- apm.c 8 Nov 2005 11:48:17 -0000 1.14
+++ apm.c 2 Dec 2005 17:11:01 -0000 1.15
@@ -278,7 +278,6 @@
}
/* Set appropriate properties on the computer object */
- hal_device_property_set_bool (computer, "power_management.is_enabled", TRUE);
hal_device_property_set_string (computer, "power_management.type", "apm");
snprintf (path, sizeof (path), "%s/apm", get_hal_proc_path ());
Index: pmu.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux2/pmu.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- pmu.c 9 Nov 2005 20:45:45 -0000 1.17
+++ pmu.c 2 Dec 2005 17:11:01 -0000 1.18
@@ -275,7 +275,6 @@
}
/* Set appropriate properties on the computer object */
- hal_device_property_set_bool (computer, "power_management.is_enabled", TRUE);
hal_device_property_set_string (computer, "power_management.type", "pmu");
/* AC Adapter */
More information about the hal-commit
mailing list