Score:0

How to (or can I) resume from suspend by a command?

ng flag

I want to do suspend and resume via KDE Connect's command function. It's possible, and I've done to do suspend, but I cannot find a way to resume via command. How to (or Can I) do so?

David avatar
cn flag
If the computer is sleeping how do you expect to respond to a command?
Emoji avatar
ng flag
I don't know is it possible, so I added a "Can I" in the title.
Emoji avatar
ng flag
As the computer is not powered off (just sleeping, not hibernating), I think there should be a way to resume it.
David avatar
cn flag
In hardware yes never heard of a software way to wake a sleeping machine. What do you define as the difference between sleeping and hibernating?
Emoji avatar
ng flag
@David: Maybe the comment you commented is the answer: "No, that's impossible." As I've done the unlock and lock part of the KDE Connect commands, that might be enough for me.
Soren A avatar
mx flag
Could WOL - Wake On Lan - work here ? I have no experience with WOL and Suspend/Resume, so it is just a "qualified" guess.
pLumo avatar
in flag
@SorenA that was also my thought.
uz flag
Jos
I used WOL a long time ago. You had to enable it in the BIOS. Then, when the network card receives a specially crafted packet, the whole OS is resumed. I used this little app on Windows: https://www.nirsoft.net/utils/wake_on_lan.html to wake up my Ubuntu server. More explanation on that link. It only runs on wired networks, not on WiFi.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.