1

I have a RPi connected to TV via it's USB port to display statistics graphs. Every morning I have to power it up and set up the chrome tabs which consumes lots of time. I was looking for a way to safely hibernate or suspend by saving state in the evening so the following morning I only have to boot it up.

Leaving the TV on all night is not an option.

  • It's in theory possible to hibernate but you will need to compile a custom kernel, as last I checked the stock one does not include that. – goldilocks Oct 3 at 19:38
  • There is NO support with ANY Raspberry for hibernate or suspend. The hardware isn't configured for that. – Dougie Oct 3 at 22:06
  • @Dougie Hibernate does not require hardware support, but it does require a swap partition at least the size of the RAM. When you hibernate the current memory image is stored in the swap partition. A restore= parameter to the kernel command line indicates the location of the swap partition, and when it boots, it checks to see if there is a saved image there. If so, it loads that image into userspace RAM and presto, state is restored.... – goldilocks Oct 3 at 23:55
  • However: I did later try this and it did not work. I did not bother to drill down and find out why/if some workaround is possible. – goldilocks Oct 28 at 17:52
1

is switching only the TV off and leaving the Pi running an option for you? I have a couple running this way - one with OMV and one with Pi-Hole. this way you can also reach the Pi via SSh or VNC from your laptop for example. Another option would be to simply disconnect the TV and connect via VNC from another computer.

https://www.raspberrypi.org/documentation/remote-access/vnc/

0

Try sudo systemctl hibernate You could also suspend it if you wanted to with sudo systemctl suspend

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.