我最近买了一台 Acer Aspire R5-471T 笔记本电脑,并安装了 Ubuntu 16.04,但似乎无法使用无线网络。根据我的 Google-fu,这是因为我的无线网络适配器是专有的 Qualcomm Atheros QCA6174,因此需要进行一些调整才能使其在 Ubuntu 中正常运行。
以下是我从终端收到的一些消息:
lspci -nnk | grep 0280 -A2
01:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
Subsystem: Lite-On Communications Inc QCA6174 802.11ac Wireless Network Adapter [11ad:0807]
dmesg | grep ath
[ 1.960883] ath10k_core: unknown parameter 'skip_opt' ignored
[ 1.974347] ath10k_pci 0000:01:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[ 2.219383] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/cal-pci-0000:01:00.0.bin failed with error -2
[ 2.219671] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[ 2.219673] ath10k_pci 0000:01:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[ 2.219678] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-4.bin failed with error -2
[ 2.219680] ath10k_pci 0000:01:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-4.bin': -2
[ 2.219684] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-3.bin failed with error -2
[ 2.219685] ath10k_pci 0000:01:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-3.bin': -2
[ 2.219690] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-2.bin failed with error -2
[ 2.219691] ath10k_pci 0000:01:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-2.bin': -2
[ 2.219695] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware.bin failed with error -2
[ 2.219696] ath10k_pci 0000:01:00.0: could not fetch firmware (-2)
[ 2.219698] ath10k_pci 0000:01:00.0: could not fetch firmware files (-2)
[ 2.219699] ath10k_pci 0000:01:00.0: could not probe fw (-2)
我对 Linux 还不太熟悉,而且我也不是开发人员,所以请多包涵。
答案1
我设法让无线网络工作了。诀窍如下:
(1)创建一个名为/lib/firmware/ath10k/QCA6174的文件夹
(2)确保有两个子文件夹/hw2.1和/hw3.0
(3)将此处找到的文件复制到相应的子文件夹中:https://github.com/kvalo/ath10k-firmware
(4)请注意,hw3.0 子文件夹中名为“firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1”的文件和 hw2.1 子文件夹中名为“firmware-5.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1”的文件应分别重命名为“firmware-4.bin”和“firmware-5.bin”。(这正是我遇到问题的原因)。