-
Notifications
You must be signed in to change notification settings - Fork 114
Description
When I shut the lid, press F6 (sleep key), press the power button, or suspend in any other way, the Wifi no longer connects to any network. It can find them, it can try to connect to them, it can be toggled on and off, but it will never connect to the network after being suspended.
My only current solution is to reboot it, but this is not ideal.
I am using the latest Fedora (42) Asahi remix with GNOME on an M2 Macbook Air
My logs are here. I tried to make it as easy to read as possible.
This bug report actually comes from the reddit thread I posted on the asahi sub, and I was suggested to post it here.
My only current temporary solution is to run these 3 commands, but I have to do this every time I un-suspend it.
sudo rmmod brcmfmac_wcc
sudo rmmod brcmfmac
sudo modprobe brcmfmac
Edit
I've found a more automatic solution that I included in my post on reddit:
Do the following:
sudo vi /lib/systemd/system-sleep/restart-brcmfmac-module.sh
Add this text to the file:
#!/usr/bin/env sh
case "$1" in
post)
# system wake
rmmod brcmfmac_wcc
rmmod brcmfmac
modprobe brcmfmac
# sleep 0.5 && systemctl restart iwd.service # leave commented when not using iwd
;;
esac
Save and exit by typing:
:wq
Finally, run:
sudo chmod +x /lib/systemd/system-sleep/restart-brcmfmac-module.sh