public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: "Ian E. Morgan" <imorgan@webcon.ca>
Cc: kernel list <linux-kernel@vger.kernel.org>
Subject: Re: Q: swsusp with S5 instead of S4?
Date: Mon, 30 May 2005 23:35:32 +0200	[thread overview]
Message-ID: <20050530213532.GA3371@elf.ucw.cz> (raw)
In-Reply-To: <Pine.LNX.4.62.0505301540410.20347@light.int.webcon.net>

Hi!

> >>Asside from trying to figure out exactly what hardware parameteres are not
> >>being saved/restored, I'm happy to let the BIOS initialise those things.
> >>But, I need a way to perform a normal power-off/S5 after swsusp instead 
> >>of a
> >>soft-off/S4 so that I don't have to go though the double-grub-boot process
> >>every time. Can this be done?
> >
> >echo shutdown > /sys/power/disk should do that. If it does
> >not... well, see what is different in those two codepaths...
> 
> I found out that 'shutdown' is the default and that I was already using
> that. Strange.
> 
> I did finally now get around to doing a more through battery of tests with
> many combinations of hibernating with 'platform' and 'shutdown' modes, and
> various GRUB 'halt' and 'reboot' commands. What I came up with is that
> basically nothing works.
> 
> In essentially all cases (except for rare inexplicable instances when it
> _does_ work, though I cannot replicate it with any consistency) the special
> keys _are_ functional immediately after power-on, through GRUB, through
> kernel initialization, through reading the suspended image. But then
> immediately after control is passed to the resumed system, the keys stop
> working.
> 
> Does this give you any other clues as to what might be going on?

No idea :-(. Something bad in ACPI land.

If there are some effects that survive reboot or powerdown, complain
to your system vendor about crappy hardware. We should fix Linux, too,
but that will be hard to do remotely.

Just go through swsusp and normal code paths, and see whats
different...

								Pavel

  reply	other threads:[~2005-05-30 21:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-02 21:49 Q: swsusp with S5 instead of S4? Pavel Machek
2005-05-30 19:53 ` Ian E. Morgan
2005-05-30 21:35   ` Pavel Machek [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-05-02 21:13 Ian E. Morgan
2005-05-30 23:48 ` Jim Crilly
2005-05-31 14:35   ` Ian E. Morgan
2005-05-31 17:14     ` Jim Crilly

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=20050530213532.GA3371@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=imorgan@webcon.ca \
    --cc=linux-kernel@vger.kernel.org \
    /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