Ubuntu 22.04.1 桌面版最新更新禁用了 RTL 8812 BU 加密狗

Ubuntu 22.04.1 桌面版最新更新禁用了 RTL 8812 BU 加密狗

Ubuntu 22.04.1 桌面版的最新更新禁用了我使用 RTL 8812 BU 的 wifi 适配器。我恢复了完整备份,因此现在可以正常运行(无需更新)。除了不加载更新外,我还能做些什么来避免此问题?

dkms status
rtl88x2bu/5.3.1: added
rtl88x2bu/5.6.1: added
rtl88x2bu/git, 5.15.0-58-generic, x86_64: installed
rtl88x2bu/git, 5.15.0-60-generic, x86_64: installed

这是更新前的状态。我将重新加载更新并报告修订后的状态 - 这可能需要一段时间。

更新至 22.04.2 LTS。更新后的 DKMS 状态为:

dkms status
rtl88x2bu/5.3.1: added
rtl88x2bu/5.6.1: added
rtl88x2bu/git, 5.15.0-58-generic, x86_64: installed
rtl88x2bu/git, 5.15.0-60-generic, x86_64: installed

(即未改变)。

我尝试了答案 1,但得到的结果是:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
dkms is already the newest version (2.8.7-2ubuntu2.1).
git is already the newest version (1:2.34.1-1ubuntu1.8).
0 to upgrade, 0 to newly install, 0 to remove and 7 not to upgrade.
fatal: destination path 'RTL8812BU' already exists and is not an empty directory.
Error! The module/version combo: rtl88x2bu-5.3.1 is not located in the DKMS tree.
Deleting module rtl88x2bu-5.6.1 completely from the DKMS tree.
Error! The module/version combo: rtl88x2bu-git is not located in the DKMS tree.
Creating symlink /var/lib/dkms/rtl88x2bu/5.6.1/source -> /usr/src/rtl88x2bu-5.6.1
Error! Could not find module source directory.
Directory: /usr/src/rtl88x2bu-5.13.1 does not exist.

答案1

最近,Ubuntu 22.04 将 HWE 内核更新至主要版本 5.19。

一些第三方驱动程序不使用此内核构建。

您可以为该设备安装使用此内核构建的新驱动程序。但您需要删除旧驱动程序。

在终端中运行:

sudo apt install git dkms
rm -r RTL8812BU
git clone -b v5.13.1 https://github.com/fastoe/RTL8812BU.git
sudo dkms remove rtl88x2bu/5.3.1 --all
sudo dkms remove rtl88x2bu/5.6.1 --all
sudo dkms remove rtl88x2bu/git --all
sudo dkms add RTL8812BU
sudo dkms install rtl88x2bu/5.13.1

如果一切顺利,您可以通过以下方式将系统升级到内核 5.19:

sudo apt update
sudo apt upgrade

我已经亲自测试了使用 5.19 内核的模块构建。

相关内容