[ltp] Re: Bug#448467: news about Thinkpad brightness keys situation

Yves-Alexis Perez linux-thinkpad@linux-thinkpad.org
Mon, 05 May 2008 19:55:17 +0200


--=-S8XPlRZsb8b73o2pvP/X
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On lun, 2008-05-05 at 09:37 -0700, Jesse Barnes wrote:
> This is an X server & driver problem.  I fixed it recently, so if you bui=
ld=20
> the Intel X driver against new server bits (or just wait until 1.5),=20
> xbacklight should fetch the current value.

Ok, I'll stay tuned on this and report back with X 1.5
>=20
> > That's even without trying brightness keys.
> >
> > Pressing brightness keys generates here acpi events video LCD0 87/86 (w=
ith
> > some delay, but I guess this one is a kernel problem). Nobody seems to
> > catch it, nor hal, nor powersaved, nor X driver.
>=20
> I think in some kernel versions it'll send a keyboard event that you can =
make=20
> a desktop applet catch?

In 2.6.25 there's a brightness_switch_enable for video module, which
can be used to tell kernel not to mess with the brightness, and just warn u=
serspace.
When this is set, I can run gnome-power-manager to manage the
brightness, and it correctly catch brightness keys, so it works.

What I'd like is to manage this in the kernel, but it's not really
related to this bug, so I'll check on that later, when it's fixed.

Cheers, and thanks for your time.
--=20
Yves-Alexis

--=-S8XPlRZsb8b73o2pvP/X
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBIH0oFTUTAIMXAW64RApt7AJ4kPxeopSpWgB+/2tpl0G7diEO9IQCfbw3o
GCffYjf1cGWXTgloBsb3LCc=
=BXUS
-----END PGP SIGNATURE-----

--=-S8XPlRZsb8b73o2pvP/X--