Tinker: effects after 'echo mem > /sys/power/state'

Recommended Posts

Hi all,

I'm trying a Tinkerboard running armbian (minimal) and DietPi.

My goal is to handle suspend and wake up.

To enter in suspend mode i run 'echo mem > /sys/power/state'.

I'm looking other ways to suspend .. by C application or by a signal on GPIO


To wakes up I notes different modes on different OSes:

- linaro pressing power button, pressing a key on usb+bt keyboard, pressing usb+bt mouse button

- dietpi - pressing power button

- armbian minimal - nothing ? my guess is that the board shuts down


Please con you confirm?

Where does reside this different behaviors?

Thanks, regards.


PS: is it possible to handle hibernation?


Link to post
Share on other sites
Donate and support the project!

3 hours ago, Igor said:

It's a kernel feature which need a hook within OS - observed behaviour is IMO random and I don't know which kernels you have compared since you didn't provide any data.



Armbian: 5.4.x

DietPi: 4.19.57

Linaro: Linux tinkerboard 4.4.132+ #1 SMP Wed Aug 21 19:15:55 CST 2019 armv7l GNU/Linux

Link to post
Share on other sites
Just now, SteMMo said:

Armbian: 5.4.x


This forum is dedicated for digitally signed Armbian images. Support for Tinkerboard is done by ASUS. If.

Armbian with kernel 4.4.y should behave the same way as stock (ASUS/Linaro) while to get this functionality on a modern kernel, some patches needs to be implemented. Perhaps they already are, just not properly enabled. If you would use a Google, you wound find a patch since someone did something about. If you need this feature, proceed with implementing a patch with our build system or manually. If it works for you, send a patch to the build system. This is how I would solve this.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.