Skip to contentSkip to conversation

Bug report: Realtek RTL8851BE Wi-Fi does not recover from suspend

DISCUSSION Rik van Westendorp 2 participants 6 messages Nov 21 – Nov 23

lore
Share & tools
lore
#0 lore raw

Bug report: Realtek RTL8851BE Wi-Fi does not recover from suspend

Summary

On an ASUS Vivobook 14 X1404MA, the Wi-Fi adapter (Realtek RTL8851BE) does not come back after resuming from suspend (s2idle). After resume, the wireless interface (wlp1s0) disappears completely from NetworkManager (nmcli device shows only lo), no wireless networks are visible, and a full reboot is required to restore Wi-Fi. Wired networking is not available on this laptop, so the machine is effectively offline until reboot.

Hardware

Laptop: ASUS Vivobook 14 X1404MA (Intel Core 5 315 platform, brand new, 2026)

Wi-Fi/Bluetooth combo: Realtek RTL8851BE PCIe 802.11ax (subsystem:
Foxconn International, Inc.)

Kernel driver: rtw89_8851be

Bluetooth part (RTL8851BU over USB/SDIO): also reloads firmware after resume and appears affected

Software

OS: Ubuntu 26.04 LTS (Resolute), fully updated as of 2026-11-21 (apt full-upgrade clean, no phasing issues relevant)

Kernel: 6.x/7.0 series - 7.0.0-44-generic (issue also present on 7.0.0- 30-generic before update)

NetworkManager: 1.54.3

Firmware: rtw89/rtw8851b_fw.bin, firmware version reported at boot:
0.29.41.5 (4bd6ebac)

Symptoms and dmesg evidence

Immediately after resume, the kernel logs (dmesg) show the driver failing to reinitialize the chip:

rtw89_8851be 0000:01:00.0: failed to write DBI register, addr=0xB48 rtw89_8851be 0000:01:00.0: failed to write DBI register, addr=0xB48 rtw89_8851be 0000:01:00.0: failed to read PCI cap, ret=134 rtw89_8851be 0000:01:00.0: loaded firmware rtw89/rtw8851b_fw.bin rtw89_8851be 0000:01:00.0: xtal si not ready(R): offset=41 rtw89_8851be 0000:01:00.0: xtal si not ready(W): offset=90 val=10 mask=10
rtw89_8851be 0000:01:00.0: failed to power on
rtw89_8851be 0000:01:00.0: failed to setup chip information rtw89_8851be 0000:01:00.0: probe with driver rtw89_8851be failed with error -110

Additional recurring warnings while the system is running (before suspend, sometimes after heavy traffic):

rtw89_8851be 0000:01:00.0: timed out to flush queues

NetworkManager logs meanwhile show the device moving to unmanaged and the rfkill device for the adapter disappearing (radio killswitch /sys/devices/.../rfkill3 disappeared), after which the Wi-Fi device is gone. A cold boot restores everything: firmware loads, chip powers on, connection succeeds. This is a power-state problem, not a general driver-failure problem.

Workarounds attempted (all without success)

Full system update (apt full-upgrade), including kernel upgrade from 7.0.0-30 to 7.0.0-44: issue persists.

Disable Wi-Fi power saving in NetworkManager (wifi.powersave = 2): no effect.

Kill and re-enable Wi-Fi radio via nmcli radio wifi off/on after
resume: device does not return.

Manual driver reload after resume (modprobe -r rtw89_8851be && modprobe rtw89_8851be): fails with the failed to power on / error -110 messages above.

Resume hook in /usr/lib/systemd/system-sleep/ unloading and reloading the module and restarting NetworkManager: no effect (same driver failure).

Module options rtw89_pci disable_clkreq=y and rtw89_core disable_lps_deep=y (verified active via sysfs): issue persists.

Kernel parameter pcie_aspm=off (verified active via /proc/cmdline):
issue persists.

Switching suspend mode to deep (mem_sleep_default=deep): made things worse, system failed to wake at all from suspend and required a 10-15 s power-button hard shutdown; reverted. Platform apparently only supports s2idle properly.

Manual PCI remove/rescan after a failed resume (echo 1 > /sys/bus/pci/devices/0000:01:00.0/remove, then echo 1 > /sys/bus/pci/rescan) was not yet tested successfully.

Current status

All configuration changes have been reverted to stock. Laptop boots and works normally, Wi-Fi works normally after a cold boot. Suspend remains
unusable: after resume there is no Wi-Fi at all, and the only recourse is a full reboot. As a result, suspend cannot be used on this machine.

Request

This appears to be a power-management state bug in the rtw89 driver / the RTL8851BE firmware suspend path (PCIe device fails to power on after resume, error -110 = ETIMEDOUT at probe). The chip seems to remain wedged in a low-power state that the driver cannot recover from, even after full module reload.

Requested: investigation of the rtw89 suspend/resume path for RTL8851BE on s2idle, ideally fixed in a future kernel/firmware update. Happy to provide full logs (dmesg, NetworkManager journal, lspci -vv, uname -a) on request. Please let me know if additional debugging output would help (e.g. dynamic debug traces of rtw89 suspend).

Reporter

Rik van Westendorp, ThailandDate: 21 November 2026

Signature · 1 line
sent from Ubuntu / Evolution
#1 lore raw
Quoted 5 lines · Rik van Westendorp

Symptoms and dmesg evidence

Immediately after resume, the kernel logs (dmesg) show the driver failing to reinitialize the chip:

Quoted 11 lines

rtw89_8851be 0000:01:00.0: failed to write DBI register, addr=0xB48 rtw89_8851be 0000:01:00.0: failed to write DBI register, addr=0xB48 rtw89_8851be 0000:01:00.0: failed to read PCI cap, ret=134 rtw89_8851be 0000:01:00.0: loaded firmware rtw89/rtw8851b_fw.bin rtw89_8851be 0000:01:00.0: xtal si not ready(R): offset=41 rtw89_8851be 0000:01:00.0: xtal si not ready(W): offset=90 val=10 mask=10
rtw89_8851be 0000:01:00.0: failed to power on
rtw89_8851be 0000:01:00.0: failed to setup chip information rtw89_8851be 0000:01:00.0: probe with driver rtw89_8851be failed with error -110

Try to disable d3cold before suspending by below steps:

1. use lspci to find the device address of RTL8851BE.
2. disable d3cold via sysfs
echo 0 > /sys/bus/pci/devices/<device_address>/d3cold_allowed

Ping-Ke

#2 lore raw

Hi Ping-Ke,

Confirmed: disabling D3cold before suspend fixes the issue. Wi-Fi comes back after resume with d3cold_allowed=0.

One observation: the sysfs setting did not seem to persist across suspend cycles on my machine - after one successful resume, the next suspend failed again until I re-applied the echo. I have now automated it with a systemd sleep hook that writes d3cold_allowed=0 in the "pre" phase before every suspend, and that works reliably.

Thanks a lot for the quick and accurate diagnosis!

Rik

Quoted 26 lines · Ping-Ke Shih
Quoted 5 lines · Rik van Westendorp

Symptoms and dmesg evidence

Immediately after resume, the kernel logs (dmesg) show the driver failing to reinitialize the chip:

Quoted 12 lines

rtw89_8851be 0000:01:00.0: failed to write DBI register, addr=0xB48 rtw89_8851be 0000:01:00.0: failed to write DBI register, addr=0xB48 rtw89_8851be 0000:01:00.0: failed to read PCI cap, ret=134 rtw89_8851be 0000:01:00.0: loaded firmware rtw89/rtw8851b_fw.bin rtw89_8851be 0000:01:00.0: xtal si not ready(R): offset=41 rtw89_8851be 0000:01:00.0: xtal si not ready(W): offset=90 val=10 mask=10
rtw89_8851be 0000:01:00.0: failed to power on rtw89_8851be 0000:01:00.0: failed to setup chip information rtw89_8851be 0000:01:00.0: probe with driver rtw89_8851be failed with
error -110

Try to disable d3cold before suspending by below steps:

1. use lspci to find the device address of RTL8851BE.
2. disable d3cold via sysfs
   echo 0 > /sys/bus/pci/devices/<device_address>/d3cold_allowed

Ping-Ke

Signature · 1 line
sent from Ubuntu / Evolution
#3 lore raw
Quoted 10 lines · Rik van Westendorp

Hi Ping-Ke,

Confirmed: disabling D3cold before suspend fixes the issue. Wi-Fi comes back after resume with d3cold_allowed=0.

One observation: the sysfs setting did not seem to persist across suspend cycles on my machine - after one successful resume, the next suspend failed again until I re-applied the echo. I have now automated it with a systemd sleep hook that writes d3cold_allowed=0 in the "pre" phase before every suspend, and that works reliably.

Can you help to use 'dmidecode' to find the board name and fill an entry like [1]? With the entry, the setting can be persistent.

[1] https://github.com/pkshih/rtw/blob/rtw-next/drivers/net/wireless/realtek/rtw89/pci.c#L4774

#4 lore raw

Hi Ping-Ke,

Here is the information:

baseboard manufacturer: ASUSTeK COMPUTER INC.
baseboard product-name:  X1404MA
system product-name:     Vivobook 14 X1404MA
system version:          1.0

lspci -nn for the card:
01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8851BE PCIe 802.11ax Wireless Network Controller [10ec:b85b]
(subsystem: Foxconn International, Inc. Device [105b:e100])

Let me know if you need anything else. Happy to test a patched driver if useful.

Rik

Quoted 22 lines · Ping-Ke Shih
Quoted 5 lines · Rik van Westendorp

Hi Ping-Ke,

Confirmed: disabling D3cold before suspend fixes the issue. Wi-Fi comes back after resume with d3cold_allowed=0.

Quoted 7 lines

One observation: the sysfs setting did not seem to persist across suspend cycles on my machine - after one successful resume, the next
suspend failed again until I re-applied the echo. I have now automated
it with a systemd sleep hook that writes d3cold_allowed=0 in the "pre" phase before every suspend, and that works reliably.

Can you help to use 'dmidecode' to find the board name and fill an entry like [1]? With the entry, the setting can be persistent.

[1]
https://github.com/pkshih/rtw/blob/rtw-next/drivers/net/wireless/realtek/rtw89/pci.c#L4774

Signature · 1 line
sent from Ubuntu / Evolution
#5 lore raw
Quoted 9 lines · Rik van Westendorp

Hi Ping-Ke,

Here is the information:

baseboard manufacturer: ASUSTeK COMPUTER INC.
baseboard product-name:  X1404MA
system product-name:     Vivobook 14 X1404MA
system version:          1.0
Quoted 7 lines

lspci -nn for the card:
01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8851BE PCIe 802.11ax Wireless Network Controller [10ec:b85b]
(subsystem: Foxconn International, Inc. Device [105b:e100])

Let me know if you need anything else. Happy to test a patched driver if useful.

I sent a patch [1]. Please help to test if it works to you. If so, please add a Tested-by tag there.

Note. Please remember removing the hook you added to systemd.

[1] https://lore.kernel.org/linux-wireless/[email protected]/T/#u