Acer laptop brightness hal support

Richard Hughes hughsient at gmail.com
Fri Sep 7 07:49:00 PDT 2007


On Fri, 2007-09-07 at 16:25 +0200, Danny Kukawka wrote:
> And on the first look the module use linux/backlight.h and the
> related 
> structure, so there should be a entry in the sysfs backlight tree. And
> HAL 
> should IMO only support this instead of proc

Agree. We only added the proc based brightness stuff because the
backlight didn't exist then. Now the backlight class exists we can
deprecate the proc based reading in HAL and just use sysfs. I think it
will be a little time before all the drivers are converted, however.

So basically, acer module needs to use the kernel class. Then it will
just work in HAL, and therefor g-p-m.

Richard.




More information about the hal mailing list