Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

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?

 

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

  • Author
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

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.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.