Suspend or hibernate

Hi all! While I’m waiting for my board to arrive I think that it’s time to ask about some things that I’m interested in and might need in future.
Does someone successfully used a suspend or hibernate modes on rock5b? What about the power consumption in suspend mode?
What is the ways to boot from the suspend/hibernate mode the board have (power button/gpio interrupt?) ?

1 Like

yes i tested suspend and it didnt work it did go into suspend but refused to wake up (i am booting armbian from nvme)

On armbian, suspend isn’t working for me too. The board enters the suspend state and then, in approximately 20 seconds, resumes by itself with the unknown wakeup reason and “oops” kernel message with memory dump in dmesg.

Now trying to compile the armbian kernel with hibernation support enabled.

Have compiled the 5.10.110 kernel with the hibernation support and played with it for some time. It does not works)

What have been done already:

  1. Compiled the kernel with hibernation support
  2. Created swap file (16 gigabytes = RAM size), enabled swap and added it to /etc/fstab
  3. Turned off armbian zram swap
  4. Added corresponding resume and resume_offset to kernel arguments

After issuing the sudo systemctl hibernate the board turns off. After power cycling the board boots armbian, but dmesg states that the resume failed because of LZO error while reading the restore image.

Will hook up the serial console to see what is happening there during the hibernation procedure.