I am working with gpio interrupts. I have a file in “/sys/class/gpio/gpio38/value”. I want a notification whenever there is a change in attribute value. So how can I achieve this in user-space. As I have already collected information, I can use select(), poll() or epoll(). So which is correct for this application ? Or please suggest me if I can use /proc/irq or something. Thanks 🙂
I am working with gpio interrupts. I have a file in /sys/class/gpio/gpio38/value. I want
Share
I have found something here that may be of help:
Although it says it’s for “gpio42”, I’m guessing this may apply to your case to. If it doesn’t, make a comment in my answer.