gpe-handler / acpi on ASUSL2400D

Sebastian Thias
2003-03-26T13:36:13Z

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