public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fixed buffered ACPI events for a lot ASUS machines
@ 2005-09-12 11:39 Thomas Renninger
       [not found] ` <432568E3.6040401-l3A5Bk7waGM@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Renninger @ 2005-09-12 11:39 UTC (permalink / raw)
  To: Yu, Luming
  Cc: ML ACPI-devel, jfvasconcelos-Re5JQEeQqe8AvxtiuMwx3w,
	acpi4asus-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Len Brown

[-- Attachment #1: Type: text/plain, Size: 455 bytes --]

Hi,

I finally could resolve the buffering of ACPI events on
some ASUS (M6N, M6000, A3500N, A6000G, maybe more...)
when battery module is loaded.

After hours of hopeless debugging I could track it down by comparing
with Yu Luming's previously patch posted on bugzilla.kernel.org.

Yu, could you confirm that this is really fixing a bug and totally safe?

Or was this intended and could possibly lead to problems on other machines?

Thanks,

      Thomas

[-- Attachment #2: acpi_fix_ASUS_M6N_bufferd_events.diff --]
[-- Type: text/x-patch, Size: 346 bytes --]

--- drivers/acpi/ec.c.orig	2005-09-12 13:22:13.000000000 +0200
+++ drivers/acpi/ec.c	2005-09-12 13:22:22.000000000 +0200
@@ -840,8 +840,8 @@
 	ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Evaluating %s\n", object_name));
 
 	acpi_evaluate_object(ec->common.handle, object_name, NULL, NULL);
-end:	
 	atomic_dec(&ec->burst.pending_gpe);
+end:	
 	return;
 }
 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-09-13 10:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-12 11:39 [PATCH] Fixed buffered ACPI events for a lot ASUS machines Thomas Renninger
     [not found] ` <432568E3.6040401-l3A5Bk7waGM@public.gmane.org>
2005-09-13  2:31   ` Yu Luming
     [not found]     ` <200509131031.43570.luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2005-09-13  7:18       ` Thomas Renninger
     [not found]         ` <43267D43.3070305-l3A5Bk7waGM@public.gmane.org>
2005-09-13  9:08           ` Yu Luming
     [not found]             ` <200509131708.53544.luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2005-09-13 10:39               ` [Acpi4asus-user] " Thomas Renninger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox