[ltp] Brightness and Suspend on T61 6459-CTO
Mike Kershaw
linux-thinkpad@linux-thinkpad.org
Thu, 1 Nov 2007 14:03:48 -0400
--M9NhX3UHpAaciwkO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, Nov 01, 2007 at 10:30:32AM -0700, John Jason Jordan wrote:
> VESA is not an option for me, as I need 1680 x 1050 all the time. I
> did discover a way to do it. If you exit X to a command line
> (Ctrl-Alt-F1) then the buttons work. However, you won't see the change
> until you go back to the screen (Ctrl-Alt-F7). It's inconvenient, but
> at least you can do it.
>=20
> I now have everything working on my T61 (6460) except
> hibernate/suspend, and I'm going to try the suggestions in the last
> couple of posts on the above link later today.
I use the following (tweak if you've patched your acpi to handle the
14-level brightness).
#!/bin/bash
if [ "`head -n1 /proc/acpi/ibm/brightness | cut -c 9-`" =3D "7" ]; then
exit
fi
chvt 1
echo "level 7" > /proc/acpi/ibm/brightness
chvt 7
Suspend works on mine (barring USB bugs on resume regardless of
unloading modules) with nvidia. I use S3 suspend to ram, the hibernate
scripts to automate unloading and restarting services, and sleep=3Ds3_bios
in the kernel cmdline. The sleep cmdline option doesn't seem to be vital b=
ut
I've left it anyhow.
I haven't yet gotten TPM working with mine, however.
-m
--=20
Mike Kershaw/Dragorn <dragorn@kismetwireless.net>
GPG Fingerprint: 3546 89DF 3C9D ED80 3381 A661 D7B2 8822 738B BDB1
Q. What does the toothfairy do with all my teeth?
A. She's building another You. Once she has all your teeth, she'll come=20
back for your eyes.
--M9NhX3UHpAaciwkO
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
iD8DBQFHKhUE17KIInOLvbERAvfAAJ90o8MXppY1aK/g/Oko+4M0L7uR5QCeNxZQ
Uy8sglUE36um6DIWz/jd040=
=Kwer
-----END PGP SIGNATURE-----
--M9NhX3UHpAaciwkO--