我的无线设备是168c:003e:1a56:1353
rev 32。安装程序包含一个4.4.0-21-lowlatency
内核,我在/lib/firmware/ath10k/QCA6174/hw3.0
There is a board.bin
and中看到固件文件firmware-4.bin
。这些是库存文件。在dmesg
我看到初始化失败,这是真的,我什至在ifconfig
. 在初始化期间,它正在寻找firmware-5.bin
不存在的 。
首先,我尝试在此处添加固件-5.bin:https ://github.com/kvalo/ath10k-firmware/pull/4/files
那没有帮助,文件中的魔法不匹配。我猜它是为 4.2 或其他东西煮熟的。然后我尝试使用official
回购https://github.com/kvalo/ath10k-firmware/tree/master/QCA6174/hw3.0中的所有文件(由http://www.killernetworking.com/support推荐/knowledge-base/17-linux/20-killer-wireless-ac-in-linux-ubuntu-debian)。魔术不匹配。
由于我处于安装的开始阶段,重新启动对我来说不是一个选项,这是一个 22 的问题。相反,我编写了一个小脚本,其中modprobe -r
s ath10k_pci
、ath10k_core
、和. 另一个脚本以相反的顺序排列这些。ath
mac80211
cfg80211
insmod
我还通过https://github.com/kvalo/ath10k-firmware/pull/3尝试了 board-2.bin 。魔术不匹配。
更多信息。/lib/firmware/ath10k/QCA6174/hw3.0
安装程序固件目录的初始/原始状态:
-rw-r--r-- 1 root root 8124 Mar 21 12:27 board.bin
-rw-r--r-- 1 root root 733784 Mar 21 12:27 firmware-4.bin
cb37c63d9ca28f53fea1ff09ad7c7a82 board.bin
a5dfbc03c9a7a73f7aa8d0a94a6d9426 firmware-4.bin
这导致:
[ 118.170694] ath10k_pci 0000:04:00.0: enabling device (0000 -> 0002)
[ 118.171818] ath10k_pci 0000:04:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[ 118.658737] ath10k_pci 0000:04:00.0: Direct firmware load for ath10k/cal-pci-0000:04:00.0.bin failed with error -2
[ 118.658754] ath10k_pci 0000:04:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[ 118.658770] ath10k_pci 0000:04:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
...
[ 128.810919] ath10k_pci 0000:04:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/board-2.bin failed with error -2
[ 131.928674] ath10k_pci 0000:04:00.0: qca6174 hw3.2 (0x05030000, 0x00340aff sub 1a56:1535) fw WLAN.RM.2.0-00180-QCARMSWPZ-1 fwapi 4 bdapi 1 htt-ver 3.26 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1 features wowlan,ignore-otp,no-4addr-pad
[ 131.928676] ath10k_pci 0000:04:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 134.928910] ath10k_pci 0000:04:00.0: could not suspend target (-11)
[ 134.982552] ath: EEPROM regdomain: 0x6c
[ 134.982553] ath: EEPROM indicates we should expect a direct regpair map
[ 134.982554] ath: Country alpha2 being used: 00
[ 134.982555] ath: Regpair used: 0x6c
[ 136.139717] ath10k_pci 0000:04:00.0 wlp4s0: renamed from wlan0
[ 147.251066] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready
[ 152.475059] ath10k_pci 0000:04:00.0: failed to enable dynamic BW: -11
[ 158.475164] ath10k_pci 0000:04:00.0: could not suspend target (-11)
[ 158.532546] IPv6: ADDRCONF(NETDEV_UP): enp6s0: link is not ready
[ 158.533313] IPv6: ADDRCONF(NETDEV_UP): enp6s0: link is not ready
[ 167.547281] ath10k_pci 0000:04:00.0: failed to enable dynamic BW: -11
[ 173.547366] ath10k_pci 0000:04:00.0: could not suspend target (-11)
[ 178.826678] ath10k_pci 0000:04:00.0: failed to enable dynamic BW: -11
[ 184.826637] ath10k_pci 0000:04:00.0: could not suspend target (-11)
[ 202.258851] ath10k_pci 0000:04:00.0: failed to enable dynamic BW: -11
[ 208.258910] ath10k_pci 0000:04:00.0: could not suspend target (-11)
[ 213.537200] ath10k_pci 0000:04:00.0: failed to enable dynamic BW: -11
[ 219.537070] ath10k_pci 0000:04:00.0: could not suspend target (-11)
[ 235.258295] ath10k_pci 0000:04:00.0: failed to enable dynamic BW: -11
[ 241.258474] ath10k_pci 0000:04:00.0: could not suspend target (-11)
[ 246.537511] ath10k_pci 0000:04:00.0: failed to enable dynamic BW: -11
[ 252.537681] ath10k_pci 0000:04:00.0: could not suspend target (-11)
[ 268.259942] ath10k_pci 0000:04:00.0: failed to enable dynamic BW: -11
[ 274.259976] ath10k_pci 0000:04:00.0: could not suspend target (-11)
[ 279.538073] ath10k_pci 0000:04:00.0: failed to enable dynamic BW: -11
[ 285.538232] ath10k_pci 0000:04:00.0: could not suspend target (-11)
[ 301.260390] ath10k_pci 0000:04:00.0: failed to enable dynamic BW: -11
[ 307.260552] ath10k_pci 0000:04:00.0: could not suspend target (-11)
[ 312.538796] ath10k_pci 0000:04:00.0: failed to enable dynamic BW: -11
[ 318.539935] ath10k_pci 0000:04:00.0: could not suspend target (-11)
...
[ 340.262113] ath10k_pci 0000:04:00.0: could not suspend target (-11)
[ 345.540330] ath10k_pci 0000:04:00.0: failed to enable dynamic BW: -11
[ 351.540341] ath10k_pci 0000:04:00.0: could not suspend target (-11)
我的一项尝试在没有固件崩溃的情况下被 dmesg 看起来很有希望,但无法初始化核心:
-rw-r--r-- 1 root root 42110 Jul 3 09:56 board-2.bin
-rw-r--r-- 1 root root 8124 Jul 3 09:56 board.bin
-rw-r--r-- 1 root root 733784 Mar 21 12:27 firmware-4.bin
-rw-r--r-- 1 root root 572324 Jul 3 09:57 firmware-5.bin
5e47d7cbe6255e4ac3ef71f6e2210f95 board-2.bin
1d07f60b4f6e3dc06028f4f31d1eec60 board.bin
a5dfbc03c9a7a73f7aa8d0a94a6d9426 firmware-4.bin
2c5629dc360ee3606c12088ee5e2de98 firmware-5.bin
[ 2798.276194] ath10k_pci 0000:04:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[ 2798.477454] ath10k_pci 0000:04:00.0: Direct firmware load for ath10k/cal-pci-0000:04:00.0.bin failed with error -2
[ 2798.539215] ath10k_pci 0000:04:00.0: found invalid board magic
[ 2798.622537] ath10k_pci 0000:04:00.0: otp calibration failed: 3
[ 2798.622538] ath10k_pci 0000:04:00.0: failed to run otp: -22
[ 2798.622539] ath10k_pci 0000:04:00.0: could not init core (-22)
[ 2798.622550] ath10k_pci 0000:04:00.0: could not probe fw (-22)
[ 3318.953548] IPv6: ADDRCONF(NETDEV_UP): enp6s0: link is not ready
[ 3318.954150] IPv6: ADDRCONF(NETDEV_UP): enp6s0: link is not ready
大多数情况下,我在 dmesg 中遇到固件崩溃。我会deb
尽快试试这个包。
注意:每次启动时检查 BIOS 是否没有从 UEFI-CSM 模式恢复到 UEFI 非常重要。显然,这被证明对安装至关重要,没有 CSM,安装只会静默停止。还要检查 BIOS 是否没有恢复到安全启动模式。多么令人头疼!
将 v1.157 固件包升级到 1.158 有帮助(我不需要从 1.158 deb 中换出任何文件)。细节:
首先我停止了网络:
sudo su /etc/init.d/Network-Manager stop /etc/init.d/Networking stop
卸载内核模块:
modprobe -r ath10k_pci modprobe -r ath10k_core modprobe -r ath modprobe -r mac80211 modprobe -r cfg80211
升级固件包
dpkg -i linux-firmware_1.158_all.deb
之后固件目录的内容:
-rw-r--r-- 1 root root 271412 May 6 12:42 board-2.bin
-rw-r--r-- 1 root root 8124 Apr 25 12:59 board.bin
-rw-r--r-- 1 root root 733784 Apr 25 12:59 firmware-4.bin
ac5184615090503870442da5f703de25 /lib/firmware/ath10k/QCA6174/hw3.0/board-2.bin
cb37c63d9ca28f53fea1ff09ad7c7a82 /lib/firmware/ath10k/QCA6174/hw3.0/board.bin
a5dfbc03c9a7a73f7aa8d0a94a6d9426 /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin
dmesg:
[ 1084.393020] ath10k_pci 0000:04:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[ 1084.594123] ath10k_pci 0000:04:00.0: Direct firmware load for ath10k/cal-pci-0000:04:00.0.bin failed with error -2
[ 1084.594143] ath10k_pci 0000:04:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[ 1084.594149] ath10k_pci 0000:04:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[ 1086.774542] ath10k_pci 0000:04:00.0: qca6174 hw3.2 (0x05030000, 0x00340aff sub 1a56:1535) fw WLAN.RM.2.0-00180-QCARMSWPZ-1 fwapi 4 bdapi 2 htt-ver 3.26 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1 features wowlan,ignore-otp,no-4addr-pad
[ 1086.774545] ath10k_pci 0000:04:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 1086.828603] ath: EEPROM regdomain: 0x6c
[ 1086.828605] ath: EEPROM indicates we should expect a direct regpair map
[ 1086.828606] ath: Country alpha2 being used: 00
[ 1086.828607] ath: Regpair used: 0x6c
[ 1086.830651] ath10k_pci 0000:04:00.0 wlp4s0: renamed from wlan0
所以我们终于有了wlan0
(重命名为wlp4s0
)
加载内核模块
cd /lib/modules/4.4.0-21-lowlatency/kernel/ insmod net/wireless/cfg80211.ko insmod net/mac80211/mac80211.ko insmod drivers/net/wireless/ath/ath.ko insmod drivers/net/wireless/ath/ath10k/ath10k_core.ko insmod drivers/net/wireless/ath/ath10k/ath10k_pci.ko
开始联网
/etc/init.d/Networking start /etc/init.d/Network-Manager start
需要重启
nm-applet
:kilall nm-applet nohup nm-applet &
现在我可以安装mdadm
. 如果我完成下一个任务目标,我终于可以安装 Linux:如何在安装期间确定 NMVe SSD 的设备名称
仅供参考,Ubuntu 17.04 的当前状态是(错误,错误,错误......):
[ 2.772902] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:05:00.0.bin failed with error -2
[ 2.772909] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/cal-pci-0000:05:00.0.bin failed with error -2
[ 2.773036] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[ 2.773038] ath10k_pci 0000:05:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[ 2.773892] ath10k_pci 0000:05:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1a56:1535
[ 2.773893] ath10k_pci 0000:05:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 2.774309] ath10k_pci 0000:05:00.0: firmware ver WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 features wowlan,ignore-otp,no-4addr-pad crc32 75dee6c5
linux-firmware
包 v 1.164.1
https://giphy.com/gifs/justin-monkey-i-am-disappointed-l3vRhaxVcQ1i0CZlC
请尝试更新的固件包。使用有效的互联网连接,请打开终端并执行以下操作:
您的无线现在应该可以工作了。