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.

Screensaver/suspend on AM335x EVM SK

Hello,

I've learned how to use the user space suspend commands to put the EVM SK to suspend the system in deepsleep0 mode "echo mem > /sys/power/state".

During normal operation, my unit will be running a Qt application. I'm not sure if this is a Qt question or a Linux question, but thought I'd try here first. How would I go about putting the system into suspend mode if the touch screen has not been used for a certain amount of time. Is it possible to run a script in the background that runs a timer that gets reset every time the touch screen interrupt is triggered? Or is this a Qt application question where a timer is running inside of the application that gets reset every time the screen is touched?

If it can be done both ways, I'd prefer to do this on the OS level instead of the Qt application level.

I'm using SDK 06.00.00.00 with kernel 3.2.0.

Any pointers/direction on how to do this are appreciated.