GPIO-INTR

Manuel Stühn freebsdnewbie at freenet.de
Mon Mar 9 17:46:49 UTC 2015


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?



More information about the freebsd-arm mailing list