Update on DeviceKit

Bastien Nocera hadess at hadess.net
Fri May 9 06:38:11 PDT 2008


On Fri, 2008-05-09 at 12:05 +0100, Matthew Garrett wrote:
> On Fri, May 09, 2008 at 11:52:08AM +0100, Bastien Nocera wrote:
> 
> > So, to get back to the original discussion, how does one add support for
> > backlight changes in X when:
> > - the device doing the changes is a platform device, and not connected
> > to the graphics hardware
> 
> The Intel driver will already fall back to using the firmware interfaces 
> for brightness changing. This needs to be moved into the server core, 
> but is otherwise not too much of a problem.
> 
> > - the hardware does the changes itself, but we want user-space to be
> > made aware of the changes ("laptop_panel.brightness_in_hardware" key in
> > HAL)
> 
> Key notifications are sent. We possibly still want something to bridge 
> these onto dbus, since we have something of an issue in X right now when 
> it comes to keycode use.

After some fixes by Richard, gnome-power-manager can use XBACKLIGHT just
fine, apart from the get/set being utterly slow. We're talking a third
of a second to set the backlight, compared to it being instant going
through HAL and the Dell smbios utilities.



More information about the hal mailing list