Bug 2200 - uncorrectly enabling GPEs
Summary: uncorrectly enabling GPEs
Status: CLOSED CODE_FIX
Alias: None
Product: ACPI
Classification: Unclassified
Component: ACPICA-Core (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Robert Moore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-26 01:56 UTC by Shaohua
Modified: 2006-09-28 13:22 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.2
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
patch for the issue (2.95 KB, patch)
2004-02-26 02:02 UTC, Shaohua
Details | Diff

Description Shaohua 2004-02-26 01:56:52 UTC
Current ACPI implementation will enable a GPE if its corresponding _Lxx or 
_Exx method is found. But some GPEs the methods stand are wakeup GPEs. we 
shouldn't enable it before system enters sleep state.
In my P4 box, keyboard is such kind of devices. keyboard can generate 0x15 GPE 
to wakeup system, and DSDT has a method '_L15'. In 2.6.2, after boot, every 
hitting keyboard generates a SCI interrupt. if 0x15 is not enabled, keyboard 
doesn't create SCI.
Comment 1 Shaohua 2004-02-26 02:02:33 UTC
Created attachment 2237 [details]
patch for the issue

This patch disables all GPEs found in _PRW methods. Because GPEs found in _PRW
methods stand wakeup capacable GPEs.
Comment 2 Robert Moore 2004-03-26 15:03:28 UTC
Added _PRW support in version 20040326
Comment 3 Robert Moore 2004-04-27 15:06:02 UTC
GPE support revamped in 20040427

Note You need to log in before you can comment on or make changes to this bug.