From: Matthew Garrett <mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Lid switch not waking machine
Date: Mon, 7 Jul 2003 02:16:39 +0100 [thread overview]
Message-ID: <20030707011638.GA19894@srcf.ucam.org> (raw)
If I press the lid switch to put my laptop to sleep, releasing it
doesn't wake it up. acpi_hw_enable_gpe_for_wakeup only seems to be
called from acpi_enable_gpe and only if ACPI_EVENT_WAKE_ENABLE is set -
acpi_enable_gpe only seems to be called from acpi_ec_gpe_query, and then
only as:
acpi_enable_gpe(NULL, ec->gpe_bit, ACPI_NOT_ISR);
So, should this function be being called for my lid switch, and if so
how? Or am I barking up the wrong tree entirely? Windows resumes happily
if the switch is released, so it's presumably capable of generating a
wakeup event.
--
Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
next reply other threads:[~2003-07-07 1:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-07 1:16 Matthew Garrett [this message]
[not found] ` <20030707011638.GA19894-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
2003-07-07 2:26 ` Lid switch not waking machine Matthew Garrett
2003-07-07 12:13 ` Derek Broughton
[not found] ` <007301c34481$29864080$3746028e-dP0OE4Ef7fWw5LPnMra/2Q@public.gmane.org>
2003-07-07 12:44 ` Simon Gates
2003-07-07 13:12 ` Matthew Garrett
[not found] ` <20030707131244.GA31883-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
2003-07-09 19:24 ` Nate Lawson
-- strict thread matches above, loose matches on Subject: below --
2003-07-14 0:44 Grover, Andrew
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=20030707011638.GA19894@srcf.ucam.org \
--to=mjg59-1xo5oi07kqx4cg9nei1l7q@public.gmane.org \
--cc=acpi-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox