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.

gpio driver user mode irq

Hi Experts,


As per my understanding the GPIO can be controlled from userspace using sysfs entries. If I would like to change the state of a GPIO ( For illustration, When key pressed switch ON LED when released switch OFF LED) based on the input state of another GPIO . The kernel code can written and registered for IRQ for the particular pin to achieve it but is there any user mode driver option to register an IRQ/signal/event handler to sense the input status of GPIO pin ?