On 03/27/2016 03:42 PM, Michael Haas wrote:
> Hello all,
>
>
> I'm trying to poll() on a GPIO 'value' file on the a20-olinuxino-lime2.
> As a most basic test,
> I am using gpio-int-test.c [0]. Once gpio-int-test is running, I am
> putting 3.3V on the GPIO pin.
> The value file shows changes from 0 to 1 and back, but the IRQ never
> fires as evidenced by the /proc/interrupts file.
>
[..]
>
> Any idea what's going on here? Do I have to unmask an interrupt somewhere?
>

It turns out I was missing Henry Paulissen's patch, which can be found here:

https://groups.google.com/d/topic/linux-sunxi/2a1p-zg24RQ/discussion

and on sunxi-next.

Now The interrupt on gpio-266 is firing, but never seems to stop.. at
least with gpio-int-test.c. I will have a closer look soon(-ish).

Michael

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to