News for hackers. Stuff that matters.
Re:Why does Linux have so much trouble sleeping and waking? by MarkusWandel on Friday December 11, 2020 @04:09PM (#25391013)
Auto-suspend on lid close is a feature that I hate. Even on my work Windows laptop, I can never be sure that it will suspend, and half the time you wish it wouldn't because then your VPN connection will time out, etc. Thus people walking around with their laptop open a couple of inches. Much better to completely disable auto-suspend and get used to just pushing the suspend button and waiting the couple of seconds for it to react and then closing the lid.

That's the main reason I can't even be bothered to configure this (as in from the GUI) on my Linux machines.

Re:Why does Linux have so much trouble sleeping and waking? by hsitz on Friday December 11, 2020 @04:53PM (#25391685)
I understand that. My Linux machine is a 2015 Asus UX305 laptop. Suspend/resume works under Ubuntu's desktop, but I use i3wm, which requires the user to enable features like that themselves. I never did get auto-suspend to work, but I was able to get suspend to work when I attached to a hotkey. So instead of closing lid (or having auto-suspend after, say, 30 minutes inactivity), I just press the hotkey to have the machine suspend. I grew to prefer this to lid-closing. (Auto-resume always worked fine under i3wm, just press any key and it started up).
Re:Why does Linux have so much trouble sleeping and waking? by javier2 on Saturday December 12, 2020 @04:47PM (#25402034)
The Asus UX3xx series has been working near flawless for me. I now have a ryzen based matebook that is quite moody wrt to suspend. I havent used hibernate in over 10 years.
Re:Why does Linux have so much trouble sleeping and waking? by MarkusWandel on Friday December 11, 2020 @04:11PM (#25391042)
And what I mean by "flawless" is that the machine can be suspended and unsuspended hundreds of times between reboots, and that suspend/resume are quick. This definition of "flawless" also applies to the laptop that has the workaround on it. Kiddie laptops in this household aren't the most modern ones and reboots require patience.
Re:Why does Linux have so much trouble sleeping and waking? by chadlavi on Friday December 11, 2020 @11:05PM (#25395417)
As a Mac user this is pure madness to me.