AnsweredAssumed Answered

Suspend / Resume on the imx6sl-evk?

Question asked by trycatch on May 24, 2014

I am attempting to use suspend / resume on the imx6sl-evk.  Thus far, I am able to get it to enter suspend using the Freescale imx-linux  kernel and using pm-suspend or 'echo mem > /sys/power/state'.  However, I am completely unable to resume.  I have attempted to use the UART as a wakeup source via 'echo enabled > /sys/class/tty/ttymxc0/power/wakeup' (and a few of the other various paths that seem to lead to the same place as far as I am able to ascertain), however the device does not resume on wakeup.  I've also tried adding the following patch:

 

[PATCHv4 2/2] ARM: imx: Add wake functionality to GPIO | Linux | Kernel

 

Adding the GPIOs for the buttons on the top of the board does not appear to work (though adding some debug prints showed that it IS registering them, and I can no longer echo them to /sys/class/gpio/export, as they're in use.)

 

I haven't had a chance to test with anything else yet, but has anyone else had any success at all with resuming from suspend on the imx6sl, specifically the eval board?

 

For reference, find attached my .config, strace of pm-suspend and PM_DEBUG=true of pm-suspend

Original Attachment has been moved to: imx-linux-config.zip

Original Attachment has been moved to: strace-pm-suspend.txt.zip

Original Attachment has been moved to: pm-suspend-debug.txt.zip

Outcomes