I can see that my power button package is already enabled, and my /proc/interrupts says "192: 1 0 gpio-mxc 0 Power Button". I am now NOT able to manual add a power button module. If I add my own module I get this print in dmesg "genirq: Flags mismatch irq 192. 00000002 (Custom Power Button) vs. 00000083 (Power Button)"
Can anyone suggest how can I use the inbuilt module for a graceful shut-down or even sleep mode?
Also is it possible to wake-up from sleep mode by monitoring this GPIO-interrupt?