linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problems with RTL8852BE PCIe 802.11ax Wireless Network Controller and Linux kernel 6.7.7-100.fc38.x86_64
@ 2024-04-15  8:04 Plamen Dimitrov
  2024-04-16  0:31 ` Ping-Ke Shih
  0 siblings, 1 reply; 13+ messages in thread
From: Plamen Dimitrov @ 2024-04-15  8:04 UTC (permalink / raw)
  To: linux-wireless


[-- Attachment #1.1.1: Type: text/plain, Size: 2522 bytes --]

Hi all,

I had some problems with RTL8852BE and tried a commonly suggested fix

$ sudo cat /etc/modprobe.d/20-wifi.conf
options rtw89_pci disable_aspm_l1ss=y disable_aspm_l1=y disable_clkreq=y
options rtw89_core disable_ps_mode=y

as

$ lsmod | grep rtw
rtw89_8852be           12288  0
rtw89_8852b           364544  1 rtw89_8852be
rtw89_pci              81920  1 rtw89_8852be
rtw89_core            577536  2 rtw89_8852b,rtw89_pci
mac80211             1568768  2 rtw89_core,rtw89_pci
cfg80211             1335296  3 rtw89_8852b,rtw89_core,mac80211

but this doesn't fix my issue which looks like

[ 1794.542266] rtw89_8852be 0000:02:00.0: FW does not process h2c registers
[ 1794.542269] rtw89_8852be 0000:02:00.0: HW scan failed with status: -110
[ 1794.935328] rtw89_8852be 0000:02:00.0: xtal si not ready(W): offset=90 val=10 mask=10
[ 1795.006323] rtw89_8852be 0000:02:00.0: xtal si not ready(W): offset=90 val=10 mask=10
[ 1795.006330] rtw89_8852be 0000:02:00.0: mac init fail, ret:-110

I verified that the changes take effect via

$ sudo modprobe -r rtw89_8852be
$ sudo modprobe -r rtw89_core
$ sudo modprobe -v rtw89_8852be

which produces

insmod /lib/modules/6.7.4-100.fc38.x86_64/kernel/net/mac80211/mac80211.ko.xz
insmod /lib/modules/6.7.4-100.fc38.x86_64/kernel/drivers/net/wireless/realtek/rtw89/rtw89_core.ko.xz disable_ps_mode=y
insmod /lib/modules/6.7.4-100.fc38.x86_64/kernel/drivers/net/wireless/realtek/rtw89/rtw89_pci.ko.xz disable_aspm_l1ss=y disable_aspm_l1=y disable_clkreq=y
insmod /lib/modules/6.7.4-100.fc38.x86_64/kernel/drivers/net/wireless/realtek/rtw89/rtw89_8852b.ko.xz
insmod /lib/modules/6.7.4-100.fc38.x86_64/kernel/drivers/net/wireless/realtek/rtw89/rtw89_8852be.ko.xz

However, the `xtal is not ready` still appears after reloading and the device is likely in a bad state once the error is already encountered:

[12876.478139] rtw89_8852be 0000:02:00.0: loaded firmware rtw89/rtw8852b_fw-1.bin
[12876.478249] rtw89_8852be 0000:02:00.0: Unable to change power state from D3cold to D0, device inaccessible
[12876.529327] rtw89_8852be 0000:02:00.0: xtal si not ready(R): offset=41
[12876.529336] rtw89_8852be 0000:02:00.0: no suitable firmware found
[12876.529339] rtw89_8852be 0000:02:00.0: failed to recognize firmware
[12876.529342] rtw89_8852be 0000:02:00.0: failed to setup chip information
[12876.530074] rtw89_8852be: probe of 0000:02:00.0 failed with error -2

Does anyone know what is going on here?

Regards,
Plamen Dimitrov

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3211 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-05-17  3:03 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-15  8:04 Problems with RTL8852BE PCIe 802.11ax Wireless Network Controller and Linux kernel 6.7.7-100.fc38.x86_64 Plamen Dimitrov
2024-04-16  0:31 ` Ping-Ke Shih
2024-04-16  2:23   ` Plamen Dimitrov
2024-04-16  2:31     ` Ping-Ke Shih
2024-04-23  2:30       ` Plamen Dimitrov
2024-04-23  2:49         ` Ping-Ke Shih
2024-04-25  3:30           ` Plamen Dimitrov
2024-04-25  5:41             ` Ping-Ke Shih
     [not found]               ` <c26272e9-069a-44b0-aee5-49530c084365@pevogam.com>
     [not found]                 ` <d69ab1ccd3fd456a82ae954d25d056ba@realtek.com>
2024-05-13  3:34                   ` Plamen Dimitrov
2024-05-14  3:26                     ` Plamen Dimitrov
2024-05-15  3:47                       ` Ping-Ke Shih
2024-05-15  5:40                         ` Kalle Valo
2024-05-17  3:01                         ` Plamen Dimitrov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).