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

Peter Frühberger linux-thinkpad@linux-thinkpad.org
Sun, 24 Oct 2004 08:44:29 +0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jan Girlich wrote:
 > Actually it's the other way round:
> 
> I can suspend and resume properly from X but not from the console. When
> I suspend from a console and resume the console is scattered. Switching
> to X and back solves the problem. Suspending and resuming from X is no
> problem at all.
> 
Okay, If you resume in X is your console scattered, too. Or does
everything work? If you run X all the time, it would not be a problem.
try disabling vesafb oder try enabling radeonfb (I think it has sth. to
resume in it) or disable it, just try

> 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
> do a little script like:
> 
> #!/bin/bash
> MY_VT_TMP=$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. :)
mmmh, I just run only one X Server a time, I use kdm and kdm alsways
uses VT7 written in /etc/kde3/kdm/Xservers, so I did not have this
problem for now.

anyway, you can grep your XFree86.0.log, for example
less /var/log/XFree86.0.log |grep VT
(++) using VT number 7
or
less /var/log/XFree86.0.log |grep VT |grep -o [0123456789]
7
mmmh, don`t know if you want it this way?

> 
> And what does acpi_sleep=s3_bios actually mean? Where can I find out
> more about acpi-boot-commands?
> 
> Jan
Did read the acpi mailing list for Wednesday I think, somebody had a
problem with his T42...




- --
		    Key-ID:     0x1A995A9B
		    keyserver: pgp.mit.edu
==============================================================
Fingerprint: 4606 DA19 EC2E 9A0B 0157  C81B DA07 CF63 1A99 5A9B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBe09M2gfPYxqZWpsRAsVjAJsFV1SrwUDCICl+pgoP5uiA3+TLDQCg0c6j
mtsKKytucrCHaQKSsbk/xvQ=
=mcY4
-----END PGP SIGNATURE-----