It looks like this particular FreeBSD installation (we don't know if it's out of the box or customized, and haven't seen it side by side with another hardware setup) works very well. Wonder if the results are the same if they closed the lid rather than remembering to press the button. Also, I wonder why this doesn't trigger any authentication when starting back up. Anyone could snatch that laptop and still be logged in.
> It looks like this particular FreeBSD installation (we don't know if it's out of the box or customized, and haven't seen it side by side with another hardware setup) works very well.
All the settings I use are documented here - and its nothing special really - most people using FreeBSD on laptops use them:
- https://vermaden.wordpress.com/2022/04/14/freebsd-13-1-on-th...
- https://vermaden.wordpress.com/2018/11/28/the-power-to-serve...
> Wonder if the results are the same if they closed the lid rather than remembering to press the button.
I often just close the lid and DO NOT want the laptop to go to sleep - that is why I do not use it - but it works the same with hw.acpi.lid_switch_state=S3 in /etc/sysctl.conf file - it does not matter for FreeBSD if zzz(8) commands triggers S3 state or something else.
> Also, I wonder why this doesn't trigger any authentication when starting back up. Anyone could snatch that laptop and still be logged in.
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
I've mostly run thinkpads, and they've mostly worked. My current T16 not only suspendds/resumes well, I also successfully use full disk encryption recovery on boot from hibernate.
That said (and it pains me to say it), the experience is still nowhere near as flawless as MacOS on Silicon hardware.
Plus "Encrypt Swap" should ~always be used even on non Root-GELI-Systems ;)
The difference:
Suspend/Resume (S3)
CPU is powered off. RAM maintains power and data. Very low power usage. Sometimes referred to as 'Save to RAM' or 'Standby'.
Hibernation (S4)
CPU is powered off. RAM is powered off. Data/RAM/files wrote to disk. Power is off. Sometimes referred to as 'Save to Disk'.
This is a default setting that I never understood.
Nearly all laptops/keyboard have a sleep button, power button is often configured by default to also go to sleep. Additionnally you can configure to go automatically to sleep if inactive and on battery for a few minutes. Why would I want my laptop to go to sleep immediately when I close the lid?
Half of the time when I am closing the lid, it is to move from one space/room to another. I don't want my git pull/push, my music or my video call to stop for 20-30 seconds because I am just going from my sofa to my kitchen or from my desk to a meeting room.
And I don't want to be that dummy project manager who moves awkwardly from one place to another with his coffee cup in one hand and an opened laptop on the other hand nearly hitting everyone or the office plants in the process just because he is too dumb to configure his laptop correctly.