SteMMo Posted January 23, 2020 Posted January 23, 2020 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?
Igor Posted January 23, 2020 Posted January 23, 2020 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
SteMMo Posted January 23, 2020 Author Posted January 23, 2020 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
Igor Posted January 23, 2020 Posted January 23, 2020 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.
Recommended Posts