GPIO-INTR
Luiz Otavio O Souza
lists.br at gmail.com
Wed Mar 11 17:15:11 UTC 2015
On 9 March 2015 at 14:43, Manuel Stühn wrote:
> Hi,
> i'm trying to get gpio-events signalled into userspace-applications on a
> RPi-B. I found some pieces about gpio-interrupts in conjunction with kqueue
> in the web, but nothing that makes me able to get some notification from
> gpio. There is an example "gpio-intr-kqueue.c", which compiles smoothly, but
> gives me only something like:
>
> ./gpio-intr-kqueue 23
> Awaiting interrupts on pin: 23
> error: Operation not supported by device
>
> How do i configure a gpio-pin as an interrupt?
Hi Manuel,
I changed the way the GPIO events are passed to userland and
gpio-intr-kqueue won't work anymore.
I'm working in its replacement and I will soon post the patches and
(hopefully) a comprehensive guide to get it working.
There is also an ongoing work to change interrupt support on ARM which
I need to catch up.
Regards,
Luiz
More information about the freebsd-arm
mailing list