public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Charl P. Botha" <c.p.botha-ra0OqMccq8edIhEUFHOBvg@public.gmane.org>
To: "Grover, Andrew" <andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: "Moore,
	Robert" <robert.moore-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: RE: help needed with invalid method in GPE block
Date: 18 Mar 2003 09:51:14 +0100	[thread overview]
Message-ID: <1047977474.2189.16.camel@dutidad> (raw)
In-Reply-To: <F760B14C9561B941B89469F59BA3A84725A201-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>

On Tue, 2003-03-18 at 01:34, Grover, Andrew wrote:
> > From: Charl P. Botha [mailto:c.p.botha-ra0OqMccq8edIhEUFHOBvg@public.gmane.org] 
> > My frikking sleep button is still not waking my laptop up 
> > though.  I would
> > appreciate any other tips for debugging that problem.
> 
> I would guess that we are disabling your sleep button's GPE when we are
> sleeping.

Yes!  After going to bed last night, I remembered reading about the
various wake-up capable devices being enabled or disabled.

> To verify this, you might try calling _PRW from the button driver (or
> just look at the ASL), and then using that GPE number call
> acpi_enable_gpe(gpe_num, NULL, ACPI_EVENT_WAKE_ENABLE).

Hmmm, there are several other wake-up devices writing to GPE bit 0x1D,
e.g.:

Device (LID)
{
   Name (_HID, EisaId ("PNP0C0D"))
   Name (_PRW, Package (0x02)
   {
      0x1D, 
      0x03
   })
...

but the corresponding method in the _GPE namespace, _L1D(), Notify()s
the OS about wakeup (event 0x02) and sends only the button object along.

If I do acpe_enable_gpe(0x1D, NULL, ACPI_EVENT_WAKE_ENABLE), will it
mean that all these other devices will also be able to wake the laptop
up from S3?  My DSDT is at http://cpbotha.net/thingies/dsdt.asl.original

> This is not the correct long-term solution but it should at least verify
> the root cause of the problem...

Great.  I will try this tonight, thank you very much.  What would be the
Right Way(tm) of fixing this?

Thanks again,
Charl

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/


-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en

  parent reply	other threads:[~2003-03-18  8:51 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-18  0:34 help needed with invalid method in GPE block Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A84725A201-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-03-18  8:51   ` Charl P. Botha [this message]
2003-03-18 12:54   ` Charl P. Botha
  -- strict thread matches above, loose matches on Subject: below --
2003-03-18 22:25 Moore, Robert
     [not found] ` <B9ECACBD6885D5119ADC00508B68C1EA0D19BBD5-LkGsggTGxVmSsB6bSF6DdVDQ4js95KgL@public.gmane.org>
2003-03-18 22:33   ` Charl P. Botha
2003-03-18 22:24 Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A84725A204-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-03-19  8:38   ` Charl P. Botha
2003-03-18 21:54 Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A84725A203-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-03-18 22:09   ` Charl P. Botha
2003-03-18 17:21 Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A847E96D1A-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-03-18 21:44   ` Charl P. Botha
     [not found] <B9ECACBD6885D5119ADC00508B68C1EA0D19BBCC@orsmsx107.jf.intel.com>
     [not found] ` <B9ECACBD6885D5119ADC00508B68C1EA0D19BBCC-LkGsggTGxVmSsB6bSF6DdVDQ4js95KgL@public.gmane.org>
2003-03-18  0:19   ` Charl P. Botha
     [not found]     ` <20030318001918.GA651-V1rPnKwUOrA59+mn7qD7y50iERQUc4G+@public.gmane.org>
2003-03-18  8:54       ` Charl P. Botha
2003-03-17 23:07 Moore, Robert
     [not found] ` <B9ECACBD6885D5119ADC00508B68C1EA0D19BBCB-LkGsggTGxVmSsB6bSF6DdVDQ4js95KgL@public.gmane.org>
2003-03-17 23:20   ` Charl P. Botha
2003-03-17 21:34 Charl P. Botha

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=1047977474.2189.16.camel@dutidad \
    --to=c.p.botha-ra0oqmccq8ediheufhobvg@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=robert.moore-ral2JQCrhuEAvxtiuMwx3w@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