All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nigel Cunningham <ncunningham-oKK1aGe2n869koe0gwxAeg@public.gmane.org>
To: Ka-shu Wong <kswong-LJ1TwQYPT6cQrrorzV6ljw@public.gmane.org>
Cc: "Grover,
	Andrew" <andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	EricAltendorf-gZ4DH+Stb0k@public.gmane.org,
	swsusp-devel
	<swsusp-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
	ACPI List
	<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: Re: [Swsusp-devel] ACPI A/C adaptor status not updated	upon resume
Date: Sat, 19 Jul 2003 16:54:16 +1200	[thread overview]
Message-ID: <1058590455.2598.6.camel@laptop-linux> (raw)
In-Reply-To: <20030719041325.GA18250-dUyWl4+syqBVEeF2HbSC4pyo+8vLFsNxunOrhLTifxA@public.gmane.org>

Hi.

Yes, swsusp will be storing the ACPI state (along with all the rest of
memory). Swsusp has no way to tell whether the state is invalid or not,
or to exclude arbitrary parts of the memory from the image (particularly
since we're probably not talking about a whole page here). The easiest
way to overcome this problem at the moment is to make sure the state is
the same when you resume as it is when you suspend. Failing that, a DSDT
override that does the right thing. Does unplugging and plugging in the
power post resume get the BIOS to set things right?

Regards,

Nigel

On Sat, 2003-07-19 at 16:13, Ka-shu Wong wrote:
> I believe what's happening is that software suspend is somehow saving 
> the ACPI state on suspend, and after resume the state from before 
> suspend (which is no longer valid) is restored.
> 
> If the ACPI state is stored in kernel memory, then this makes sense.
> 
> So, my question (to the swsusp people) is whether it is possible to stop
> swsusp from restoring the old (invalid) ACPI state; and
> (to the ACPI people) is whether it is possible to reset the ACPI
> subsystem in some way.
> 
> - KS
-- 
Nigel Cunningham
495 St Georges Road South, Hastings 4201, New Zealand

You see, at just the right time, when we were still powerless,
Christ died for the ungodly.
	-- Romans 5:6, NIV.



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0

  parent reply	other threads:[~2003-07-19  4:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-18 23:53 Re: [Swsusp-devel] ACPI A/C adaptor status not updated upon resume Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A8470255EE9D-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-07-19  4:13   ` Ka-shu Wong
     [not found]     ` <20030719041325.GA18250-dUyWl4+syqBVEeF2HbSC4pyo+8vLFsNxunOrhLTifxA@public.gmane.org>
2003-07-19  4:54       ` Nigel Cunningham [this message]
     [not found]         ` <1058590455.2598.6.camel-udXHSmD1qAy4CTf7w+cZoA@public.gmane.org>
2003-07-21  2:31           ` Eric Altendorf
  -- strict thread matches above, loose matches on Subject: below --
2003-07-19  0:01 Grover, Andrew
2003-07-17 20:49 Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A847E9704C-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-07-18 23:38   ` Ka-shu Wong
     [not found]     ` <20030718233847.GA18001-dUyWl4+syqBVEeF2HbSC4pyo+8vLFsNxunOrhLTifxA@public.gmane.org>
2003-07-19  1:20       ` Gabor FLEISCHER
     [not found]         ` <20030719012023.GA26133-W2CIb6eAKHM@public.gmane.org>
2003-07-19  3:46           ` Ka-shu Wong

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=1058590455.2598.6.camel@laptop-linux \
    --to=ncunningham-okk1age2n869koe0gwxaeg@public.gmane.org \
    --cc=EricAltendorf-gZ4DH+Stb0k@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=kswong-LJ1TwQYPT6cQrrorzV6ljw@public.gmane.org \
    --cc=swsusp-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.