[ltp] Command to dim the LCD brightness

André Wyrwa linux-thinkpad@linux-thinkpad.org
Thu, 13 Jan 2005 08:49:45 +0100


--=-N6fkR3boIUAmyBHSbN5+
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

Hei,

> > Ooops, what's that? Might come from echoing 0
> > into /proc/acpi/video/LCD0/brightness. Guess you shouldn't do it as lon=
g
> > as it's not supported.
>=20
> I doubt that the 0 from the echo would cause a NULL pointer
> dereference. This would mean that the argument from the echo is going
> to be used as a pointer, which is somewhat stupid. :-)

;-) Agreed, but this wasn't my conclusion. It was rather that echoing
anything to the brightness proc file might cause this as long as it
states that this is not supported.

Andr=E9.


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

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

iD8DBQBB5igZEOp8fsnyxsQRAoobAJ9Ut6As389y4Uv1qlMxPwnD25P4NQCggfSG
iOTPgQp1CJBNvMjJoPv1WGk=
=cHe2
-----END PGP SIGNATURE-----

--=-N6fkR3boIUAmyBHSbN5+--