I've made some progress on suspend with FreeBSD on my Thinkpad T14 gen2i

Turns out there's a simple BIOS setting to enable S3 suspend—now it works!
Sort of, that is:

- I'm getting tons of errors from the intel wifi driver on resume, and have to do `service netif restart` to get it working again
- The screen isn't locked on suspend; guess I have to add an rc.d script for that
- For some reason, the shutdown button in Xfce doesn't shutdown anymore after I've resumed from suspend, but only logs me out

But I'm getting closer, and learning a lot in the progress. More debugging tomorrow!

#FreeBSD #RunBSD #Thinkpad

@kedara iwlwifi?
@grahamperrin yes, sorry, had to specify that.

@kedara if you're not already on 15 or 16, upgrade the base OS. STABLE will be better than RELEASE, if you have no special requirement for RELEASE. Use pkgbase.

If you are already on 15-STABLE or 16-CURRENT, you should find that iwm(4) is more stable, but less performant, than iwlwifi(4).

No mention of devmatch_blocklist anywhere in the FreeBSD Handbook or the documentation portal. You'll find it in the third manual page below. Good luck.

<https://man.freebsd.org/cgi/man.cgi?query=iwlwifi&sektion=4&manpath=freebsd-current>

<https://man.freebsd.org/cgi/man.cgi?query=iwm&sektion=4&manpath=freebsd-current>

<https://man.freebsd.org/cgi/man.cgi?query=rc.conf&sektion=5&manpath=freebsd-current>

#FreeBSD #documentation #Handbook #devmatch #WiFi #iwlwifi #iwm

iwlwifi(4)

@grahamperrin I'm on 15.0-RELEASE-p5, with packaged base. I'll have a look at those man pages, thank you!
@grahamperrin so if I understand correctly, there is a call for testing on 16 before 15.1 is released? I'm new to FreeBSD as you can tell, how would I test this while keeping my laptop @ the 15 release version? Can I install to a separate ZFS dataset? The intel card is an AX210 btw, if relevant.