diff options
Diffstat (limited to 'sys-apps/hal/files/0.5.9/13_detect_newer_macbooks.patch')
-rw-r--r-- | sys-apps/hal/files/0.5.9/13_detect_newer_macbooks.patch | 46 |
1 files changed, 37 insertions, 9 deletions
diff --git a/sys-apps/hal/files/0.5.9/13_detect_newer_macbooks.patch b/sys-apps/hal/files/0.5.9/13_detect_newer_macbooks.patch index e14c3d280c06..81c15bd47e84 100644 --- a/sys-apps/hal/files/0.5.9/13_detect_newer_macbooks.patch +++ b/sys-apps/hal/files/0.5.9/13_detect_newer_macbooks.patch @@ -1,13 +1,41 @@ +From: Martin Pitt <martin@piware.de> +Date: Wed, 18 Apr 2007 19:33:07 +0000 (-0400) +Subject: support more Macbook Pro models +X-Git-Tag: HAL_0_2 +X-Git-Url: http://gitweb.freedesktop.org/?p=hal.git;a=commitdiff;h=98e53bff6ee6c94113b2e745f727c7a78bae5f06 + +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) +--- + Index: b/fdi/policy/10osvendor/10-macbookpro-utils.fdi =================================================================== ---- a/fdi/policy/10osvendor/10-macbookpro-utils.fdi 2007-03-07 16:52:19.000000000 -0500 -+++ b/fdi/policy/10osvendor/10-macbookpro-utils.fdi 2007-04-18 10:18:41.000000000 -0400 -@@ -6,7 +6,7 @@ - <device> - <match key="system.kernel.name" string="Linux"> - <match key="system.hardware.vendor" string="Apple Computer, Inc."> -- <match key="system.hardware.product" string="MacBookPro1,1"> -+ <match key="system.hardware.product" contains="MacBookPro"> - <spawn udi="/org/freedesktop/Hal/devices/macbook_pro_light_sensor"/> +--- a/fdi/policy/10osvendor/10-macbookpro-utils.fdi 2007-04-30 14:56:39.000000000 -0400 ++++ b/fdi/policy/10osvendor/10-macbookpro-utils.fdi 2007-04-30 14:56:58.000000000 -0400 +@@ -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> |