This patch allows gnome-power-manager 2.32 to control the keyboard backlight on laptops including the Macbook Pro, removing the need to use pommed in Gnome. The patch was backported from gpm trunk to 2.32 for Ubuntu (see http://mac.linux.be/content/keyboard-backlight-support-patched-gnome-power-manager) and I just hacked it to remove the Ubuntu-specific OSD bits. It's been lightly tested, but seems to work as intended. Reproducible: Always
Created attachment 272717 [details, diff] Patch to gnome-power-manager 2.32
Patch works flawlessly, thanks Andy.
+*gnome-power-manager-2.32.0-r2 (27 Jun 2011) + + 27 Jun 2011; Pacho Ramos <pacho@gentoo.org> + +gnome-power-manager-2.32.0-r2.ebuild, + +files/gnome-power-manager-2.32.0-close-fd.patch, + +files/gnome-power-manager-2.32.0-convert-percentage.patch, + +files/gnome-power-manager-2.32.0-no-xfce.patch, + +files/gnome-power-manager-2.32.0-xbacklight-crash.patch: + Revision bump including multiple fixes and enhancements: upstream patch for + fixing brightness changing, don't close non opened fd preventing crashes, + don't use in XFCE, don't crash on systems which don't have XBACKLIGHT. This + also includes a backported patch by Andy Botting adding support to control + keyboard backlight (bug #366735). +