hal: Branch 'hal-0_5_9-branch'
David Zeuthen
david at kemper.freedesktop.org
Wed Apr 18 12:33:21 PDT 2007
fdi/policy/10osvendor/10-macbookpro-utils.fdi | 15 +++++++++++++++
1 files changed, 15 insertions(+)
New commits:
diff-tree 98e53bff6ee6c94113b2e745f727c7a78bae5f06 (from 0bb187c40d1e1993641a3860b6689e0b5b8ff5ff)
Author: Martin Pitt <martin at piware.de>
Date: Wed Apr 18 15:33:07 2007 -0400
support more Macbook Pro models
Matthew recently fixed the FDIs to support newer MacBook Pro models.
Patch applies cleanly to 0.5.9 and git head.
(changed by davidz: s/smbios.system.product/system.hardware.product)
diff --git a/fdi/policy/10osvendor/10-macbookpro-utils.fdi b/fdi/policy/10osvendor/10-macbookpro-utils.fdi
index 1b0ac67..8aed6c0 100644
--- a/fdi/policy/10osvendor/10-macbookpro-utils.fdi
+++ b/fdi/policy/10osvendor/10-macbookpro-utils.fdi
@@ -11,6 +11,21 @@
<spawn udi="/org/freedesktop/Hal/devices/macbook_pro_keyboard_backlight"/>
<spawn udi="/org/freedesktop/Hal/devices/macbook_pro_lcd_panel"/>
</match>
+ <match key="system.hardware.product" string="MacBookPro1,2">
+ <spawn udi="/org/freedesktop/Hal/devices/macbook_pro_light_sensor"/>
+ <spawn udi="/org/freedesktop/Hal/devices/macbook_pro_keyboard_backlight"/>
+ <spawn udi="/org/freedesktop/Hal/devices/macbook_pro_lcd_panel"/>
+ </match>
+ <match key="system.hardware.product" string="MacBookPro2,1">
+ <spawn udi="/org/freedesktop/Hal/devices/macbook_pro_light_sensor"/>
+ <spawn udi="/org/freedesktop/Hal/devices/macbook_pro_keyboard_backlight"/>
+ <spawn udi="/org/freedesktop/Hal/devices/macbook_pro_lcd_panel"/>
+ </match>
+ <match key="system.hardware.product" string="MacBookPro2,2">
+ <spawn udi="/org/freedesktop/Hal/devices/macbook_pro_light_sensor"/>
+ <spawn udi="/org/freedesktop/Hal/devices/macbook_pro_keyboard_backlight"/>
+ <spawn udi="/org/freedesktop/Hal/devices/macbook_pro_lcd_panel"/>
+ </match>
</match>
</match>
</device>
More information about the hal-commit
mailing list