Bug 14716

Summary: Macbook Pro Third Generation HAL Support
Product: hal Reporter: Sense Hofstede <sense>
Component: libhalAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
URL: https://bugs.edge.launchpad.net/ubuntu/+source/hal/+bug/129869
Whiteboard:
i915 platform: i915 features:

Description Sense Hofstede 2008-02-28 08:49:29 UTC
"Binary package hint: hal

This is a small one. To enable Macbook Keyboard Backlight and Brightness control with the F# keys, this file requires some editing:

/usr/share/hal/fdi/policy/10osvendor/10-macbookpro-utils.fdi

Since there's no entry for the new Macbooks, whose ID is "MacBookPro3,1". You need to add this in order to make the keys work (well, they dont actually *work* as of now, but at least they get detected when you press them):

        <match key="system.hardware.product" string="MacBookPro3,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>

The important part is the STRING thing in the first line."
Tomas Pollak
This was reported at launchpad, in Ubuntu. If this code is added the brightness controls can work.
Comment 1 Danny Kukawka 2008-03-04 08:32:14 UTC
Commited a patch to HAL.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.