From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charl P. Botha" Subject: RE: help needed with invalid method in GPE block Date: 18 Mar 2003 09:51:14 +0100 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <1047977474.2189.16.camel@dutidad> References: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: "Grover, Andrew" Cc: "Moore, Robert" , acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.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