This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335X gpio inotify

Hello,

For a Linux application in BeagleBone I want to be notified about gpi changes as fast as possible. I though inotify could be a good option but changes on /sys/class/gpio/gpioxxx/value files do not generate modification events. I guess this is so as the files are memory mapped and do not follow the standard kernel filesystem calls.

Any idea which approach to follow? The only concerns are: i) be notified as fast as a change occurs, ii) consume the minimum possible cpu

Regards