Ok. I forgot to mention that I have a script that does that.
File: /usr/lib/systemd/system-sleep/hibernate-pre-post.sh
#!/bin/bash
WiFiModule=mt7921e
case "$1 $2" in
"pre hibernate" | "pre suspend-then-hibernate")
modprobe -r $WiFiModule
;;
"post hibernate" | "post suspend-then-hibernate")
modprobe $WiFiModule
;;
*)
:
;;
esac
I still can’t get hibernate to work on anything past kernel version 6.10.14. Does anyone have some other troubleshooting steps I can try?