FS#19093 - [gnome-power-manager] needs HAL to support macbook brightness

Attached to Project: Arch Linux
Opened by John Schoenick (Nephyrin) - Wednesday, 14 April 2010, 13:44 GMT
Last edited by Jan de Groot (JGC) - Friday, 16 April 2010, 20:24 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Ionut Biru (wonder)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The gnome-power-manager needs --enable-hal as of (at least) 2.30 or it will not use HAL even if present. g-p-m has been moving away from HAL in favor of device kit, but as of now at least, functionality is lost without HAL support. My Macbook (Pro Aluminum 5,5) uses a sysfs brightness interface that HAL will use but devicekit will not, meaning i get no gnome brightness control unless i rebuild with --enable-hal.

FWIW, Fedora builds with --enable-hal:
https://bugzilla.redhat.com/show_bug.cgi?id=572896
They mention a bug with --enable-hal there, but that was resolved pre-2.30 I believe.
This task depends upon

Closed by  Jan de Groot (JGC)
Friday, 16 April 2010, 20:24 GMT
Reason for closing:  Fixed
Comment by John Schoenick (Nephyrin) - Wednesday, 14 April 2010, 13:48 GMT
A little more info, Ubuntu's page on deprecating HAL:
https://wiki.ubuntu.com/Halsectomy

From link:
"g-p-m uses DeviceKit-power now, but backlight handling still require hal when the backlight is not a xrandr device. All the X drivers need to support XBACKLIGHT before we can turn it off completely. Intel do, nouveau sortof does, so we could disable HAL in g-p-m using a #ifdef if we're sure the drivers support backlight -> You can use --enable-hal=no at compilation time. See upstream bug [ http://bugzilla.gnome.org/show_bug.cgi?id=593933 ]"
Comment by Brian Johnson (alienvenom) - Thursday, 15 April 2010, 17:53 GMT
I also noticed that my ThinkPad's brightness functionality have been lost as well. I think more or less all laptops have lost brightness functionality in G-P-M.

Loading...