Keyboard and screen backlight recipe for openSUSE 11.3 on Macbook Pro 5.5

09 Feb 2011
Posted by doq

Putting recipes here about how I have configured my openSUSE 11.3 on Macbook Pro 5.5 so I won't forget the steps.

Screen backlight

Based on this thread I have added

Option          "RegistryDwords" "EnableBrightnessControl=1"

into X configuration (/etc/X11/xorg.conf.d/50-device.conf into "Device" section).

Then added into /usr/share/hal/fdi/information/10freedesktop/10-laptop-panel-hardware.fdi the following:

      <match key="/org/freedesktop/Hal/devices/computer:system.hardware.vendor" string="Apple Inc.">
        <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains_outof="MacBookPro5,5">
          <merge key="laptop_panel.brightness_in_hardware" type="bool">false</merge>
        </match>
      </match>

After restart the Fn-F1 and Fn-F2 keys are working as expected.

Keyboard backlight

As suggested in this article I have added http://download.opensuse.org/repositories/home:/ealin:/apple/openSUSE_11.3/ into the list of repositories. Then installed pommed package from it.

Simplified the /etc/pommed.conf configuration to the following. Removed all sections related to screen backlight control and audio (lcd_sysfs, lcd_x1600, lcd_gma950, lcd_nv8600mgt, audio, beep). openSUSE handles these for us already.

Enable pommed:

chkconfig pommed on

After restart the Fn-F5 and Fn-F6 keys are working as expected.

 
 
 
If you have found mistakes in the text then please select it and press Ctrl-Enter to send report to the site administrator.