我在“hp probook 455 g9”上运行 Ubuntu 22.04。由于 wifi 最初无法使用,7 个月前我询问了如何安装 wifi 驱动程序,网址为:Realtek b852 wifi 驱动程序手动安装问题
几天前,WiFi 停止注册我的 WiFi,尽管它在其他设备上仍能正常工作。当我重新启动计算机时,它又恢复了,但很快它又停止工作了,所以现在我每天要重新启动 20 多次。
有人建议我看看这个帖子我遇到了硬件检测问题,我需要查看哪些日志? 所以我只发布以下信息:
“sudo lshw -类网络”:
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:01:00.0
logical name: enp1s0
version: 15
serial: 7c:57:58:21:81:ca
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.2.0-26-generic duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.0.101 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:56 ioport:3000(size=256) memory:fb604000-fb604fff memory:fb600000-fb603fff
*-network
description: Wireless interface
product: Realtek Semiconductor Co., Ltd.
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 00
serial: 10:b1:df:6b:09:11
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtw89_8852be driverversion=6.2.0-26-generic firmware=N/A latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:78 ioport:2000(size=256) memory:fb500000-fb5fffff
“lsusb”:
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 0408:5483 Quanta Computer, Inc. HP HD Camera
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 04f3:0c7e Elan Microelectronics Corp. ELAN:ARM-M4
Bus 001 Device 002: ID 0bda:b85c Realtek Semiconductor Corp. Bluetooth Radio
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
“lspci”:
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 7
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b852
03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller 980
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Barcelo (rev c2)
04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller
04:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
04:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
04:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
04:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor (rev 01)
04:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
“rfkill 列出全部”
0: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
有什么想法可以帮助解决这个问题吗?谢谢您的时间!
编辑1:“sudo dmesg | grep rtw”:
[ 2.090191] rtw89core: loading out-of-tree module taints kernel.
[ 2.090342] rtw89core: module verification failed: signature and/or required key missing - tainting kernel
[ 2.186746] rtw89_8852be 0000:02:00.0: Direct firmware load for rtw89/rtw8852b_fw-1.bin failed with error -2
[ 2.189627] rtw89_8852be 0000:02:00.0: loaded firmware rtw89/rtw8852b_fw.bin
[ 2.189702] rtw89_8852be 0000:02:00.0: enabling device (0000 -> 0003)
[ 2.192418] rtw89_8852be 0000:02:00.0: Firmware version 0.27.32.1, cmd version 0, type 1
[ 2.192425] rtw89_8852be 0000:02:00.0: Firmware version 0.27.32.1, cmd version 0, type 3
[ 2.192431] rtw89_8852be 0000:02:00.0: MAC has already powered on
[ 2.515654] rtw89_8852be 0000:02:00.0: chip rfe_type is 1
[ 3.477824] rtw89_8852be 0000:02:00.0 wlp2s0: renamed from wlan0
“nmcli 设备 wifi 列表”:
IN-USE BSSID SSID MODE CHAN RATE SIGNAL BARS SECURITY
“sudo dmesg | grep wlp”:没有任何结果。
我在看https://github.com/HRex39/rtl8852be.git,如果我没看错的话,我的内核版本是 6.0.0 以上,所以也许这就是问题所在?如果是这样,你能告诉我如何卸载 rtl8852be,这样我就可以尝试 rtw89 了吗?
答案1
这是此处错误报告的主题:https://bugs.launchpad.net/ubuntu/+source/linux-oem-6.1/+bug/2017277
让我们尝试建议的修复方法,稍加修改。
sudo nano /etc/modprobe.d/rtw89.conf
添加一行新内容:
options rtw89_pci disable_clkreq=y disable_aspm_l1=y disable_aspm_l1ss=y
仔细校对。保存(Ctl+o 然后按 Enter)并退出文本编辑器(Ctrl+x)。
重新启动并告诉我们是否有任何改进。