hal ChangeLog,1.635,1.636

Richard Hughes hughsient at freedesktop.org
Sat Sep 3 09:00:34 PDT 2005


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

Modified Files:
	ChangeLog 
Log Message:
Add laptop screen detection for laptop screens. This allows us to change the brightness level on many laptops.

Index: ChangeLog
===================================================================
RCS file: /cvs/hal/hal/ChangeLog,v
retrieving revision 1.635
retrieving revision 1.636
diff -u -d -r1.635 -r1.636
--- ChangeLog	1 Sep 2005 18:55:06 -0000	1.635
+++ ChangeLog	3 Sep 2005 16:00:31 -0000	1.636
@@ -1,3 +1,41 @@
+2005-09-03  Richard Hughes <richard at hughsie.com>
+
+	* tools/hal-system-lcd-set-brightness,
+	tools/hal-system-lcd-get-brightness: New files needed for the
+	SetBrightness and GetBrightness support.
+
+	* tools/Makefile.am: Add hal-system-lcd-set-brightness and
+	hal-system-lcd-get-brightness.
+
+	* fdi/policy/10osvendor/10-laptop-panel-mgmt-policy.fdi: New file, add
+	the SetBrightness and GetBrightness methods to the LaptopPanel object.
+
+	To test, use:
+	dbus-send --system --print-reply --dest=org.freedesktop.Hal \
+	/org/freedesktop/Hal/devices/acpi_toshiba \
+	org.freedesktop.Hal.Device.LaptopPanel.SetBrightness \
+	int32:20
+
+	dbus-send --system --print-reply --dest=org.freedesktop.Hal \
+	/org/freedesktop/Hal/devices/acpi_toshiba \
+	org.freedesktop.Hal.Device.LaptopPanel.GetBrightness
+
+	* hal.conf.in: Set so that org.freedesktop.Hal.Device.LaptopPanel can
+	only be accessed from just the console user. This is tested to work.
+
+	* hald/linux2/acpi.c (acpi_synthesize_item): New function, factor the 
+	code out from acpi_synthesize.
+
+	* hald/linux2/acpi.c (acpi_synthesize_hotplug_events, 
+	laptop_panel_refresh): Add detection for the module toshiba, asus,
+	ibm, sony and panasonic, and add the laptop_panel for these ACPI 
+	extensions.
+
+	* doc/spec/hal-spec.xml.in: Document laptop_panel.num_levels and 
+	laptop_panel.acpi_method.
+
+	* doc/TODO: Add the note about dbus return types for scripts.
+
 2005-09-01  David Zeuthen  <davidz at redhat.com>
 
 	* hald/hald_dbus.c (hald_exec_method_cb): Fix up a bug where the




More information about the hal-commit mailing list