From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Thias Subject: gpe-handler / acpi on ASUSL2400D Date: Wed, 26 Mar 2003 14:36:13 +0100 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <200303261436.13123.post@sthias.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit Return-path: 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 Hi, i'm a newbie on both acpi- and kernel-programming. I've got an ASUSL2400D-laptop and kenel 2.5.65. Upon pressing one of my laptops hotkeys, I receive an error message about a missing gpe-handler. After fiddling a bit, I wrote a module that installs a gpe-handler for 0x1D (the one triggered by my hotkeys). The handler calls "\_GPE._L1D" (using acpi_evaluate_object ...). Only then can I receive notify-events for "\_SB_.HOTK" and only then buttons like switching LCD-Backlights off or changing the brightness work. My question: Why do I have to install a gpe-handler by myself if there is a mehod "\_GPE._L1D" in dsdt. Is that the usual way to do such things? Thanks in advance S. Thias ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en