Intel AX201 Wi-Fi 6 和以太网无法在 Ubuntu 20.04 和 21.10 上运行

Intel AX201 Wi-Fi 6 和以太网无法在 Ubuntu 20.04 和 21.10 上运行

我发过一个类似的问题,但我正在尝试扩展它,因为我现在已经尝试了两个版本,但似乎仍然无法让任何东西工作。我浏览了大约 20 个不同的页面,并尝试了许多不同的建议,但似乎仍然无法让它工作。我对 Linux 还很陌生,不像社区里的很多人那样精通技术。任何帮助都将不胜感激。

12900k 中央处理器

技嘉 z690 Aero G DDR4

Intel® 2.5GbE LAN 芯片 (2.5 Gbps/1 Gbps/100 Mbps)

英特尔® Wi-Fi 6 AX201

我已禁用 Fastboot 和 safeboot。到目前为止,Windows 10 运行正常。我尝试更新固件,但似乎也未能解决问题。我将尝试再次调查 netplan .yaml 文件。

我的朋友认为这可能与内核模块有关,但这涉及我们都没有经验的领域。

请告诉我您希望我发布什么,我将从头开始。

*回复@chili555:当我输入

sudo dmesg | grep iwl

没有输出。

我还没有修改.yaml文件

编辑#2

@Chili555

lspci -nnk | grep -e 0200 -e 0280 -A3

输出结果:

00:14.3 Network controller [0280]: Intel Corporation Device [8086:7af0] (rev 11)
    DeviceName: Onboard - Ethernet
    Subsystem: Intel Corporation Device [8086:0074]
00:15.0 Serial bus controller [0c80]: Intel Corporation Device [8086:7acc] (rev 11)
--
04:00.0 Ethernet controller [0200]: Intel Corporation Device [8086:15f3] (rev 03)
    Subsystem: Gigabyte Technology Co., Ltd Device [1458:e000]
    Kernel modules: igc

当我输入:

modinfo iwlwifi

我得到了大约 200 多行输出

再次感谢@chili555

编辑#3

我跑了:

modinfo iwlwifi | grep 7AF0

结果是

alias:          pci:v00008086d00007AF0sv*sd00000A10bc*sc*i*
alias:          pci:v00008086d00007AF0sv*sd00000510bc*sc*i*
alias:          pci:v00008086d00007AF0sv*sd00000310bc*sc*i*
alias:          pci:v00008086d00007AF0sv*sd000000B0bc*sc*i*
alias:          pci:v00008086d00007AF0sv*sd00000098bc*sc*i*
alias:          pci:v00008086d00007AF0sv*sd00000090bc*sc*i*

当我跑步时:

sudo modprobe iwlwifi

我没有输出。同样

sudo dmesg | grep iwl

再次感谢。

编辑# 4

通过 USB 运行实时会话并运行

sudo dmesg | grep iwl

输出为:

    [   12.805748] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[   12.809293] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-63.ucode failed with error -2
[   12.809341] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-62.ucode failed with error -2
[   12.809386] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-61.ucode failed with error -2
[   12.809430] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-60.ucode failed with error -2
[   12.809474] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-59.ucode failed with error -2
[   12.809517] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-58.ucode failed with error -2
[   12.809557] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-57.ucode failed with error -2
[   12.809597] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-56.ucode failed with error -2
[   12.809637] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-55.ucode failed with error -2
[   12.809677] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-54.ucode failed with error -2
[   12.809718] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-53.ucode failed with error -2
[   12.809757] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-52.ucode failed with error -2
[   12.809797] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-51.ucode failed with error -2
[   12.809837] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-50.ucode failed with error -2
[   12.809878] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-49.ucode failed with error -2
[   12.809915] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-48.ucode failed with error -2
[   12.809954] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-47.ucode failed with error -2
[   12.809992] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-46.ucode failed with error -2
[   12.810030] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-45.ucode failed with error -2
[   12.810067] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-44.ucode failed with error -2
[   12.810105] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-43.ucode failed with error -2
[   12.810142] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-42.ucode failed with error -2
[   12.810179] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-41.ucode failed with error -2
[   12.810217] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-40.ucode failed with error -2
[   12.810255] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-39.ucode failed with error -2
[   12.810257] iwlwifi 0000:00:14.3: no suitable firmware found!
[   12.810259] iwlwifi 0000:00:14.3: minimum version required: iwlwifi-so-a0-hr-b0-39
[   12.810260] iwlwifi 0000:00:14.3: maximum version supported: iwlwifi-so-a0-hr-b0-63
[   12.810261] iwlwifi 0000:00:14.3: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

编辑#5

祝庆祝感恩节的人们感恩节快乐。我跑了:

uname -r

输出为:

5.13.0-19-generic

然后我就跑了

ls /usr/lib/firmware/ | grep iwlwifi-so-a0-hr-b0

输出为

iwlwifi-so-a0-hr-b0-64.ucode

答案1

我遇到了同样的错误:

[   12.810257] iwlwifi 0000:00:14.3: no suitable firmware found!
[   12.810259] iwlwifi 0000:00:14.3: minimum version required: iwlwifi-so-a0-hr-b0-39
[   12.810260] iwlwifi 0000:00:14.3: maximum version supported: iwlwifi-so-a0-hr-b0-63

从以下位置下载固件后Linux 固件iwlwifi-so-a0-hr-b0-64.ucodeWiFi 运行没有问题。

如果有人有 AX201 但没有在日志中看到提到的错误,请使用你能找到的最新内核。仅对我而言5.16版本确实有效(5.15 无效)。你可以在这里找到一个:https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16-rc7/amd64/

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16-rc7/amd64/linux-headers-5.16.0-051600rc7-generic_5.16.0-051600rc7.202112262230_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16-rc7/amd64/linux-headers-5.16.0-051600rc7_5.16.0-051600rc7.202112262230_all.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16-rc7/amd64/linux-image-unsigned-5.16.0-051600rc7-generic_5.16.0-051600rc7.202112262230_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16-rc7/amd64/linux-modules-5.16.0-051600rc7-generic_5.16.0-051600rc7.202112262230_amd64.deb
sudo dpkg -i *.deb

linux-headers 安装可能由于依赖性而失败,但内核本身可以安装。

根据 mario_7 在波兰 Ubuntu 论坛上发布的帖子,解决方案如下:https://ubuntu.pl/forum/viewtopic.php?t=185951

答案2

我搜索了很多地方和资源,但都没有找到所需的固件文件 iwlwifi-so-a0-hr-b0-XX.ucode,其中 XX 是 39 到 63 之间的任意数字(含 39 和 63)。从您的 dmesg 中:

[   12.810257] iwlwifi 0000:00:14.3: no suitable firmware found!
[   12.810259] iwlwifi 0000:00:14.3: minimum version required: iwlwifi-so-a0-hr-b0-39
[   12.810260] iwlwifi 0000:00:14.3: maximum version supported: iwlwifi-so-a0-hr-b0-63
[   12.810261] iwlwifi 0000:00:14.3: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

我找不到任何答案。因此,我只有两个建议。首先,尝试通过重命名您拥有的 -64 版本来欺骗驱动程序:

cd /usr/lib/firmware
sudo cp iwlwifi-so-a0-hr-b0-64.ucode  iwlwifi-so-a0-hr-b0-63.ucode

重启。检查:

sudo dmesg | grep iwl

固件错误解决了吗?无线功能是否正常工作?

我最后的建议是在这里提交错误报告:https://bugs.launchpad.net/ubuntu包括上面的 dmesg 日志。

相关内容