AnsweredAssumed Answered

How to enable graceful shut down in imx6?

Question asked by Derril Dsouza on Feb 10, 2017
Latest reply on Feb 16, 2017 by Derril Dsouza

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?

Outcomes