[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ANN: apple motion sensor reverse engineered

Le mercredi 31 août 2005 à 13:26 +0200, Johannes Berg a écrit :
> On Wed, 2005-08-31 at 13:22 +0200, Johannes Berg wrote:
> > handlers:
> > [<f26a90a0>] (ams_interrupt+0x0/0x50 [ams])
> Ohh. Wait. The interrupt probably arrives before ams.init is set to
> true.

Indeed, that must be it. And the fact that the message is printed only
after 99900 IRQ_NONE interrupts makes this happen only after a few
insmod/rmmod cycles :)

I guess the code should return IRQ_HANDLED in all cases then...

Stelian Pop <stelian@popies.net>

Reply to: