如何修复Debian 无线驱动错误?

Debian-Like

1 前言

一个问题,一篇文章,一出故事。
笔者最近给家里的PC安装了一张无线网卡,网卡安装使用如下命令查看日志,

dmesg

可见如下错误提示,

[    7.470949] Intel(R) Wireless WiFi driver for Linux
[    7.789839] iwlwifi 0000:03:00.0: firmware: failed to load iwlwifi-ty-a0-gf-a0-72.ucode (-2)
[    7.789868] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[    7.789905] iwlwifi 0000:03:00.0: firmware: failed to load iwlwifi-ty-a0-gf-a0-72.ucode (-2)
[    7.789920] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-ty-a0-gf-a0-72.ucode failed with error -2
[    7.789973] iwlwifi 0000:03:00.0: firmware: failed to load iwlwifi-ty-a0-gf-a0-71.ucode (-2)
[    7.790010] iwlwifi 0000:03:00.0: firmware: failed to load iwlwifi-ty-a0-gf-a0-71.ucode (-2)
[    7.790025] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-ty-a0-gf-a0-71.ucode failed with error -2
[    7.790058] iwlwifi 0000:03:00.0: firmware: failed to load iwlwifi-ty-a0-gf-a0-70.ucode (-2)
[    7.790098] iwlwifi 0000:03:00.0: firmware: failed to load iwlwifi-ty-a0-gf-a0-70.ucode (-2)
[    7.790113] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-ty-a0-gf-a0-70.ucode failed with error -2
[    7.790144] iwlwifi 0000:03:00.0: firmware: failed to load iwlwifi-ty-a0-gf-a0-69.ucode (-2)
[    7.790181] iwlwifi 0000:03:00.0: firmware: failed to load iwlwifi-ty-a0-gf-a0-69.ucode (-2)
[    7.790196] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-ty-a0-gf-a0-69.ucode failed with error -2
[    7.790236] iwlwifi 0000:03:00.0: firmware: failed to load iwlwifi-ty-a0-gf-a0-68.ucode (-2)
[    7.790271] iwlwifi 0000:03:00.0: firmware: failed to load iwlwifi-ty-a0-gf-a0-68.ucode (-2)
[    7.790286] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-ty-a0-gf-a0-68.ucode failed with error -2
[    7.790317] iwlwifi 0000:03:00.0: firmware: failed to load iwlwifi-ty-a0-gf-a0-67.ucode (-2)
[    7.790354] iwlwifi 0000:03:00.0: firmware: failed to load iwlwifi-ty-a0-gf-a0-67.ucode (-2)
[    7.790369] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-ty-a0-gf-a0-67.ucode failed with error -2
[    7.854609] iwlwifi 0000:03:00.0: firmware: direct-loading firmware iwlwifi-ty-a0-gf-a0-66.ucode
[    7.854639] iwlwifi 0000:03:00.0: api flags index 2 larger than supported by driver
[    7.856167] iwlwifi 0000:03:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 0.63.2.2
[    7.887667] iwlwifi 0000:03:00.0: firmware: failed to load iwl-debug-yoyo.bin (-2)
[    7.887724] iwlwifi 0000:03:00.0: firmware: failed to load iwl-debug-yoyo.bin (-2)
[    7.887743] iwlwifi 0000:03:00.0: loaded firmware version 66.f1c864e0.0 ty-a0-gf-a0-66.ucode op_mode iwlmvm

2 最佳实践

2.1 确认无线设备的型号

lspci | grep -i network

可见如下显示,

03:00.0 Network controller: Intel Corporation Wi-Fi 6 AX210/AX211/AX411 160MHz (rev 1a)

2.2 下载最新固件解压并重新安装

wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-20230804.tar.gz
tar -xf linux-firmware-20230804.tar.gz
cd linux-firmware-20230804/
cp iwlwifi-ty-a0-gf-a0* /lib/firmware/

另外,更新的版本请从如下链接下载,
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/refs/

参阅文档
=======================
蓝牙管理
————
https://community.frame.work/t/solved-wifi-stopped-working-on-debian-11-bullseye-failed-to-load-iwlwifi-ty-a0-gf-a0-67-ucode/27547/2
https://www.modb.pro/db/507583

固件更新源
————–
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/refs/

固件更新源的使用方法
——————
https://community.intel.com/t5/Wireless/AX211-wifi-does-not-work-on-Debian-Bullseye-Linux-kernel-6-NUC/td-p/1465779

https://community.intel.com/t5/Wireless/AX211-wifi-does-not-work-on-Debian-Bullseye-Linux-kernel-6-NUC/td-p/1465779

没有评论

发表回复

Debian-Like
如果解决Linux WPS导出PDF文件的过程中遇到错误?

1 前言 一个问题,一篇文章,一出故事。 笔者使用WPS另存为PDF时遇到“WPS导出PDF文件的过 …

Debian-Like
如何安装部署Debian Slack?

1 前言 一个问题,一篇文章,一出故事。 Slack是一款流行的即时通讯软件,主要用于团队协作和沟通 …

Debian-Like
如何编译安装Debian Deepin Music?

1 前言 一个问题,一篇文章,一出故事。 笔者使用默认安装的Deepin Music感觉不够完美,于 …