diff options
author | Martin Pitt <martin@piware.de> | 2007-04-18 15:33:07 -0400 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2007-04-18 15:33:22 -0400 |
commit | 98e53bff6ee6c94113b2e745f727c7a78bae5f06 (patch) | |
tree | b0cd3f888fe28f8f2a83a581aaec6158440459bc | |
parent | 0bb187c40d1e1993641a3860b6689e0b5b8ff5ff (diff) |
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)
-rw-r--r-- | fdi/policy/10osvendor/10-macbookpro-utils.fdi | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/fdi/policy/10osvendor/10-macbookpro-utils.fdi b/fdi/policy/10osvendor/10-macbookpro-utils.fdi index 1b0ac671..8aed6c03 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> |