hal/fdi/policy/10osvendor 10-laptop-panel-mgmt-policy.fdi,1.4,1.5

Richard Hughes hughsient at kemper.freedesktop.org
Fri Jul 14 10:21:18 PDT 2006


Update of /cvs/hal/hal/fdi/policy/10osvendor
In directory kemper:/tmp/cvs-serv20836/fdi/policy/10osvendor

Modified Files:
	10-laptop-panel-mgmt-policy.fdi 
Log Message:
2006-07-14  Richard Hughes  <richard at hughsie.com>

* fdi/policy/10osvendor/10-laptop-panel-mgmt-policy.fdi:
As found in http://bugzilla.gnome.org/show_bug.cgi?id=345257 the hal
property laptop_panel.brightness_in_hardware is found the root
computer object, not on the actual laptop_panel object which is
obviously wrong. Patch fixes the issue for Crispin Flowerday.


Index: 10-laptop-panel-mgmt-policy.fdi
===================================================================
RCS file: /cvs/hal/hal/fdi/policy/10osvendor/10-laptop-panel-mgmt-policy.fdi,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- 10-laptop-panel-mgmt-policy.fdi	9 Jun 2006 02:19:32 -0000	1.4
+++ 10-laptop-panel-mgmt-policy.fdi	14 Jul 2006 17:21:16 -0000	1.5
@@ -24,9 +24,11 @@
        can get into a feedback state so the panel flashes uncontrollably.
        This is a hardware "feature" seen on IBM x31 laptops. -->
   <device>
-    <match key="smbios.system.manufacturer" string="IBM">
-      <match key="smbios.system.version" string="ThinkPad X31">
-        <merge key="laptop_panel.brightness_in_hardware" type="bool">true</merge>
+    <match key="info.category" string="laptop_panel">
+      <match key="/org/freedesktop/Hal/devices/computer:smbios.system.manufacturer" string="IBM">
+        <match key="/org/freedesktop/Hal/devices/computer:smbios.system.version" string="ThinkPad X31">
+          <merge key="laptop_panel.brightness_in_hardware" type="bool">true</merge>
+        </match>
       </match>
     </match>
   </device>




More information about the hal-commit mailing list