http://bugzilla.kernel.org/show_bug.cgi?id=11428
------- Comment #31 from [EMAIL PROTECTED] 2008-09-04 15:19 ------- Created an attachment (id=17625) --> (http://bugzilla.kernel.org/attachment.cgi?id=17625&action=view) dmesg 2.6.27-rc5 + patched from comment #28 + patch from comment #29 +DEBUG (In reply to comment #29) > Created an attachment (id=17608) --> (http://bugzilla.kernel.org/attachment.cgi?id=17608&action=view) [details] > Patch 2/2: try the debug patch > > Hi,Marton > Do you have opportunity to try the above two patches on the latest kernel > (2.6.27-rc5) and see whether the LID/AC/Battery event can be reported > correctly? > In the patch 1 the query_pending bit will be cleared only after processing > the EC notification event. > In the patch 2 the EC will work in polling mode when EC internal register > is > accessed. The EC GPE interrupt handler is only to process the EC notification > event. I did the following things: - patched 2.6.27-rc5 with the patch from comment #28 - also applied patch from comment #29 - enabled DEBUG in drivers/acpi/ec.c - booted into normal mode with parameters "acpi.debug_layer=0x00090004 acpi.debug_level=0x01f" - stopped acpid - executed "cat /proc/acpi/event" - pressed POWER button two times - pressed LID two times - unplugged and plugged AC two times - pressed POWER button two times Results: All events are reported through /proc/acpi/event. -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ acpi-bugzilla mailing list acpi-bugzilla@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla