[SOLVED] suspend with dinit
long usage of systemd made me dumb, and I have no idea how to put the computer on S3 state from a command/script.
dinit does the halt/reboot things, but not suspend. I read that state can directly be set by echoing in sys:
echo "mem" > /sys/power/state
But that can put the graphic card (nvidia with nvidia driver... yes I know, or vmware in a virtualbox) in a weird state, so the resume does not work correctly.
Some of you have hints?