Bug 14716 - Macbook Pro Third Generation HAL Support
Summary: Macbook Pro Third Generation HAL Support
Status: RESOLVED FIXED
Alias: None
Product: hal
Classification: Unclassified
Component: libhal (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact:
URL: https://bugs.edge.launchpad.net/ubunt...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-28 08:49 UTC by Sense Hofstede
Modified: 2008-03-04 08:32 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.