LCD backlight values

Richard Hughes hughsient at gmail.com
Sun Feb 5 15:47:18 PST 2006


On Sun, 2006-02-05 at 17:44 +0000, Matthew Garrett wrote:
> The hal lcd brightness code currently seems to assume that all lcd 
> brightness information is under /proc/acpi somewhere, which is not 
> inherently the case (I've just written a couple of drivers for HP and 
> Dell machines which expose it via sysfs).

Kernel drivers?

>  Should it not be the case that 
> we unconditionally have an LCD object on laptops, and then conditionally 
> provide brightness get/set routines?

Depends, why can't you just add the object in the new sysfs code? You
got any preliminary code, and I might better see what you mean.

> For tablets, it might also be an idea to add a field for orientation. 
> I've figured out how to get the orientation on a Toshiba tablet, but 
> there doesn't really seem to be anywhere to put it at the moment.

Orientation is an X11 setting right? Whats wrong with adding it to a
laptop_panel.orientation key?

Richard.



More information about the hal mailing list