public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* S3 resume and Wake events
@ 2004-03-26  1:34 Manpreet Singh
       [not found] ` <EB6B0A91B0F6AC44842492A8F6852CDE11AAB6-jfDmLf0o5iKyvBr3IBtpkhUaVx6/PbGo@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Manpreet Singh @ 2004-03-26  1:34 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi,

I am attempting to resume from S3 using a magic packet from an NIC. The NIC
asserts the PME# and the status bit gets set in the I/O controller, but it
turns out that the ACPI suspend code in the kernel disables *all* GPEs before
sleeping and so I can't wake the system up after it goes to sleep.

Tracing through the code (on the 2.6.4 stock kernel), at one point, the
function acpi_enter_sleep_state() calls acpi_disable_non_wakeup_gpes() which
disables all GPEs, even the ones that are potentially the wake-up events like
the PME_EN bit.

I am not sure if this is the case always or if there is a way to configure
the system to specify which GPEs are the candidates for wake-up.

I would appreciate your help and suggestions.

Thanks,
Manpreet.



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-04-02 10:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-26  1:34 S3 resume and Wake events Manpreet Singh
     [not found] ` <EB6B0A91B0F6AC44842492A8F6852CDE11AAB6-jfDmLf0o5iKyvBr3IBtpkhUaVx6/PbGo@public.gmane.org>
2004-04-02 10:31   ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox