The workaround I used was a script that reset the wifi hardware when it
came out of standby. It might make it take a few seconds longer than a
correct fix, but it worked well enough:
Create the script:
sudo nano /lib/systemd/system-sleep/wifi-unbind.sh
Script contents:
#!/bin/bash
case "$1/$2" in
pre/*)
# Physically remove the Wi-Fi endpoint from the PCI bus before suspend
if [ -d /sys/bus/pci/devices/0004:01:00.0 ]; then
echo 1 > /sys/bus/pci/devices/0004:01:00.0/remove
sleep 1
fi
;;
post/*)
# Rescan the PCI bus to rediscover and re-probe the Wi-Fi card
echo 1 > /sys/bus/pci/rescan
;;
esac
It should apply immediately but might have to reboot if wifi is already
borked.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169326
Title:
Ubuntu 26.10 Concept - Wifi does not work after sleep [Lenovo Yoga
Slim 7x]
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-concept/+bug/2169326/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs