Re: ACPI EC warnings

From: Guillaume Chazarain
Date: Sun Dec 24 2006 - 16:32:05 EST

Patch looks nice,
But LKML didn't like gmail's HTML so here is it again. Hopefully this one will pass.

btw do you notice any skippy behaviour? i.e sound skips when I get this warning

No, in my case I just get the message: ACPI: EC: evaluating _Q20
or something else is broken and I blame ACPI because its flooding dmesg =)
I happen to have at the moment some other debugging printk, flooding
my logs, and sound doesn't skip either :-) Asus V6VA - Pentium-M 2GHz here.


diff -r ef50bfb54157 drivers/acpi/ec.c
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -424,7 +424,7 @@ static void acpi_ec_gpe_query(void *ec_c

snprintf(object_name, 8, "_Q%2.2X", value);

- printk(KERN_INFO PREFIX "evaluating %s\n", object_name);
+ ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Evaluating %s", object_name));

acpi_evaluate_object(ec->handle, object_name, NULL, NULL);