Laptop Panel brightness control

Richard Hughes hughsient at gmail.com
Sun May 14 09:28:58 PDT 2006


On Fri, 2006-05-12 at 16:07 +0100, Crispin Flowerday wrote:
> On Fri, 2006-05-12 at 11:01 -0400, David Zeuthen wrote:
> > On Tue, 2006-05-09 at 18:58 +0100, Crispin Flowerday wrote:
> > > So, we really could do with a HAL property to differentiate the 2 cases,
> > > how about "laptop_panel.brightness_in_hardware"?
> > 
> > Ugh, the joys of borken hardware. 
> > 
> > Yes, a property like laptop_panel.brightness_in_hardware, might be a
> > good idea. The docs should say that agents such as gnome-power-manager
> > (or whatever) should, if laptop_panel.brightness_in_hardware = TRUE,
> > refrain from doing SetBrightness(GetBrightness() + delta). Richard?
> 
> The critical case, is that agents should avoid calling SetBrightness()
> as a result of a brightness-up or brightness-down case, that case can
> cause feedback loops between the hardware and software causing the cycle
> of brightness up, then down.

I guess the attached patch gives you the new key?

I can work on the g-p-m half of the problem (i.e. read this key) when
the keyname is agreed. David, Danny, it looks okay?

Cheers.

Richard.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-x31-laptop.patch
Type: text/x-patch
Size: 2417 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20060514/7915a91d/hal-x31-laptop-0001.bin


More information about the hal mailing list