Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => AM3352 => Topic started by: poly123 on July 07, 2015, 02:23:54 PM

Title: Suspend mode doesn't work
Post by: poly123 on July 07, 2015, 02:23:54 PM
Hi,

any ideas what to change to make use of the suspend mode?
I used "echo mem > /sys/power/state" for achieving this on BBB with TI SDK8. (http://processors.wiki.ti.com/index.php/AM335x_Linux_Power_Management_User_Guide)

With AM3352 SoM and latest Debian image from Olimex this does not work.
I get "bash: echo: write error: No such device" when trying this.

Any ideas?

Title: Re: Suspend mode doesn't work
Post by: JohnS on July 07, 2015, 04:15:04 PM
As /sys/power/state does not exist, it's one of: you've not config'ed kernel for it, not loaded module(s) or the special file has changed name.  Go hunting :)

John
Title: Re: Suspend mode doesn't work
Post by: poly123 on July 07, 2015, 06:12:01 PM
Thanks for your reply.

The file /sys/power/state does exist.
"cat /sys/power/state" gives always "Freeze" which doesn't make that much sense.

I will have a look into it over the next days and if I find a solution I will post it here.  :)