From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Garrett Subject: Lid switch not waking machine Date: Mon, 7 Jul 2003 02:16:39 +0100 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20030707011638.GA19894@srcf.ucam.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org 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