Comment by timcambrant
Comment by timcambrant 6 days ago
I have had very mixed experiences when suspending a laptop using Windows, various Linux distributions, MacOS and Windows 7-11. MacOS is the most polished yet, but Linux (kernel 2.4 to 6.8) has never nailed this. Often times the kernel refuses to sleep and the laptop will hotbox in the bag until the battery runs out. The same has happened on the other OSes, but less often.
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.
Hi,
> 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