Jump to content

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


SteMMo

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 comment
Share on other sites

3 hours ago, SteMMo said:

To wakes up I notes different modes on different OSes:


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.

 

3 hours ago, SteMMo said:

is it possible to handle hibernation?

 

https://www.google.com/search?q=hibernation+rk3288

Link to comment
Share on other sites

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 comment
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 comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines