Skip to contentSkip to conversation

gpe-handler / acpi on ASUSL2400D

DISCUSSION Sebastian Thias 1 participant 1 message Mar 26, 2003 ACPI

lore
Share & tools
lore
#0 lore raw

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