public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Christian Heimanns <ch.heimanns@gmx.de>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, pavel@suse.cz
Subject: Re: Suspend to disk
Date: Sat, 15 Apr 2006 09:55:22 +0200	[thread overview]
Message-ID: <4440A6EA.7040606@gmx.de> (raw)
In-Reply-To: <200604141611.50740.rjw@sisk.pl>

-----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-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2006-04-15  7:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-11 20:06 Suspend to disk Christian Heimanns
2006-04-11 20:35 ` Rafael J. Wysocki
2006-04-11 20:38   ` Rafael J. Wysocki
2006-04-14 11:26     ` Christian Heimanns
2006-04-14 14:11       ` Rafael J. Wysocki
2006-04-14 21:57         ` Suspend to disk (some PATCH) Jan Engelhardt
2006-04-14 22:02           ` Pavel Machek
2006-04-15 11:25             ` Rafael J. Wysocki
2006-04-15 13:18               ` Jan Engelhardt
2006-04-15  7:55         ` Christian Heimanns [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4440A6EA.7040606@gmx.de \
    --to=ch.heimanns@gmx.de \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@suse.cz \
    --cc=rjw@sisk.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox