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
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
|
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
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 ]"