To hibernate my Debian Wheezy system, I run the following command:
sudo sh -c 'echo disk > /sys/power/state'
To wake up the system, I can press any key on my USB keyboard. My understanding of hibernation/suspend to disk is that the machine state is saved into swap space, and the machine is completely powered off.
Is it possible to enable "Wake on USB" without hibernating the system? So I can power on the system, by pressing a key on the keyboard, after a normal shutdown?
So far I have located the USB port the keyboard is connected to, and tried the following command:
sudo sh -c 'echo enabled > /sys/bus/usb/devices/2-4/power/wakeup'
But after shutting the system down, I cannot turn it on again by pressing a key on the keyboard. The fact that the power is completely cut off when hibernating the system, makes me believe that it could also be possible to wake the system by USB from normal shutdown. But I have not found any solution yet.