[ltp] Brightness up/down with video module
Marius Gedminas
linux-thinkpad@linux-thinkpad.org
Thu, 1 May 2008 16:48:33 +0300
--d6Gm4EdcadzBjdND
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, May 01, 2008 at 03:02:01PM +0200, Yves-Alexis Perez wrote:
> On jeu, 2008-05-01 at 15:52 +0300, Marius Gedminas wrote:
> > Now this all works, I don't know. I have the ACPI video module
> > loaded, HAL is running, X is running, and I get nice GNOME popups
> > showing the video level. xev shows key press events (keycodes 212
> > and 101), but no X symbol is assigned to them.
>=20
> I guess ubuntu guys patched their hal/gnome-power-manager to manage
> this. It'd have been nice to know how, but hey.
The sources are out there.
Actually, if I pay closer attention to
/sys/class/backlight/acpi_video{0,1}/brightness which shows the level as
0..15 rather than 0..100, I can see that a single Fn-End reduces the
acpi_video1 level by two (acpi_video0 level always stays at 15). Looks
like Ubuntu does daft things too.
Marius Gedminas
--=20
Microsoft -- because God hates us.
--d6Gm4EdcadzBjdND
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIGcoxkVdEXeem148RAhefAJ908+CcvMnl1UaJGu8sbxf4hgqduwCgkgNj
N9LB1eUU8sffUhNs0YUoiSs=
=rbpV
-----END PGP SIGNATURE-----
--d6Gm4EdcadzBjdND--