[ltp] R51 doesn't resume from Suspend to ram properly

Jan Girlich linux-thinkpad@linux-thinkpad.org
Sun, 24 Oct 2004 02:08:14 +0200


This is a cryptographically signed message in MIME format.

--------------ms000306040603050006080706
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

Hi,

Peter Fr=FChberger schrieb:

> You can use 2.6.9 i would not stick to 2.6.8.1, (cd writing issues etc.=
)

I changed to 2.6.9 everything the same so far.

>>I use grub. But I appended the options you told me here and that's half
>>the problem!!
>>Now I can suspend to ram and wake up again, but my screen is scattered.
>>When I switch from the console where I suspended to the X-server and
>>back everything is okay again.
>=20
> Okay, thats cool, just add to your acpi sleep script
> and now you should be able to suspend from X directly, perhaps you even
> don`t need to change anymore?

Actually it's the other way round:

I can suspend and resume properly from X but not from the console. When=20
I suspend from a console and resume the console is scattered. Switching=20
to X and back solves the problem. Suspending and resuming from X is no=20
problem at all.

I'm using vesfb-console with fbsplash. Probably this might be my problem?

> #!/bin/bash
> chvt 1 #switches to console 1
> echo 3 > /proc/acpi/sleep
> chvt 7 #switch back to the xserver

Hmmm. Is there any variable holding the number of my actual vt? So I can=20
do a little script like:

#!/bin/bash
MY_VT_TMP=3D$MY_VT
echo -n "mem" > /sys/power/state
chvt 7 # switch to X
chvt MY_VT_TMP # switch back to vt where I started

This would be a little more comfortable. :)

And what does acpi_sleep=3Ds3_bios actually mean? Where can I find out=20
more about acpi-boot-commands?

Jan

--------------ms000306040603050006080706
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIHsDCC
A9QwggM9oAMCAQICDnSBAAAAAhd7tGq12El6MA0GCSqGSIb3DQEBBAUAMIG8MQswCQYDVQQG
EwJERTEQMA4GA1UECBMHSGFtYnVyZzEQMA4GA1U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