[PATCH 3/3] hald-linux: Move keyboard backlight support over to applesmc for MacBook Pro 3 and later
Henrik Rydberg
rydberg at euromail.se
Thu Oct 9 08:06:20 PDT 2008
The keyboard backlight and light sensor functionality for the MacBook
Pro 3 and MacBook Pro 4 appears to be broken. This patch moves the
keyboard backlight handling over to the applesmc sysfs interface. The
light sensor is left uninitialized.
Signed-off-by: Henrik Rydberg <rydberg at euromail.se>
---
fdi/policy/10osvendor/10-macbookpro-utils.fdi | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fdi/policy/10osvendor/10-macbookpro-utils.fdi b/fdi/policy/10osvendor/10-macbookpro-utils.fdi
index 81d1e28..d8825e2 100644
--- a/fdi/policy/10osvendor/10-macbookpro-utils.fdi
+++ b/fdi/policy/10osvendor/10-macbookpro-utils.fdi
@@ -6,14 +6,14 @@
<device>
<match key="system.kernel.name" string="Linux">
<match key="system.hardware.vendor" contains="Apple">
- <match key="system.hardware.product" string_outof="MacBookPro1,1;MacBookPro1,2;MacBookPro2,1;MacBookPro2,2;MacBookPro3,1;MacBookPro3,2;MacBookPro4,1">
+ <match key="system.hardware.product" string_outof="MacBookPro1,1;MacBookPro1,2;MacBookPro2,1;MacBookPro2,2">
<spawn udi="/org/freedesktop/Hal/devices/macbook_pro_light_sensor"/>
<spawn udi="/org/freedesktop/Hal/devices/macbook_pro_keyboard_backlight"/>
</match>
<match key="system.hardware.product" string_outof="MacBookPro1,1;MacBookPro1,2;MacBookPro2,1;MacBookPro2,2">
<spawn udi="/org/freedesktop/Hal/devices/macbook_pro_lcd_panel"/>
</match>
- <match key="system.hardware.product" string_outof="MacBookAir1,1">
+ <match key="system.hardware.product" string_outof="MacBookPro3,1;MacBookPro3,2;MacBookPro4,1;MacBookAir1,1">
<spawn udi="/org/freedesktop/Hal/devices/applesmc_keyboard_backlight"/>
</match>
</match>
--
1.5.6.3
More information about the hal
mailing list