138 points by vermaden 1 week ago | 64 comments
ohazi 5 days ago
Maybe in another five years...
starspangled 5 days ago
Linux used to be able to do S3 sleep well, and now it can't because... new platforms removed S3 for S0ix? Or S3 became even more complicated with mroe platform quirks and weird hardware?
jodoherty 5 days ago
Now I have to worry about my laptop randomly overheating itself in my backpack and even catching fire.
danieldk 5 days ago
That, but probably also to compete with Mac's Power Nap feature (2012) that updates Mail, Messages, and other applications during sleep (so that when you open up the laptop messaging apps are immediately up to date):
https://www.engadget.com/2012-06-11-apple-introduces-power-n...
Apple managed to do it without setting your laptop on fire. Meanwhile Dell recommends you to switch off a laptop when you put it in your backpack:
https://www.dell.com/support/kbdoc/en-us/000124304/notebook-....
0x457 4 days ago
Now i'm wondering if it's Apple fault that S3 got removed.
goosedragons 4 days ago
actionfromafar 5 days ago
4ad 5 days ago
pxeboot 5 days ago
dbtc 5 days ago
treffer 5 days ago
So I can understand that there is no option for it if all you can get is out of spec behavior and crashes.
Also note that it is incompatible with some secure boot and system integrity settings.
gertop 5 days ago
4ad 5 days ago
0x457 4 days ago
vladvasiliu 5 days ago
Is that actually a thing? On my Windows machine media stops playing when I put it to sleep. The machine is clearly not completely off, though, judging by the fan spinning like crazy from time to time.
Also, the whole "keep checking for e-mails" and whatever is clearly broken, since after waking up Outlook needs a while to come back to life and show new messages.
sim7c00 5 days ago
i know it didnt end up with this logic but it melts my brain as to why... is it cheaper to implement the hw without support for deep sleep?
most specifications have it included (pcie, nvme, ahci etc. etc.) so you'd expect most devices working via pc platform would implement these things :(
cant wait to push my OS onto real hardware and burn my fucking house down
v1ne 5 days ago
I really appreciate that people still maintain FreeBSD on the desktop, though.
ori_b 5 days ago
It's unfortunate that I needed Linux to get some of my work done.
margana 5 days ago
nine_k 5 days ago
What am I missing?
Joker_vD 5 days ago
> some peripherals have to be re-initialized
AIUI, these things actually way more hard than it sounds because hardware developers live in their own world, apparently. There's been articles here on HN from mjg59's blog (who's one of the guys maintaining all this power management stuff in the Linux kernel) like this one [0] about how some hardware simply chooses to do things that make this "re-initialization" impossible to do reliably.
gertop 5 days ago
com2kid 5 days ago
Not sure if the embedded video is suspend to RAM or disk. Also not sure why there wasn't a PW prompt upon resume, but I'm not a BSD person, just someone who is paranoid about PW prompts.
vermaden 5 days ago
Its Suspend to Disk (S3).
> Also not sure why there wasn't a PW prompt upon resume, but I'm not a BSD person, just someone who is paranoid about PW prompts.
The purpose of this videos were to show only the suspend/resume process of FreeBSD system.
In my daily life I have two shortcuts related to this:
- [SUPER] + [L] - locks the system and leaves it running - and it requires to enter password
- [SUPER] + [CTRL] + [ALT] + [L] - locks the system AND PUTS IT INTO S3 SLEEP - and it requires to enter password if you wake it up
Hope that helps.
Regards,
vermaden
cperciva 5 days ago
S3 is suspend to RAM. Suspend to disk is S4.
vermaden 5 days ago
0x457 5 days ago
Also, if it's Xorg lockscreen, then it's probably not very secure to begin with.
maybeben 5 days ago
bboygravity 5 days ago
I want to update my hardware to a Lenovo. Not looking forward to new "sleep won't work no matter what you try" adventures.
That sht is like printers: should always work, never does.
trelane 5 days ago
vladvasiliu 5 days ago
I have two HP EliteBook G8s, one AMD one Intel. Both work perfectly with Linux, although they don't support S3, only the "modern" standby.
The AMD one randomly craps out if suspended in Windows. No idea what it does, but it gets extremely hot and doesn't respond to anything but a hard reset. Sometimes it reboots on its own. Maybe because it gets too hot? No idea.
The Intel one also sometimes gets fairly warm for no reason (I keep it up to date, so it can't be random updates - also happens in my bag, so while unplugged). But sleep now mostly works fine. For the first year or so it would sometimes wake up with a garbled screen.
Those are both your regular basic enterprise laptops, no dedicated GPUs or anything fancy.
trelane 16 hours ago