我刚刚在新笔记本上安装了Ubuntu 16.04 LTS
(内核版本 ) ,但它不起作用。4.8.0-36-generic
Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
我在网上找到了解决方案,但对我不起作用。我做了以下事情:
从该存储库下载的驱动程序: https://github.com/kvalo/ath10k-firmware
将此驱动程序复制到
/lib/firmware/ath10k/QCA6174
目录中sudo cp /lib/firmware/ath10k/QCA6174/firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1 /lib/firmware/ath10k/QCA6174/firmware-4.bin
重新加载
但 wifi 还是不能用。当我尝试在设置中启用 wifi 时,我无法做到这一点。
这是命令的输出dmesg | grep ath10k
:
[ 10.040200] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 10.548072] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:02:00.0.bin failed with error -2
[ 10.548079] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2
[ 10.591818] ath10k_pci 0000:02:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 17aa:0827
[ 10.591823] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 10.592326] ath10k_pci 0000:02:00.0: firmware ver WLAN.RM.2.0-00180-QCARMSWPZ-1 api 5 features wowlan,ignore-otp,no-4addr-pad crc32 75dee6c5
[ 10.820021] ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 07ee144e
[ 12.984484] ath10k_pci 0000:02:00.0: htt-ver 3.26 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[ 13.587814] ath10k_pci 0000:02:00.0 wlp2s0: renamed from wlan0
[ 215.900218] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 216.178456] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:02:00.0.bin failed with error -2
[ 216.178465] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2
[ 216.178507] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[ 216.178509] ath10k_pci 0000:02:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[ 216.178713] ath10k_pci 0000:02:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 17aa:0827
[ 216.178715] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 216.179486] ath10k_pci 0000:02:00.0: firmware ver WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 features wowlan,ignore-otp,no-4addr-pad crc32 75dee6c5
[ 216.243352] ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 07ee144e
[ 218.410241] ath10k_pci 0000:02:00.0: htt-ver 3.26 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[ 218.498078] ath10k_pci 0000:02:00.0 wlp2s0: renamed from wlan0
结果如下lshw
:
*-network DISABLED
description: Wireless interface
product: QCA6174 802.11ac Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 32
serial: 58:00:e3:f6:bd:6f
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath10k_pci driverversion=4.8.0-36-generic firmware=WLAN.RM.2.0-00180-QCARMSWPZ-1 latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:320 memory:94000000-941fffff
我也尝试过这样做:
sudo rm /lib/firmware/ath10k/QCA6174/hw3.0/* 2> /dev/null
sudo wget -O /lib/firmware/ath10k/QCA6174/hw3.0/board.bin https://github.com/kvalo/ath10k-firmware/blob/master/QCA6174/hw3.0/board.bin?raw=true
sudo wget -O /lib/firmware/ath10k/QCA6174/hw3.0/board-2.bin https://github.com/kvalo/ath10k-firmware/blob/master/QCA6174/hw3.0/board-2.bin?raw=true
sudo wget -O /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin https://github.com/kvalo/ath10k-firmware/blob/master/QCA6174/hw3.0/firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1?raw=true
但结果是一样的。
我不明白我做错了什么。
PS 抱歉我的英语不好)
更新:
rfkill list all
输出:
0: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: yes
1: ideapad_bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: yes
2: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
4: phy1: Wireless LAN
Soft blocked: no
Hard blocked: no
答案1
在终端中运行
sudo tee /etc/modprobe.d/ideapad.conf <<< "blacklist ideapad_laptop"
然后重新启动。
我建议不要摆弄固件。还可以通过以下方式恢复标准包:
sudo apt update
sudo apt install --reinstall linux-firmware
您需要连接到互联网才能执行此操作。
答案2
因为您向我们展示了“rfkill list all”命令提供的功能:
0:ideapad_wlan:无线局域网 软阻止:否 硬阻止:是
“硬阻止”是指启用物理关闭开关。有时,有实际的物理开关可以向左或向右移动以启用模块,或者使用 F 键或 Function+F 键来启用模块。
找出您的计算机的哪个阻止程序,然后将其切换。然后重新检查“rfkill list all”,看看硬阻止程序是否已消失。它应该显示“硬阻止:否”。
答案3
我遇到了同样的问题,我所做的是:
sudo apt install firmware-atheros
sudo reboot
然后它对我有用。