大家好,我正在从头开始构建 Linux,我设法得到了一个可以工作的 Linux!但现在我无法wlan0
工作。当我启动 ubuntu 时,我可以看到 wifi 是 rtw8822be,所以我在 中启用它.config
,重新编译并重新启动到新系统,但固件未加载:
$ dmesg | grep 8822
rtw_8822be 0000:04:00.0: enabling device (0000 -> 0003)
rtw_8822be 0000:04:00.0: Direct firmware load for rtw88/rtw8822b_fw.bin failed with error -2
rtw_8822be 0000:04:00.0: failed to request firmware
rtw_8822be 0000:04:00.0: failed to load firmware
rtw_8822be 0000:04:00.0: failed to setup chip efuse info
rtw_8822be 0000:04:00.0: failed to setup chip information
rtw_8822be: probe of 0000:04:00.0 failed with error -22
我下载了相同版本内核(6.2)的固件并将400MB的firmware.tar.gzip解压到/lib/firmware中:
$ ls /lib/firmware/rtw88/
README rtw8723d_fw.bin rtw8821c_fw.bin rtw8822b_fw.bin rtw8822c_fw.bin rtw8822c_wow_fw.bin
我现在能做什么?
在 Ubintu 上我这样做了:
$ lspci|ag -i wifi
04:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter
内核 6.2。主板华硕 b450i rog-strix。