Red Hat Bugzilla – Bug 572896
gnome-power-manager is built without HAL brightness support
Last modified: 2010-03-19 23:38:14 EDT
Description of problem:
gnome-power-manager-2.29.91-2.fc13 was supposed to re-enable HAL support, but it failed to do that. From build.log:
HAL (brightness) support: no
To build gnome-power-manager with HAL support, '--enable-hal' must be passed to configure.
(BTW, the current spec file passes the parameter '--enable-policykit' which is not recognized by configure, so it can be removed.)
When you add '--enable-hal', you'll notice it does not compile anymore because of a trivial error. This commit in upstream git fixes it:
Author: Chris Coulson
Date: Tue Mar 2 08:59:31 2010 +0000
Declare GError in gpm_brightness_hal_init to fix build failure
I made a scratch build and tested that it works fine then: http://koji.fedoraproject.org/koji/taskinfo?taskID=2048364
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Test on a system where there's no brightness property in xrandr.
2. Try to change brightness using hotkeys, or try to find a brightness slider gnome-power-preferences
Brightness cannot be changed, there's no slider.
Brightness hotkeys work, there's a slider in g-p-preferences.
*** Bug 559572 has been marked as a duplicate of this bug. ***
I am still unable to change brightness using
[jonesn@snowdon2 ~]$ rpm -q gnome-power-manager
This worked initially. will refer to dup bug ref.
Nigel, gnome-power-manager-2.29.91-2.fc13.x86_64 is known to have the bug.
The scratch build with the fix has ".m1" in the release field.
Many thanks. Id missed the m1. Duh!
The build works great - brightness control now fine again -- thanks.
*** Bug 572005 has been marked as a duplicate of this bug. ***
Thanks for fixing.
I missed the m1 , too.
gnome-power-manager-2.29.91-3.fc13 has been submitted as an update for Fedora 13.
gnome-power-manager-2.29.91-3.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update gnome-power-manager'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/gnome-power-manager-2.29.91-3.fc13
gnome-power-manager-2.29.91-3.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.