我将 .ucode 文件放在 /lib/firmware 文件夹中。 Debian 启动时给我写信:
Oct 22 22:32:28 LionZXY-debian kernel: [ 2.215242] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x22983f10a64, max_idle_ns: 440795218721 ns
Oct 22 22:32:28 LionZXY-debian kernel: [ 2.216451] iwlwifi 0000:02:00.0: firmware: failed to load iwlwifi-8000C-21.ucode (-2)
Oct 22 22:32:28 LionZXY-debian kernel: [ 2.216494] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-8000C-21.ucode failed with error -2
Oct 22 22:32:28 LionZXY-debian kernel: [ 2.216505] iwlwifi 0000:02:00.0: firmware: failed to load iwlwifi-8000C-20.ucode (-2)
Oct 22 22:32:28 LionZXY-debian kernel: [ 2.216546] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-8000C-20.ucode failed with error -2
Oct 22 22:32:28 LionZXY-debian kernel: [ 2.216554] iwlwifi 0000:02:00.0: firmware: failed to load iwlwifi-8000C-19.ucode (-2)
Oct 22 22:32:28 LionZXY-debian kernel: [ 2.216592] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-8000C-19.ucode failed with error -2
Oct 22 22:32:28 LionZXY-debian kernel: [ 2.216600] iwlwifi 0000:02:00.0: firmware: failed to load iwlwifi-8000C-18.ucode (-2)
Oct 22 22:32:28 LionZXY-debian kernel: [ 2.216640] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-8000C-18.ucode failed with error -2
Oct 22 22:32:28 LionZXY-debian kernel: [ 2.216648] iwlwifi 0000:02:00.0: firmware: failed to load iwlwifi-8000C-17.ucode (-2)
Oct 22 22:32:28 LionZXY-debian kernel: [ 2.216684] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-8000C-17.ucode failed with error -2
Oct 22 22:32:28 LionZXY-debian kernel: [ 2.216692] iwlwifi 0000:02:00.0: firmware: failed to load iwlwifi-8000C-16.ucode (-2)
Oct 22 22:32:28 LionZXY-debian kernel: [ 2.216730] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-8000C-16.ucode failed with error -2
Oct 22 22:32:28 LionZXY-debian kernel: [ 2.216737] iwlwifi 0000:02:00.0: firmware: failed to load iwlwifi-8000C-15.ucode (-2)
Oct 22 22:32:28 LionZXY-debian kernel: [ 2.216769] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-8000C-15.ucode failed with error -2
Oct 22 22:32:28 LionZXY-debian kernel: [ 2.216777] iwlwifi 0000:02:00.0: firmware: failed to load iwlwifi-8000C-14.ucode (-2)
Oct 22 22:32:28 LionZXY-debian kernel: [ 2.216820] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-8000C-14.ucode failed with error -2
Oct 22 22:32:28 LionZXY-debian kernel: [ 2.216830] iwlwifi 0000:02:00.0: firmware: failed to load iwlwifi-8000C-13.ucode (-2)
Oct 22 22:32:28 LionZXY-debian kernel: [ 2.216867] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-8000C-13.ucode failed with error -2
Oct 22 22:32:28 LionZXY-debian kernel: [ 2.216869] iwlwifi 0000:02:00.0: no suitable firmware found!
出口modinfo iwlwifi
:
filename: /lib/modules/4.7.0-1-amd64/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko
license: GPL
author: Copyright(c) 2003- 2015 Intel Corporation <[email protected]>
description: Intel(R) Wireless WiFi driver for Linux
firmware: iwlwifi-100-5.ucode
firmware: iwlwifi-1000-5.ucode
firmware: iwlwifi-135-6.ucode
firmware: iwlwifi-105-6.ucode
firmware: iwlwifi-2030-6.ucode
firmware: iwlwifi-2000-6.ucode
firmware: iwlwifi-5150-2.ucode
firmware: iwlwifi-5000-5.ucode
firmware: iwlwifi-6000g2b-IWL6000G2B_UCODE_API_MAX.ucode
firmware: iwlwifi-6000g2a-6.ucode
firmware: iwlwifi-6050-5.ucode
firmware: iwlwifi-6000-4.ucode
firmware: iwlwifi-7265D-21.ucode
firmware: iwlwifi-7265-17.ucode
firmware: iwlwifi-3168-21.ucode
firmware: iwlwifi-3160-17.ucode
firmware: iwlwifi-7260-17.ucode
firmware: iwlwifi-8265-21.ucode
firmware: iwlwifi-8000C--21.ucode
firmware: iwlwifi-9260-th-a0-lc-a0--21.ucode
firmware: iwlwifi-9260-th-a0-jf-a0--21.ucode
firmware: iwlwifi-9000-pu-a0-lc-a0--21.ucode
depends: cfg80211
intree: Y
vermagic: 4.7.0-1-amd64 SMP mod_unload modversions
parm: swcrypto:using crypto in software (default 0 [hardware]) (int)
parm: 11n_disable:disable 11n functionality, bitmap: 1: full, 2: disable agg TX, 4: disable agg RX, 8 enable agg TX (uint)
parm: amsdu_size:amsdu size 0:4K 1:8K 2:12K (default 0) (int)
parm: fw_restart:restart firmware in case of error (default true) (bool)
parm: antenna_coupling:specify antenna coupling in dB (default: 0 dB) (int)
parm: nvm_file:NVM file name (charp)
parm: d0i3_disable:disable d0i3 functionality (default: Y) (bool)
parm: lar_disable:disable LAR functionality (default: N) (bool)
parm: uapsd_disable:disable U-APSD functionality bitmap 1: BSS 2: P2P Client (default: 3) (uint)
parm: bt_coex_active:enable wifi/bt co-exist (default: enable) (bool)
parm: led_mode:0=system default, 1=On(RF On)/Off(RF Off), 2=blinking, 3=Off (default: 0) (int)
parm: power_save:enable WiFi power management (default: disable) (bool)
parm: power_level:default power save level (range from 1 - 5, default: 1) (int)
parm: fw_monitor:firmware monitor - to debug FW (default: false - needs lots of memory) (bool)
parm: d0i3_timeout:Timeout to D0i3 entry when idle (ms) (uint)
parm: disable_11ac:Disable VHT capabilities (default: false) (bool)
我的Linux版本:
[ 0.000000] Linux version 4.7.0-1-amd64 ([email protected]) (gcc version 5.4.1 20160904 (Debian 5.4.1-2) ) #1 SMP Debian 4.7.8-1 (2016-10-19)
我无法启用 WiFi。 从 git.kernel.org 下载驱动程序(我需要信誉才能发布 2 个以上链接)
所有日志和其他你能找到的东西这里。
非常感谢您的回复!
答案1
这是 std deb 内核的典型情况,它将查找版本并无法加载它,直到找到有效的版本并加载该版本。
例如在我的日志文件中;
10 月 23 日 16:39:43 mike-laptop4 内核:[7.432898] iwlwifi 0000:03:00.0:iwlwifi-7265D-24.ucode 的直接固件加载失败,错误 -2 10 月 23 日 16:39:43 mike-laptop4 内核: [7.432921] iwlwifi 0000:03:00.0: iwlwifi-7265D-23.ucode 的直接固件加载失败,错误为 -2
(我的固件目录中有 iwlwifi-7265D-22.ucode 但没有 23 或 24)
因此,由于某种原因,如果您的 wifi 未加载,则无法找到正确的固件版本。
我建议检查内核 wifi 是否有固件下载。
https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi
您可以运行 lspci 来检查您的 wifi 芯片,然后您可以根据您的内核版本和 wifi 卡下载适当的固件 blob。
还有一些关于电源管理的好技巧。