Ubuntu 22.04.2 LTS下Realtek 8852BE无线网卡无法使用内核自带驱动的问题求助
Ubuntu 22.04.2 LTS下Realtek 8852BE无线网卡无法使用内核自带驱动的问题求助
各位大佬好,我遇到了无线网卡驱动的问题,想请教下大家:
我用的是HP笔记本,搭载Realtek 8852BE无线网卡。根据lwfinger的说明,5.16及以上版本的内核应该已经自带这个网卡的驱动了,但我就是没法用上内核自带的版本。
目前我只能用HRex39的*已废弃(deprecated)*驱动,虽然暂时能用,但每次内核更新都得重新编译,特别麻烦;之前试过lwfinger的rtw89驱动,可惜稳定性太差,没法正常使用。
我的系统和硬件信息:
- 操作系统:Ubuntu 22.04.2 LTS
- 当前内核版本:
5.19.0-35-generic - 网卡硬件信息(
sudo lshw -C network输出):
*-network description: Wireless interface product: Realtek Semiconductor Co., Ltd. vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:01:00.0 logical name: wlo1 version: 00 serial: xx:xx:xx:xx:xx:xx width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless configuration: broadcast=yes driver=rtl8852be driverversion=v1.15.6.0.2-0-gac110bf5.2021102 firmware=N/A ip=192.xxx.xxx.xxx latency=0 link=yes multicast=yes wireless=IEEE 802.11AC resources: irq:74 ioport:f000(size=256) memory:fcf00000-fcffffff
我已经尝试过的排查步骤:
- 确认内核驱动模块是否存在:
- 执行
modprobe -D rtw_8852ae,返回:modprobe: FATAL: Module rtw_8852ae not found in directory /lib/modules/5.19.0-35-generic - 执行
modprobe -D rtw_core,返回:modprobe: FATAL: Module rtw_core not found in directory /lib/modules/5.19.0-35-generic
- 执行
- 尝试卸载并禁用第三方驱动:
- 先执行
modprobe -rv 8852be成功卸载了第三方驱动模块 - 用
echo "blacklist 8852be" >> /etc/modprobe.d/local-dontload.conf把第三方驱动加入黑名单 - 重启后WiFi直接消失,尝试加载
mac80211和cfg80211模块也没有任何效果
- 先执行
- 运行了无线诊断脚本,结果里没发现指向问题原因的内容,只看到iwlwifi被移除,但这个是Intel网卡的驱动,和我的Realtek网卡应该没关系
最后我的疑问:
我查了rtw89的提交记录,看起来8852BE的驱动是在6.1版本的内核里才被合并进来的,这个理解对吗?如果是这样的话,是不是等Ubuntu把6.1内核作为默认内核后,我就能用上系统自带的驱动了?
备注:内容来源于stack exchange,提问作者Mihai Buba




