Laptop Panel brightness control
Bastien Nocera
hadess at hadess.net
Wed May 10 15:50:21 PDT 2006
On Tue, 2006-05-09 at 18:58 +0100, Crispin Flowerday wrote:
> Hi,
>
> While trying to fix http://bugzilla.gnome.org/show_bug.cgi?id=340231 it
> was discovered that laptops behave differently when the brightness
> control buttons are used.
>
> Specifically, my IBM x31 controls the brightness itself (so g-p-m just
> needs to monitor the setting), whereas Richard Hughes's laptop (can't
> remember what it was just at the moment) just uses the buttons to talk
> to software which then has to control the brightness (so g-p-m needs to
> talk to the hardware directly).
>
> So, we really could do with a HAL property to differentiate the 2 cases,
> how about "laptop_panel.brightness_in_hardware"?
Yep, I can confirm that for older IBM laptops. Here was some code for
ACME (at the time) which should be easy enough to adapt:
http://bugzilla.gnome.org/show_bug.cgi?id=128483
I seem to remember that it would also change the hardware volume
itself...
--
Bastien Nocera <hadess at hadess.net>
More information about the hal
mailing list