Hello,
I have a lenovo ideapad laptop with the following realtek wifi card:
sudo lspci -nnk | grep -iA3 net
01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:b852]
Subsystem: Lenovo Device [17aa:4853]
Kernel driver in use: rtw89_8852be
Kernel modules: rtw89_8852be
The problem I’m having is that on tumbleweed the card randomly disconnects from wifi and I cannot get the network to work without a reboot (turning the card off and on in the kde gui doesn’t help).
I found the rfkill command and I could see if the card is soft locked with it and try to unlock it if the card disconnects again, but it works now so I can’t check.
Here’s the journalctl output after starting firefox (it disconnected like a minute after starting the browser but the issue doesn’t seem like it has something to do with firefox): openSUSE Paste
Somewhere around the end of the log file I turned wifi on and off several times with the kde gui to get some more information if that helps.
Thanks for help
Maybe this is helping:
https://bbs.archlinux.org/viewtopic.php?id=286109
or
opened 09:00AM - 18 Mar 22 UTC
closed 11:48AM - 25 Mar 22 UTC
I've no stable internet connection (a simple ping leads to >50% data loss, it lo… oks like after every 4-5th ping there are 5missing pings)
```
ping -c 60 8.8.8.8 -I wlp3s0
PING 8.8.8.8 (8.8.8.8) from 192.168.178.56 wlp3s0: 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=2 ttl=118 time=17.7 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=118 time=16.1 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=118 time=16.0 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=118 time=16.5 ms
64 bytes from 8.8.8.8: icmp_seq=13 ttl=118 time=1045 ms
64 bytes from 8.8.8.8: icmp_seq=14 ttl=118 time=21.8 ms
64 bytes from 8.8.8.8: icmp_seq=15 ttl=118 time=16.6 ms
64 bytes from 8.8.8.8: icmp_seq=16 ttl=118 time=14.8 ms
64 bytes from 8.8.8.8: icmp_seq=17 ttl=118 time=16.7 ms
64 bytes from 8.8.8.8: icmp_seq=26 ttl=118 time=1045 ms
64 bytes from 8.8.8.8: icmp_seq=27 ttl=118 time=20.7 ms
64 bytes from 8.8.8.8: icmp_seq=28 ttl=118 time=15.4 ms
64 bytes from 8.8.8.8: icmp_seq=29 ttl=118 time=16.3 ms
64 bytes from 8.8.8.8: icmp_seq=34 ttl=118 time=1043 ms
64 bytes from 8.8.8.8: icmp_seq=35 ttl=118 time=19.6 ms
64 bytes from 8.8.8.8: icmp_seq=36 ttl=118 time=15.7 ms
64 bytes from 8.8.8.8: icmp_seq=44 ttl=118 time=20.8 ms
64 bytes from 8.8.8.8: icmp_seq=45 ttl=118 time=15.6 ms
64 bytes from 8.8.8.8: icmp_seq=46 ttl=118 time=16.7 ms
--- 8.8.8.8 ping statistics ---
60 packets transmitted, 19 received, 68.3333% packet loss, time 60017ms
rtt min/avg/max/mdev = 14.834/179.499/1045.424/374.572 ms, pipe 3
```
Debian Release: 11.2
Kernel: Linux 5.16.0-0.bpo.3-amd64 (SMP w/16 CPU threads; PREEMPT)
lshw -C Network
```
[...]
*-network
description: Wireless interface
product: Realtek Semiconductor Co., Ltd.
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlp3s0
version: 00
serial: e0:0a:f6:69:05:5b
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtw89_pci driverversion=5.16.0-0.bpo.3-amd64 firmware=N/A ip=192.168.178.56 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:109 ioport:3000(size=256) memory:fd800000-fd8fffff
[...]
```
modinfo rtw89_pci rtw89_core
```
filename: /lib/modules/5.16.0-0.bpo.3-amd64/kernel/drivers/net/wireless/realtek/rtw89/rtw89_pci.ko
license: Dual BSD/GPL
description: Realtek 802.11ax wireless PCI driver
author: Realtek Corporation
alias: pci:v000010ECd0000A85Asv*sd*bc*sc*i*
alias: pci:v000010ECd00008852sv*sd*bc*sc*i*
depends: rtw89_core,mac80211
retpoline: Y
intree: Y
name: rtw89_pci
vermagic: 5.16.0-0.bpo.3-amd64 SMP preempt mod_unload modversions
sig_id: PKCS#7
signer: Debian Secure Boot CA
sig_key: 4B:6E:F5:AB:CA:66:98:25:17:8E:05:2C:84:66:7C:CB:C0:53:1F:8C
sig_hashalgo: sha256
signature: 14:B0:E0:87:29:FA:6A:84:2B:1E:A4:F3:5C:C7:D8:66:85:8C:08:4C:
3F:A7:57:93:3B:2C:0F:D4:EA:C6:D0:9D:92:23:3E:D3:99:EE:BE:6B:
0B:FB:64:BD:9E:8D:08:64:B0:42:E4:E1:FD:E5:39:96:42:DC:94:C3:
75:4E:A6:CB:77:4E:7D:19:E1:E3:7A:D2:E2:B2:04:E5:FA:52:65:17:
39:7D:09:AA:F6:33:AD:7B:96:B7:F2:AE:ED:76:5F:03:00:AC:E6:03:
17:6B:63:55:55:BE:E9:66:EE:F2:89:C6:0E:8D:C6:28:2C:FD:8E:31:
91:E6:B4:5A:56:33:BC:3B:12:6B:F4:A1:21:F1:1D:33:C2:FA:5C:F1:
89:D2:0F:1C:69:52:24:B9:F7:9E:26:98:E2:26:3D:66:3E:DD:22:36:
DA:15:02:C8:4E:BB:B6:82:97:13:F1:74:18:C4:01:F9:95:77:7D:56:
E5:73:EF:33:41:6C:C3:2F:C0:7B:8E:4D:27:0D:F5:7C:E9:4B:B2:0D:
73:CB:10:13:36:49:6B:E9:43:EE:50:A2:AE:2B:52:A0:86:D2:0B:7D:
92:3B:7E:B4:79:B8:59:35:E2:9E:D1:BD:D3:5A:56:3B:04:0C:B7:CA:
91:99:83:52:77:17:0D:DA:B4:E9:28:D7:DA:AE:0F:89
parm: disable_clkreq:Set Y to disable PCI clkreq support (bool)
parm: disable_aspm_l1:Set Y to disable PCI ASPM L1 support (bool)
parm: disable_aspm_l1ss:Set Y to disable PCI L1SS support (bool)
filename: /lib/modules/5.16.0-0.bpo.3-amd64/kernel/drivers/net/wireless/realtek/rtw89/rtw89_core.ko
license: Dual BSD/GPL
description: Realtek 802.11ax wireless core module
author: Realtek Corporation
firmware: rtw89/rtw8852a_fw.bin
depends: mac80211,cfg80211
retpoline: Y
intree: Y
name: rtw89_core
vermagic: 5.16.0-0.bpo.3-amd64 SMP preempt mod_unload modversions
sig_id: PKCS#7
signer: Debian Secure Boot CA
sig_key: 4B:6E:F5:AB:CA:66:98:25:17:8E:05:2C:84:66:7C:CB:C0:53:1F:8C
sig_hashalgo: sha256
signature: 37:79:5C:38:36:11:42:5D:E7:5B:6A:49:94:98:88:84:D9:83:AC:27:
2C:33:27:35:1B:67:78:FF:8E:B5:58:5C:E2:0D:EF:DE:CD:86:7B:4D:
8A:43:22:D8:AF:BC:B2:96:C6:14:D0:2E:C5:D3:B1:48:78:1F:16:36:
88:84:67:6C:BA:9B:9B:0A:31:80:C8:38:DB:53:20:B9:3D:15:07:67:
88:44:5D:8F:25:42:79:54:FF:18:50:E2:A2:C9:DD:72:54:09:BB:30:
0E:EF:4B:CF:FE:15:3C:C2:3B:8A:95:4C:35:50:6C:B2:34:0B:FC:42:
9A:B0:73:9F:D3:84:C5:8D:4D:6D:3D:FB:CD:F0:A9:5E:A0:D3:7E:D0:
30:41:54:34:47:B4:DA:DB:C3:B9:11:9E:48:FD:41:1B:87:E1:8E:1C:
E2:8D:F8:13:6C:CC:59:BD:91:4F:38:67:E9:E2:A2:17:EE:40:DC:0C:
D0:7A:95:27:B7:FD:7D:67:47:E3:9F:DA:3E:14:BE:9A:83:71:49:0F:
F8:6C:43:7C:54:74:1B:24:A9:27:65:FF:53:1F:C3:84:E9:3E:E5:99:
BB:BD:05:28:F8:E7:2D:2A:CC:3C:E2:5B:91:37:0E:BE:08:23:16:F8:
1D:2C:B8:D6:E3:17:3D:F5:72:4D:C9:4A:F2:5C:4E:FE
parm: disable_ps_mode:Set Y to disable low power mode (bool)
```
dmesg:
```
[ 2172.276570] rtw89_pci 0000:03:00.0: [FWBB][WARN][CMW] No specific sta connect
[ 2172.377306] rtw89_pci 0000:03:00.0: [FWBB][WARN][CMW] No specific sta connect
[ 2172.477665] rtw89_pci 0000:03:00.0: [FWBB][WARN][CMW] No specific sta connect
[ 2172.577527] rtw89_pci 0000:03:00.0: [FWBB][WARN][CMW] No specific sta connect
[ 2172.677964] rtw89_pci 0000:03:00.0: [FWBB][WARN][CMW] No specific sta connect
[ 2172.778385] rtw89_pci 0000:03:00.0: [FWBB][WARN][CMW] No specific sta connect
[ 2172.878858] rtw89_pci 0000:03:00.0: [FWBB][WARN][CMW] No specific sta connect
[ 2172.979191] rtw89_pci 0000:03:00.0: [FWBB][WARN][CMW] No specific sta connect
[ 2173.012134] rtw89_pci 0000:03:00.0: firmware failed to ack for entering ps mode
[ 2173.012156] rtw89_pci 0000:03:00.0: [FWBB][WARN]Ttlen = 0x0018, macidcfg = 0x94 0x00 0xe0 0x81
[ 2174.965023] rtw89_pci 0000:03:00.0: firmware failed to ack for entering ps mode
[ 2174.965045] rtw89_pci 0000:03:00.0: [FWBB][WARN]Ttlen = 0x0018, macidcfg = 0x94 0x00 0xe0 0x81
[ 2176.981149] rtw89_pci 0000:03:00.0: firmware failed to ack for entering ps mode
[ 2176.981196] rtw89_pci 0000:03:00.0: [FWBB][WARN]Ttlen = 0x0018, macidcfg = 0x94 0x00 0xe0 0x81
[ 2178.996667] rtw89_pci 0000:03:00.0: firmware failed to ack for entering ps mode
[ 2178.996705] rtw89_pci 0000:03:00.0: [FWBB][WARN]Ttlen = 0x0018, macidcfg = 0x94 0x00 0xe0 0x81
[ 2181.012787] rtw89_pci 0000:03:00.0: firmware failed to ack for entering ps mode
[ 2181.012808] rtw89_pci 0000:03:00.0: [FWBB][WARN]Ttlen = 0x0018, macidcfg = 0x94 0x00 0xe0 0x81
[ 2182.932550] rtw89_pci 0000:03:00.0: firmware failed to ack for entering ps mode
[ 2182.932571] rtw89_pci 0000:03:00.0: [FWBB][WARN]Ttlen = 0x0018, macidcfg = 0x94 0x00 0xe0 0x81
[ 2185.204745] rtw89_pci 0000:03:00.0: firmware failed to ack for entering ps mode
[ 2185.204766] rtw89_pci 0000:03:00.0: [FWBB][WARN]Ttlen = 0x0018, macidcfg = 0x94 0x00 0xe0 0x81
```
Thanks for replying. I will try the modprobe fix tomorrow but the card disconnects randomly so I don’t know when it will break next time (after last reboot it worked for a session of over 3 hours with no problems). The arch forum link mentions something about a fix in a future kernel release, does that mean that the developers are already working on a solution (sorry if it’s a dumb question, but I’m still pretty new to linux)? I don’t need the laptop right now as I use a desktop daily, so I could wait to see if newer kernel itself fixes the issue.
I do not know, if/when a patch will be there.
But:
you can use rtw89 from the Hardware Repo, but if you have enabled secure boot, you have to download the key by yourselve and add them to to mok Database.
Or you use the rtw89 from my Hardware Repo (its the same as in the openSUSE Hardware Repo, sources from Larry Finger), I offer a uefi key as rpm and you can add the key easy by rebooting.
https://download.opensuse.org/repositories/home:/Sauerland:/hardware/openSUSE_Tumbleweed/
How to add a key to mok Database:
https://en.opensuse.org/SDB:NVIDIA_drivers#Secureboot
(I think there will be a new certificate in a few hours)