Subject: Re: ACPI notify events (was: Bogus ACPI battery information in recent current)
To: None <>
From: Sverre Froyen <>
List: current-users
Date: 12/17/2007 14:06:26
On Monday 17 December 2007, Joerg Sonnenberger wrote:
> On Mon, Dec 17, 2007 at 01:28:15PM -0700, Sverre Froyen wrote:
> > Correction!  I added more printfs and also turned on ACPI_DEBUG.  It
> > turns out that sometimes I get calls to maybe a couple notify handlers
> > immediately after a boot.  Then it looks like that part of the system
> > (ACPI calling the notify handlers) gets stuck.  Could this be a locking
> > issue?  How can I tell?
> If you press the power button, does the counter of the ACPI interrupt
> increase?

Don't know.  Looking at the acpica code it looks like I need to access the 
InterruptCount member in the structures acpi_resource_irq and 
acpi_resource_extended_irq.  What's the best way to get or print their