Get the latest tech news
Speed up suspend/resume for FreeBSD
TOC    Preamble Studying the Libreboot log Studying the FreeBSD dmesg log Removing non-existent battery Replacing iwm driver with iwlwifi Turning off unnecessary USB devices Results Preamble Since I took my laptop (Thinkpad X220) from the shelf, hacked it, and installed FreeBSD 14.2 and Coreboot on it — I found that suspend/resume times are longer than before. When I was using this laptop with FreeBSD 11 and proprietary BIOS — it was suspending slightly faster. And resuming almost immediately — I was able to open the lid and the computer become usable immediately.
Since I took my laptop (Thinkpad X220) from the shelf, hacked it, and installed FreeBSD 14.2 and Coreboot on it — I found that suspend/resume times are longer than before. Things changed when I started to use this laptop with FreeBSD 14.2 and Coreboot — the resume process takes near a minute or more. So, I assumed that there are microseconds, since Libreboot boots extremely fast — since press to power button it loads immediately and passing the control to the payload (SeaBIOS).
Or read this on Hacker News