hal ChangeLog,1.583,1.584

David Zeuthen david at freedesktop.org
Tue Aug 2 09:17:40 PDT 2005


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

Modified Files:
	ChangeLog 
Log Message:
2005-08-02  David Zeuthen  <davidz at redhat.com>

        * hald/linux2/acpi.c (acpi_poll): Fix a memory leak here

2005-08-02  David Zeuthen  <davidz at redhat.com>

        Patch from Richard Hughes <hughsient at gmail.com>.

        * hald/linux2/acpi.c (ac_adapter_refresh_poll): New function, just
        set the present key. This is quicker than setting the capability
        and category on every forced refresh.
        (ac_adapter_refresh): Use ac_adapter_refresh_poll and while we are
        here, add device_property_atomic_update_begin and
        device_property_atomic_update_end to make atomic.
        (acpi_poll): Add the ac_adapter updates to make sure we get the
        value of ac_adapter correct at least on every 30 second forced
        refresh. This fixes really broken ACPI BIOS's that don't emit acad
        or batt events.



Index: ChangeLog
===================================================================
RCS file: /cvs/hal/hal/ChangeLog,v
retrieving revision 1.583
retrieving revision 1.584
diff -u -d -r1.583 -r1.584
--- ChangeLog	2 Aug 2005 00:45:32 -0000	1.583
+++ ChangeLog	2 Aug 2005 16:17:38 -0000	1.584
@@ -1,3 +1,22 @@
+2005-08-02  David Zeuthen  <davidz at redhat.com>
+
+	* hald/linux2/acpi.c (acpi_poll): Fix a memory leak here
+
+2005-08-02  David Zeuthen  <davidz at redhat.com>
+
+	Patch from Richard Hughes <hughsient at gmail.com>.
+
+	* hald/linux2/acpi.c (ac_adapter_refresh_poll): New function, just
+	set the present key. This is quicker than setting the capability
+	and category on every forced refresh.
+	(ac_adapter_refresh): Use ac_adapter_refresh_poll and while we are
+	here, add device_property_atomic_update_begin and
+	device_property_atomic_update_end to make atomic.
+	(acpi_poll): Add the ac_adapter updates to make sure we get the
+	value of ac_adapter correct at least on every 30 second forced
+	refresh. This fixes really broken ACPI BIOS's that don't emit acad
+	or batt events.
+
 2005-08-01  David Zeuthen  <davidz at redhat.com>
 
 	* hald/linux2/acpi.c (acpi_poll): Only poll if the battery is actually




More information about the hal-commit mailing list