Marcin Wójcik <wojcikmarcin49@xxxxxxxxx> wrote: > Good morning, > I was asked to email you about my problem with wifi card connectivity > after suspending: > https://github.com/morrownr/rtw89/issues/18#issuecomment-3083784268 By the log, 0000:39:00.0: Unable to change power state from D3cold to D0, device inaccessible Seemingly, device gets lost after system resumes. To resolve the root cause, we need to measure hardware signals, but this is not possible to you. Then, I'd like to add a quirk for your platform. Could you share the output of 'sudo dmidecode'? I'll try to make a patch. With a quirk set, calling pci_d3cold_disable() to disable d3cold might be a possible solution. > > I managed to solve that problem after writing 0 to > /sys/bus/pci/devices/0000:39:00.0/d3cold_allowed > > That's my wifi card: > marcin@fedora:~$ lspci | grep Realtek > 39:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852BE > PCIe 802.11ax Wireless Network Controller > > Is there any chance to solve this problem without needing to write 0 > to sys files?