lkml.org 
[lkml]   [2006]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Suspend to disk
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rafael J. Wysocki wrote:
> On Friday 14 April 2006 13:26, Christian Heimanns wrote:
>> Sorry for the delay, I was on the road...
>>
>> Rafael J. Wysocki wrote:
>>> [update]

> You can try to do something like this: change the runlevel to 3 (eg. init 3),
> the start the X server manually (ie. "X" as root), switch to a text terminal
> and try to suspend. Then, after resume, see if the X server is still running
> and if not, look into its log.
>
Thank you Rafael,
I think I've found a solution: Not the kernel or ACPI is guilty, just my
Notebook :-) I changed my acpi scripts a little and now it's working
again. I had to play around with vbetool and 915resolution called in
proper order.
You pointed me to this solution and I already signed off from the
mailing lists. Thanks again,

Christian

My new suspend/resume part:
/sbin/hwclock --systohc
/usr/bin/chvt 1
/usr/local/sbin/vbetool vbestate save > /tmp/vbestate-save
/usr/bin/sync
echo shutdown > /sys/power/disk
echo disk > /sys/power/state
/sbin/hwclock --hctosys
/usr/local/sbin/vbetool vbestate restore < /tmp/vbestate-save
/usr/sbin/915resolution 3c 1400 1050
/usr/bin/chvt 2 #my X vt

The old one was just:
echo shutdown > /sys/power/disk
echo disk > /sys/power/state
/usr/sbin/915resolution 3c 1400 1050

- --
- ---
Christian Heimanns
ch.heimanns<at>gmx<dot>de

### Pinguine können nicht fliegen
- - Pinguine stürzen auch nicht ab! ###
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEQKbmABNhR5QHn0wRAm6XAJ9+E9rQRdfYy3h6E+D01puulN85zQCeL+nA
EuHA1Q6ojlv7KRu+/j5XeBU=
=cCwH
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-04-15 09:58    [W:0.127 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site