Package: gnome-settings-daemon Version: 3.2.1-1 Severity: normal Tags: upstream patch
Backlight on certain apple laptops (MacBookPro7,1 in my case) has been broken for a while now for a couple of reasons: - The old module mbp_nvidia_bl has been renamed to apple_bl in more recent kernels. - The nouveau backlight support has never worked properly on my nVidia chipset (NVAF). See also: https://bugzilla.redhat.com/show_bug.cgi?id=625171 https://bugs.freedesktop.org/show_bug.cgi?id=31920 For these reasons, I need to tell gnome-settings-daemon (previously gnome-power-manager) to use apple_backlight instead of nv_backlight or mbp_backlight. The following one-line patch does the trick for me, it would be nice if it could be applied in Debian or upstream. Thanks, -- Mourad DC diff --git a/plugins/power/gsd-backlight-helper.c b/plugins/power/gsd-backlight-helper.c index 5ea7943..3e8567d 100644 --- a/plugins/power/gsd-backlight-helper.c +++ b/plugins/power/gsd-backlight-helper.c @@ -48,6 +48,7 @@ gsd_backlight_helper_get_best_backlight () /* available kernel interfaces in priority order */ static const gchar *backlight_interfaces[] = { + "apple_backlight", "nv_backlight", "asus_laptop", "toshiba", -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0-2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages gnome-settings-daemon depends on: ii dconf-gsettings-backend [gsettings-backend] 0.7.5-3 ii dpkg 1.16.1.1 ii gsettings-desktop-schemas 3.2.0-1 ii libatk1.0-0 2.2.0-2 ii libc6 2.13-21 ii libcairo-gobject2 1.10.2-6.1 ii libcairo2 1.10.2-6.1 ii libcanberra-gtk3-0 0.28-3 ii libcanberra0 0.28-3 ii libcolord1 0.1.13-1 ii libcomerr2 1.42~WIP-2011-10-16-1 ii libcups2 1.5.0-10 ii libdbus-1-3 1.5.8-1 ii libdbus-glib-1-2 0.98-1 ii libfontconfig1 2.8.0-3 ii libfreetype6 2.4.7-2 ii libgconf2-4 2.32.4-1 ii libgcrypt11 1.5.0-3 ii libgdk-pixbuf2.0-0 2.24.0-1 ii libglib2.0-0 2.30.1-2 ii libgnome-desktop-3-2 3.2.1-2 ii libgnome2-common 2.32.1-2 ii libgnomekbd7 3.2.0-1 ii libgnutls26 2.12.12-1 ii libgssapi-krb5-2 1.9.1+dfsg-3 ii libgtk-3-0 3.2.1-1 ii libgudev-1.0-0 172-1 ii libk5crypto3 1.9.1+dfsg-3 ii libkrb5-3 1.9.1+dfsg-3 ii liblcms2-2 2.2+git20110628-2 ii libnotify4 0.7.4-1 ii libpackagekit-glib2-14 0.6.18-1+b1 ii libpango1.0-0 1.29.4-2 ii libpolkit-gobject-1-0 0.102-1 ii libpulse-mainloop-glib0 1.1-1 ii libpulse0 1.1-1 ii libsqlite3-0 3.7.8-1 ii libupower-glib1 0.9.14-1 ii libx11-6 2:1.4.4-2 ii libxfixes3 1:5.0-4 ii libxi6 2:1.4.3-3 ii libxklavier16 5.1-2 ii nautilus-data 3.0.2-4 ii zlib1g 1:1.2.5.dfsg-1 Versions of packages gnome-settings-daemon recommends: ii hwdata 0.233-1 ii pulseaudio 1.1-1 Versions of packages gnome-settings-daemon suggests: ii gnome-screensaver 3.0.1-3 ii metacity [x-window-manager] 1:2.34.1-2 ii mutter [x-window-manager] 3.2.1-1 ii x11-xserver-utils 7.6+3 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org