Linux wireless drivers development
 help / color / mirror / Atom feed
From: Rik van Westendorp <rik@ellarik.com>
To: Ping-Ke Shih <pkshih@realtek.com>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: Bug report: Realtek RTL8851BE Wi-Fi does not recover from suspend
Date: Sun, 22 Nov 2026 13:45:00 +0700	[thread overview]
Message-ID: <ff6a236dd11ef2f2cb00202b4a6856424b93974b.camel@ellarik.com> (raw)
In-Reply-To: <7c49b984f5e24dcbadb391e0acdcda4a@realtek.com>


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

On Sun, 2026-11-22 at 01:37 +0000, Ping-Ke Shih wrote:
> Rik van Westendorp <rik@ellarik.com> wrote:
> > 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
> 
> 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

-- 
sent from Ubuntu / Evolution

  reply	other threads:[~2026-11-22  6:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-21  5:39 Bug report: Realtek RTL8851BE Wi-Fi does not recover from suspend Rik van Westendorp
2026-11-22  1:37 ` Ping-Ke Shih
2026-11-22  6:45   ` Rik van Westendorp [this message]
2026-11-23  0:45     ` Ping-Ke Shih

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ff6a236dd11ef2f2cb00202b4a6856424b93974b.camel@ellarik.com \
    --to=rik@ellarik.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=pkshih@realtek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox