Re: Suspend to disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux