Re: ANN: apple motion sensor reverse engineered
Le mercredi 31 août 2005 à 12:58 +0200, Johannes Berg a écrit :
> On Wed, 2005-08-31 at 12:11 +0200, Stelian Pop wrote:
> > I have the feeling that something is not entirely correct in the code
> > who activate/deactivate the interrupts, but I can't see what.
> I haven't been able to reproduce it yet, is there anything you want me
> to do if it should happen again?
Edit the code and print the value of ams.irq1 and ams.irq2 just before
the request_irq() calls.
The ams device seems to always use 57 and 58 (and your trace confirmes
those were the fired irq), but maybe we misinterpret somehow the OF
information and we register the handlers on some other random irq.
Stelian Pop <email@example.com>