From: Alex Bligh - linux-kernel <linux-kernel@alex.org.uk>
To: "Grover, Andrew" <andrew.grover@intel.com>,
"'Alex Bligh - linux-kernel'" <linux-kernel@alex.org.uk>,
linux-kernel@vger.kernel.org
Cc: Alex Bligh - linux-kernel <linux-kernel@alex.org.uk>
Subject: RE: 2xQ: Is PM + ACPI but /no/ APM a valid configuration? Interru pts enabled in APM set power state?
Date: Wed, 31 Oct 2001 21:57:21 -0000 [thread overview]
Message-ID: <284303687.1004565440@[195.224.237.69]> (raw)
In-Reply-To: <59885C5E3098D511AD690002A5072D3C42D6DC@orsmsx111.jf.intel.com>
In-Reply-To: <59885C5E3098D511AD690002A5072D3C42D6DC@orsmsx111.jf.intel.com>
Andrew,
--On Wednesday, 31 October, 2001 1:33 PM -0800 "Grover, Andrew"
<andrew.grover@intel.com> wrote:
> If you are willing to try acpi, I'd recommend everything on for now.
OK, so I tried the combinations again, and where it says ACPI,
I now mean ACPI + all bells / whistles as suggested. Sadly the net effect
seems to be that it disables any useful power management
functionality, and doesn't fix any broken stuff :-(
Results for T23:
No PM, no ACPI, no APM
suspend works - i.e. doesn't crash on resume,
but 'dumbly' and doesn't restore some PCI states
(unsurprising), clock, etc., and no /proc/apm
etc.
PM, no ACPI, no APM
this seems to work, but debugging the power management
stuff suggests that the PCI drivers are never sent
suspend or resume events, which is causing the
crashes below.
PM, ACPI, no APM
Suspend buttons (all of them) & closing laptop
lid no longer do anything. As there's no apm support,
apm -s doesn't work either, so impossible to test
suspend.
[wierd messages now gone - thanks Andrew.].
PM, no ACPI, APM
Machine hangs on resume.
printk()s tell me that it successfully does
all the pm_send stuff, then calls apm_set_power_state()
(I can see this immediately before the LCD disappears).
But on resume, though the LCD comes back on, it
never gets to the printk() I inserted immediately
afterwards.
I added further printk(s) to immediately after
the segment restore on the bios calls, and indeed
it never appears to return.
PM, ACPI, APM
as above
Also, on advice, I have APM configured to allow
interrupts (IBM laptop). So what happens if a
device interrupts as / because of the resume,
perhaps before the segment registers have
been restored, and certainly before the pm_send
stuff has gone around?
[kernel 2.4.12-ac5 at present]
--
Alex Bligh
next prev parent reply other threads:[~2001-10-31 21:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-31 21:33 Grover, Andrew
2001-10-31 21:57 ` Alex Bligh - linux-kernel [this message]
2001-10-31 22:20 ` Patrick Mochel
2001-10-31 22:32 ` Alex Bligh - linux-kernel
2001-11-02 12:13 ` Pavel Machek
-- strict thread matches above, loose matches on Subject: below --
2001-10-31 19:26 Grover, Andrew
2001-10-31 20:41 ` Alex Bligh - linux-kernel
2001-10-31 21:02 ` Alex Bligh - linux-kernel
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='284303687.1004565440@[195.224.237.69]' \
--to=linux-kernel@alex.org.uk \
--cc=andrew.grover@intel.com \
--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
all inboxes | Powered by JetHome®