I am using iMX53qsb with Yocto and want to run some script by button pressing. Now I have enabled interrupt on user button (as gpio), but I can't imagine how to handle it.
Could anyone point me how to handle this interrupt or where I can read more about this?
Button is Volume_up (GPIO_2_14), set as gpio and interrupt event is falling edge; in cat /proc/interrupts I see following:
174: 0 - gpiolib
and second column is counting on every pressing.