[ltp] Re: Battery drain in S3
henry ritzlmayr
linux-thinkpad@linux-thinkpad.org
Fri, 10 Dec 2004 09:06:03 +0100
--=-hhQOGYgo5W6OMAns6QVw
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Am Donnerstag, den 09.12.2004, 09:58 -0600 schrieb Brian D. Ropers-
Huilman:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
> Joachim Schrod said the following on 2004-12-09 07:15:
> | Many people report that resume from suspend-to-RAM doesn't work any
> | more with 2.6 kernels. Supposedly, it leaves the screen blank, with no
> | way to revitalize the system.
>=20
> My R50p has always run a 2.6 kernel and I have had varying success with
> APM, as I have posted to this list before. Basically it works great
> until it stops working. I have been able to suspend and resume many
> times and then, seemingly random to me, it won't suspend or resume. A
> reboot, which is the only recovery mechanism, allows me to suspend and
> resume again without issue, until it doesn't work again. :) I should
> also note that sometimes it doesn't work right away; after a fresh
> reboot, and sometimes cold power cycle, it won't suspend, or it will
> suspend but not wake up.
>=20
> I then moved to ACPI which worked wonderfully: it _always_ put the
> machine to sleep, quickly, and it always woke up, but, I _always_ lost
> my display. :( Then I added a chvt 1 to my scripts and ACPI worked fine.
> Until it stopped working, which happened when I upgraded kernels. I am
> not certain which upgrade it was, but I think it was this most recent
> bump from 2.6.8 to 2.6.9.
I have a working configuration here. I installed FC3 and acpi worked
right out of the box on my r50p. I noticed though when I tried to change
my xorg.conf to use the external screen, that I get the same behavior
others are describing (blank screen on resume). Attached is xorg.conf
wich works and xorg.conf.sdx which doesn=C2=B4t.
Henry
--=-hhQOGYgo5W6OMAns6QVw
Content-Disposition: attachment; filename=xorg.conf
Content-Type: text/plain; name=xorg.conf; charset=UTF-8
Content-Transfer-Encoding: base64
DQojIFhGcmVlODYgNCBjb25maWd1cmF0aW9uIGNyZWF0ZWQgYnkgcHl4Zjg2Y29uZmlnDQoNClNl
Y3Rpb24gIlNlcnZlckxheW91dCINCglJZGVudGlmaWVyICAgICAiRGVmYXVs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