Comment 1 for bug 129869

Revision history for this message
In , Sense Egbert Hofstede (sense) wrote :

"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.