Ubuntu Support Template
Ubuntu Version:
24.04 and 25.10 (Kubuntu distro)
Desktop Environment (if applicable):
KDE Plasma
Problem Description:
First of all I’m not very experienced nor English native.
As described in this topic: “Realtek Wifi Adapter RTL8723BE works initially but disabled after suspend” and “Looking for help with Realtek RTL8852BE PCIe 802.11ax Wireless Network Controller” there are some issues with the Realtek wifi drivers that seems to not “wake-up” after suspension. I posting this topic since I can’t post a reply to a closed topic and want to share a “solution” to users blocked with this.
What I’ve tried:
I’ve tried the solutions provided here which might be better if it works for you: https://github.com/lwfinger/rtw89/issues/240#issuecomment-2585767029 It makes use of the driver params to avoid suspension mode.
Solution
I’ve been guided by a college so any further insight or technical detail may offer users more information. Summarized, we will tell the PCI manager to not allow the Wifi card to go in suspension mode (since its not able to wake-up again) which is not ideal from the power save point of view.
First you will need to identify uniquely your pci, in order to do so you can run:
lspci
Search for “Realtek […] Wireless Network Crontroller” and get the first numbers which is an address, in my case: “01:00.0”. Then run:
devadm info -a -p /sys/bus/pci/devices/{PCI_ID}
In my case:
devadm info -a -p /sys/bus/pci/devices/0000\:01\:00.0
Here check for the value for KERNEL which in my case is 0000:01:00.0. And create a rules file in udev to add an action on system start, use your preferred text editor:
sudo nano /etc/udev/rules.d/99-realtek-suspend.rules
Then add this line to avoid the Wifi card to go into suspension mode:
SUBSYSTEM=="pci", KERNEL=="{YOUR_KERNEL_VALUE}", ATTR{d3cold_allowed}="0"
In my case:
SUBSYSTEM=="pci", KERNEL=="0000:01:00.0", ATTR{d3cold_allowed}="0"
Now yo can restart and test your suspend feature.