|
发表于 2022-11-29 10:15:57
|
显示全部楼层
Hi, I'm here to answer my own question, ubuntu uses systemd, so create file in /etc/pm/config.d/config will NOT work. on ubuntu, you will need to use the script posted by Magister:
$ cat /usr/lib/systemd/system-sleep/remove-mt7921e.sh
#!/bin/bash
[ "$1" = "post" ] && exec /usr/sbin/modprobe mt7921e
[ "$1" = "pre" ] && exec /usr/sbin/modprobe -r mt7921e
exit 0
And I can confirm this works for me! (ubuntu 22.04 LTS + SER5 5600H) |
|