Qualcomm Atheros QCA6164 802.11ac Wireless Network Adapter [168c:0041] is not supported
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | linux (Ubuntu) |
Medium
|
Unassigned | ||
| | Vivid |
Medium
|
Unassigned | ||
| | Wily |
Medium
|
Unassigned | ||
| | Xenial |
Undecided
|
Unassigned | ||
| | linux-firmware (Ubuntu) |
Undecided
|
Unassigned | ||
| | Xenial |
Medium
|
Seth Forshee | ||
Bug Description
The firmware for this card isn't included with Ubuntu. The firmware provided in /lib/firmware/
Yes, you read that right: the files for the QCA6164 need to be a folder called QCA6174 in order for the card to work. Running "modprobe ath10k_pci" shows that the ath10k_pci module looks for firmware in a folder called QCA6174, but not in any folder called QCA6164.
It seems that before this issue can be resolved, the ath10k_pci module must be changed so that it recognizes firmware for both the QCA6164 and QCA6174, in separate folders.
-------
HOW TO GET THIS CARD TO WORK:
1) Use a kernel that supports this card
According to WikiDevi, support for this card was added in kernel 4.3. If you're running Ubuntu 16.04 LTS or above, your kernel is fine; skip to the next step. If you're running Ubuntu 15.10 or below, see https:/
2) Get rid of the firmware folder for this card that's included with Ubuntu:
sudo rm -r /lib/firmware/
3) Download the latest firmware:
wget https:/
4) Unzip the downloaded file. Inside the ath10k-
unzip master.zip
sudo cp -r ath10k-
5) Rename two of the firmware files like so:
cd /lib/firmware/
sudo mv firmware-
cd /lib/firmware/
sudo mv firmware-
6) Reboot your computer. Run "lshw -C network" to see if your card is recognized. You can delete the files you downloaded earlier:
cd ~
rm master.zip
rm -r ath10k-
I've verified that this works with Ubuntu 16.04 LTS (with kernel 4.4.0-21-generic); let me know if it doesn't work for you in the comments below.
-------
Miles Krell
Last updated May 23, 2016
| Joseph Salisbury (jsalisbury) wrote : | #2 |
| Changed in linux (Ubuntu): | |
| importance: | Undecided → Medium |
| status: | New → Triaged |
| tags: | added: kernel-da-key |
| Brian Murray (brian-murray) wrote : | #3 |
I also tested the latest 4.0 kernel per jsalisbury and while there was an additonal PCI ID listed in the kernel module, the device in this laptop was not.
http://
| Brian Murray (brian-murray) wrote : | #4 |
I tried to run "sudo lshw" to gather more information but ran into bug 1437436.
| Joseph Salisbury (jsalisbury) wrote : | #5 |
I built a test kernel that can downloaded from:
http://
Can you try this kernel and see if it allows the wireless device to work? We may have an issue with the firmware, which is being worked on upstream.
| Brian Murray (brian-murray) wrote : | #6 |
Well the module tried to load it encountered an issue loading the firmware.
[ 13.324481] ath10k_pci 0000:03:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[ 13.700984] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/
[ 13.701006] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/
[ 13.701010] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/
[ 13.701105] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/
[ 13.701108] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/
[ 13.701180] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/
[ 13.701183] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/
[ 13.701254] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/
[ 13.701257] ath10k_pci 0000:03:00.0: could not fetch board data (-2)
[ 13.701299] ath10k_pci 0000:03:00.0: could not fetch firmware files (-2)
[ 13.701345] ath10k_pci 0000:03:00.0: could not probe fw (-2)
| Joseph Salisbury (jsalisbury) wrote : | #7 |
Thanks for testing, Brian. The test kernel was just a test to see if adding just the pci device id would work. It seems it wont. We'll have to monitor the upstream discussion at:
http://
I'll post to that thread and say we can test the firmware when it's available.
| Jason Smith (sddfdds) wrote : | #8 |
Any news on this? Also affects the wireless in the lenovo z70 series
| vasuki (rmvasuki) wrote : | #9 |
Saw this problem on a Lenovo Edge 15 laptop as well.
lspci -nnk:
02:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:0041] (rev 20)
Subsystem: Lenovo Device [17aa:3545]
lshw -C net
*-network UNCLAIMED
description: Network controller
product: Qualcomm Atheros
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:02:00.0
version: 20
width: 64 bits
clock: 33MHz
resources: memory:
| Tracy Atteberry (tracy-u) wrote : | #10 |
Seeing this problem with Lenovo Z70 as well.
Kind of stuck on this error from dmesg:
Direct firmware load for ath10k/
More info and logs here:
http://
| Subin (subinraju28) wrote : | #11 |
Having same issue with Lenovo G50-45 AMD A8 notebook.
01:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:0041] (rev 20)
Subsystem: Lenovo Device [17aa:3545]
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
Subsystem: Lenovo Device [17aa:3812]
Kernel driver in use: r8168
Wireless not showing up in Connectivity, only Wired is shown !
Please help to fix the issue.
Other system info..
System: Host: Lenovo-G50-45 Kernel: 3.13.0-52-generic x86_64 (64 bit, gcc: 4.8.2)
Desktop: Gnome Distro: Linux Mint 17.1 Rebecca
Machine: System: LENOVO (portable) product: 80E3 version: Lenovo G50-45
Mobo: LENOVO model: Lancer 5B2 version: 31900058 WIN Bios: LENOVO version: A2CN27WW(V1.09) date: 12/12/2014
CPU: Quad core AMD A8-6410 APU with AMD Radeon R5 Graphics (-MCP-) cache: 8192 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 15969.6
Clock Speeds: 1: 2000.00 MHz 2: 2000.00 MHz 3: 1400.00 MHz 4: 1000.00 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] Mullins [Radeon APU A4-6000 with R2 Graphics] bus-ID: 00:01.0
X.Org: 1.15.1 drivers: ati (unloaded: vesa,radeon) FAILED: fbdev Resolution: 1366x768@76.0hz
GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits) GLX Version: 2.1 Mesa 10.1.3 Direct Rendering: Yes
Audio: Card-1: Advanced Micro Devices [AMD] FCH Azalia Controller driver: snd_hda_intel bus-ID: 00:14.2
Card-2: Advanced Micro Devices [AMD/ATI] Device 9840 driver: snd_hda_intel bus-ID: 00:01.1
Sound: Advanced Linux Sound Architecture ver: k3.13.0-52-generic
Network: Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8168 ver: 8.040.00-NAPI port: 2000 bus-ID: 02:00.0
IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
Card-2: Qualcomm Atheros Device 0041 bus-ID: 01:00.0
IF: N/A state: N/A speed: N/A duplex: N/A mac: N/A
Card-3: Atheros usb-ID: 0cf3:e300
IF: N/A state: N/A speed: N/A duplex: N/A mac: N/A
Drives: HDD Total Size: 1000.2GB (0.6% used) 1: id: /dev/sda model: ST1000LM024_HN size: 1000.2GB
Partition: ID: / size: 286G used: 5.7G (3%) fs: ext4 ID: swap-1 size: 3.72GB used: 0.00GB (0%) fs: swap
RAID: No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors: None detected - is lm-sensors installed and configured?
Info: Processes: 158 Uptime: 9 min Memory: 619.9/3409.9MB Runlevel: 2 Gcc sys: 4.8.2 Client: Shell inxi: 1.8.4
| emielke (emielke) wrote : | #12 |
Having the same problem on a Lenovo Edge 15
*-network UNCLAIMED
description: Network controller
product: Qualcomm Atheros
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:02:00.0
version: 20
width: 64 bits
clock: 33MHz
resources: memory:
02:00.0 Network controller: Qualcomm Atheros Device 0041 (rev 20)
Subsystem: Lenovo Device 3545
Flags: bus master, fast devsel, latency 0, IRQ 255
Memory at e4000000 (64-bit, non-prefetchable) [size=2M]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/8 Maskable+ 64bit-
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [148] Virtual Channel
Capabilities: [168] Device Serial Number 00-00-00-
Capabilities: [178] Latency Tolerance Reporting
Capabilities: [180] L1 PM Substates
Network controller [0280]: Qualcomm Atheros Device [168c:0041] (rev 20)
| Changed in linux (Ubuntu): | |
| status: | Triaged → In Progress |
| Changed in linux (Ubuntu): | |
| status: | In Progress → Confirmed |
| Arpit Jain (arpitkookada) wrote : | #13 |
Is there any workable solution for this ?
| summary: |
- Wireless device not listed in driver's PCI IDs + Atheros 168c:0041 (Lenovo G50-80) is not supported |
| summary: |
- Atheros 168c:0041 (Lenovo G50-80) is not supported + Atheros wifi 168c:0041 (Lenovo G50-80) is not supported |
| Changed in linux (Ubuntu Vivid): | |
| status: | New → Confirmed |
| importance: | Undecided → Medium |
| summary: |
- Atheros wifi 168c:0041 (Lenovo G50-80) is not supported + Atheros wifi 168c:0041 is not supported |
| description: | updated |
| summary: |
- Atheros wifi 168c:0041 is not supported + Atheros wifi 168c:0041(QCA6164) is not supported |
| description: | updated |
| Patrick Lacasse (patrick-m-lacasse) wrote : Re: Atheros wifi 168c:0041(QCA6164) is not supported | #14 |
I have the same issue with my new lenovo yoga 3 14".
$lspci -nn | tail -n1
02:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:0041] (rev 20)
$ cat /sys/devices/
Lenovo Yoga 3 14
I also have no rfkill switch, which means that my wireless was hard blocked.
I added my product version into the ideapad-laptop module from git://kernel.
Now it is no more hard blocked
$ rfkill list
0: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
But still not usable.
I'm willing to test anything you propose.
| description: | updated |
| tags: | added: patch |
| Gauri (tkgauri) wrote : | #15 |
I have recently purchased lenovo g50-80. It has qualcom atheros qca61x4 wifi card. Can anybody tell when the drivers for this card will be available for ubuntu 15.04?
| Duarte Mendonca (duarte-mendonca) wrote : | #16 |
Affects Lenovo U31-70 also.
my lonovo g50-45 is also having the same bug
| description: | updated |
Hello,
There are still new folks reporting this issue in the Launchpad bug
report[0]. Has there been any progress on the firmware problem reported
in the comment by Kalle Valo on March 26, 2015[1]?
Thanks in advance,
Joe
[0] http://
[1] http://
Comment #18 was a query to upstream on the <email address hidden> mailing list.
| description: | updated |
| Joseph Salisbury (jsalisbury) wrote : | #20 |
Recently Upstream has found a way to boot qca6164 with unofficial windows-extracted firmware images on ath10k[1]. However, they still don't have an official firmware release for qca61x4 family for ath10k though.
[1]: http://
| Joseph Salisbury (jsalisbury) wrote : | #21 |
Right after I posted my last comment, Upstream stated there is new firmware now available here:
https:/
Please post how it works (or not).
With the new files, I still get the ath10k/
| Dan Kegel (dank) wrote : | #24 |
acer aspire e15 e5-573g-59c3 suffers from similar problem, but with lspci reporting 168c:0042 (rev 30),not 0041 (rev 20).
| Dan Kegel (dank) wrote : | #25 |
I'm willing to test, too, but the procedure is hard to extract from that email thread.
| Joseph Salisbury (jsalisbury) wrote : | #26 |
re: comment #23. Response from Upstream:
"Yes - either 4.2-rc or newer, or use Kalle's tree[1].
The qca6174 hw2.1 fix has been pulled into 4.1-stable[2] but it
doesn't understand the ignore_otp_result firmware feature flag so if
you rename the firmware-5.bin[3] to firmware-4.bin you'll need to load
ath10k_core module with "skip_otp=y" parameter.
Michał
[1]: https:/
[2]: https:/
[3]: https:/
"
| description: | updated |
| Changed in linux (Ubuntu Vivid): | |
| status: | Confirmed → Incomplete |
| status: | Incomplete → Confirmed |
| Samuel Volin (untra) wrote : | #27 |
Also affects the Lenovo U31 series. how soon can we see / test a fix?
| Diego (d13g0) wrote : | #28 |
I got my card working in Debian testing (I have a Qualcomm Atheros 168c:0041).
Here are the steps, get the latest backports from:
https:/
Get the latest firmware from:
https:/
Copy the firmware to /lib/firmware/
https:/
Compile the code and install, then apply this patch to the firmware:
https:/
Reboot and modprobe ath10k_pci. Do "lshw -C network"; "ip link show" or "rfkill list" to see if you got your card working.
Mine is working perfectly in my Debian (stretch / sid).
| Diego (d13g0) wrote : | #29 |
Oh, I forgot, also create a file named /etc/modprobe.
options ath10k_core skip_otp=y
| ravi119 (ravi119) wrote : Re: [Bug 1436940] Re: Atheros wifi 168c:0041(QCA6164) is not supported | #30 |
Hi Diego,
Could you list down the steps to compile the setup.
*Thanks and Regards*
*Ravi Ranjan Karn*
On Fri, Aug 21, 2015 at 3:27 PM, Diego <email address hidden> wrote:
> Oh, I forgot, also create a file named /etc/modprobe.
> the following line:
>
> options ath10k_core skip_otp=y
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> Atheros wifi 168c:0041(QCA6164) is not supported
>
> Status in linux package in Ubuntu:
> Confirmed
> Status in linux source package in Vivid:
> Confirmed
> Status in linux source package in Wily:
> Confirmed
>
> Bug description:
> The atheros wireless device (168c:0041) isn't supported by the
> ath10k_pci kernel driver.
>
> Found in several laptop models:
>
> Lenovo Z70
> Lenovo G50-45
> Lenovo G50-80
> Lenovo Edge 15
> Lenovo Yoga 3 11
> Lenovo Flex 3-1470
> Samsung ATIV Book 9 NP930X2K
>
> ProblemType: BugDistroRelease: Ubuntu 15.04
> Package: linux-image-
> ProcVersionSign
> Uname: Linux 3.19.0-9-generic x86_64
> ApportVersion: 2.16.2-0ubuntu3
> Architecture: amd64
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: nicholas 1695 F.... pulseaudio
> /dev/snd/controlC1: nicholas 1695 F.... pulseaudio
> CurrentDesktop: Unity
> Date: Thu Mar 26 09:47:16 2015
> HibernationDevice: RESUME=
> InstallationDate: Installed on 2015-03-25 (1 days ago)
> InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64
> (20141022.1)
> IwConfig:
> eth0 no wireless extensions.
>
> lo no wireless extensions.
> Lsusb:
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 001 Device 004: ID 0cf3:e300 Atheros Communications, Inc.
> Bus 001 Device 003: ID 5986:0652 Acer, Inc
> Bus 001 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129
> Card Reader Controller
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> MachineType: LENOVO 80E5
> ProcFB: 0 inteldrmfb
> ProcKernelCmdLine: BOOT_IMAGE=
> root=UUID=
> RelatedPackageV
> linux-restricte
> linux-backports
> linux-firmware 1.143SourcePackage: linux
> UpgradeStatus: Upgraded to vivid on 2015-03-26 (0 days ago)
> dmi.bios.date: 06/20/2014
> dmi.bios.vendor: LENOVO
> dmi.bios.version: B0CN69WW
> dmi.board.
> dmi.board.name: Lenovo G50-80
> dmi.board.vendor: LENOVO
> dmi.board.version: 31900058 WIN
> dmi.chassis.
> dmi.chassis.type: 10
> dmi.chassis.vendor: LENOVO
> dmi.chassis.
> dmi.modalias:
> dmi:bvnLENOVO:
> dmi.product.name: 80E5
> dmi.product.
@jsalisbury is there a 4.2 ubuntu kernel we could test with? Here's a tarball with the firmware files. It's unpacked as:
cd /lib/firmware
tar xf /tmp/ath10k-
| Bruno Viana (bbviana) wrote : | #32 |
This firmware has worked for me, Kees!
- Samsung Ativ Book 9
- Atheros QCA6164
| Kees Cook (kees) wrote : | #33 |
I have not tested these, but IIUC, this is where to get an upstream kernel build, configured for Ubuntu, thought likely without Ubuntu-specific patches: http://
| Diego (d13g0) wrote : | #34 |
Yes, steps are:
Get the latest backport from https:/
Uncompress somewhere
Patch the code with https:/
Then do:
make defconfig-ath10k
make
sudo make install
Then, get the latest firmware from https:/
Unzip and copy ath10k folder to /lib/firmware/
Copy these two files (overwrite what you got before) in /lib/firmware/
https:/
Create a file named /etc/modprobe.
"options ath10k_core skip_otp=y"
Reboot and modprobe ath10k_pci. Do "lshw -C network"; "ip link show" or "rfkill list" to see if you got your card working.
| Ryan (ryanw527) wrote : | #35 |
Following Diego's steps above, "lshw -C network" no longer says my network card is unclaimed and the driver assigned to it is ath10k_pci. However, I see no difference in the functionality of the card (still can not use it).
Lenovo Flex 3 14"
QCA6164 168c:0041
| Diego (d13g0) wrote : | #36 |
Hi Ryan,
can you copy the outputs of "lshw -C network"; "sudo ip link show" and "sudo rfkill list" ? Can you check for relevant errors with dmesg ("dmesg | grep -i ath" / "dmesg | tail" or just all of dmesg) ?
Also, did you patch the firmware and create the conf file to skip_otp ?
Thanks,
Diego
| Ryan (ryanw527) wrote : | #37 |
Hi Diego,
I followed every step you outlined including patching the firmware and creating the conf file and adding the skip_otp line. Thank you for your help!
"sudo lshw -C network"
*-network
description: Network controller
product: Qualcomm Atheros
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:02:00.0
version: 20
width: 64 bits
clock: 33MHz
resources: irq:49 memory:
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:03:00.0
logical name: eth0
version: 10
serial: 54:ee:75:4e:86:b7
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
resources: irq:44 ioport:
"sudo ip link show"
1: lo: <LOOPBACK,
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,
link/ether 54:ee:75:4e:86:b7 brd ff:ff:ff:ff:ff:ff
"sudo rfkill list"
0: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
1: ideapad_bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
6: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
"dmesg | grep -i ath"
[ 2.035031] [<ffffffff81075
[ 2.035032] [<ffffffff81075
[ 2.218428] ath10k_pci 0000:02:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[ 2.405198] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/
[ 2.405407] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/
[ 2.405409] ath10k_pci 0000:02:00.0: failed to load spec board file, falling back to generic: -2
[ 3.583538] ath10k_pci 0000:02:00.0: received unsolicited fw crash interrupt
[ 3.583555] ath10k_pci 0000:02:00.0: received unsolicited fw crash interrupt
[ 3.584948] ath10k_pci 0000:02:00.0: firmware crashed! (uuid e628e267-
[ 3.584969] ath10k_pci 0000:02:00.0: qca6174 hw2.1 (0x05010000, 0x003405ff, 168c:0041:17aa:3545 fallback) fw WLAN.RM.1.1-00141 api 5 htt-ver 0.0 wmi-op 4 htt-op 3 cal otp max-sta 32 features ignore-
[ 3.584973] ath10k_pci 0000:02:00.0: debug 1 debugfs 1 tracing 0 dfs 0 testmode 0
[ 3.587298] ath10k...
| Diego (d13g0) wrote : | #38 |
Hi,
clearly the firmware is crashing in your computer (wonder why). Do you have exactly the same chipset as me (lspci -nnk) ?
02:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:0041] (rev 20)
Here are my outputs just FYI. I'm not sure why the firmware crashed in your box ("[ 3.584948] ath10k_pci 0000:02:00.0: firmware crashed! (uuid e628e267-
*-network
description: Wireless interface
product: Qualcomm Atheros
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 20
serial: f1:59:19:6f:94:3d
width: 64 bits
clock: 33MHz
resources: irq:49 memory:
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:03:00.0
logical name: enp3s0
version: 10
serial: 65:ff:88:4d:ca:71
size: 10Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
resources: irq:43 ioport:
1: lo: <LOOPBACK,
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <NO-CARRIER,
link/ether 65:ff:88:4d:ca:71 brd ff:ff:ff:ff:ff:ff
3: wlp2s0: <BROADCAST,
link/ether f1:59:19:6f:94:3d brd ff:ff:ff:ff:ff:ff
[ 5.866041] ath10k_pci 0000:02:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[ 6.056962] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/
[ 6.056963] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/
[ 6.057265] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/
[ 6.057266] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/
[ 6.057267] ath10k_pci 0000:02:00.0: failed to load spec board file, falling back to generic: -2
[ 6.057426] ath10k_pci 0000:02:00.0: firmware: direct-loading firmware ath10k/
[ 6.059061] ath10k_pci 0000:02:00.0: firmware: ...
| Diego (d13g0) wrote : | #39 |
Mmm,
This is my dmesg:
[ 7.251278] ath10k_pci 0000:02:00.0: qca6174 hw2.1 (0x05010000, 0x003405ff, 168c:0041:17aa:3545 fallback) fw atheros-
But yours is:
[ 3.584969] ath10k_pci 0000:02:00.0: qca6174 hw2.1 (0x05010000, 0x003405ff, 168c:0041:17aa:3545 fallback) fw WLAN.RM.1.1-00141 api 5 htt-ver 0.0 wmi-op 4 htt-op 3 cal otp max-sta 32 features ignore-
So, it seems to me that you are using this firmware: https:/
When you should be using this one: https:/
I was reading my original message and it seems there are some typos, please copy the two files from https:/
| Diego (d13g0) wrote : | #40 |
Edit: copy https:/
| summary: |
- Atheros wifi 168c:0041(QCA6164) is not supported + Atheros wifi 168c:0041(QCA6174) is not supported |
| description: | updated |
| summary: |
- Atheros wifi 168c:0041(QCA6174) is not supported + Atheros wifi 168c:0041(QCA6164) is not supported |
| summary: |
- Atheros wifi 168c:0041(QCA6164) is not supported + Qualcomm Atheros QCA6164 802.11ac Wireless Network Adapter [168c:0041] + is not supported |
| description: | updated |
| description: | updated |
| Changed in linux-firmware (Ubuntu): | |
| status: | New → Confirmed |
| no longer affects: | linux-firmware (Ubuntu) |
| no longer affects: | linux-firmware (Ubuntu Vivid) |
| no longer affects: | linux-firmware (Ubuntu Wily) |
| Changed in linux-firmware (Ubuntu): | |
| status: | New → Confirmed |
| description: | updated |
| description: | updated |
| description: | updated |
| dagny (dtag1000) wrote : | #129 |
whatever you do, if you are dualbooting, do not use these drivers.
for some reason, if you put them in the firmware file like the guide says, when you reboot, it deletes the whole dualboot partition.
major bug.
| Miles Krell (mileskrell) wrote : | #130 |
dagny, could you elaborate? I find it highly unlikely that adding firmware files for this card could have deleted a partition from a drive on your computer. Could your problem have something to do with the kernel you're using?
| Limeth (limeth) wrote : | #131 |
I have made a script that patches this incapability for the Lenovo U31-70 laptop. Works on elementary OS, should work on any Ubuntu 14.04. GitHub repository: https:/
Steps:
git clone https:/
cd lenovo-
chmod +x ./auto.sh
./auto.sh
I have a Lenovo G50-45 (QCA6164 Wireless network adapter) with Ubuntu 15.10 (Kernel 4.2) - fully updated as of 17 March 2016. I tried following the steps given under "How to Get this Card to Work:" in the Bug Description. lshw -C network showed QCA6164 as "Unclaimed".
Then following steps in #81 and #90 finally made the card work!!!
Thank you Jeremy!!! Considering my absolute zero knowledge of any kind of programming, the steps were really clear enough that I could follow them and make things work for me :)
| janl (janl) wrote : | #133 |
New Acer V3-372 laptop with Xenial Kubuntu. Non-working wifi. Hit google, find this ticket. Installed the Kvalo master firmware bundle and wifi worked right away.
Suggest inclusion of kvalo master bundle in Xenial.
| Miles Krell (mileskrell) wrote : | #134 |
Nithya, sorry about the guide. I forgot that the firmware files have their version number in their names, so they need to be renamed before they'll work. The guide has been updated to reflect this.
I'd appreciate if someone would try following the updated guide and telling me if it works now.
| description: | updated |
| AndyP (andy-gpshelp) wrote : | #135 |
Hi, I have a brand new Acer F5-571 with a qualcomm atheros device and the wireless doesn't work. I removed windows10 and installed the latest ubuntu-mate wily 15.10 (same issue in mint 17.3). I'm somewhat of a newbie so please be gentle. I have tried a number of the points in this bug report to no avail, posts 81/90, the intro notes and others have all been tried. comment 118 didnt work, for some reason dkms would not install.
Kernel 4.2.0-34-generic
sudo lshw -C network
*-network UNCLAIMED
description: Network controller
product: Qualcomm Atheros
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:03:00.0
version: 30
width: 64 bits
clock: 33MHz
resources: memory:
lspci : 03:00.0 Network controller: Qualcomm Atheros Device 0042 (rev 30)
Really need to get this wireless card working. Suggestions? If so please step by step, don't assume I know how to do stuff.
| AndyP (andy-gpshelp) wrote : | #136 |
Just to clarify, the guide at the beginning of this report didn't work.
| Miles Krell (mileskrell) wrote : | #137 |
AndyP, thanks for telling me. I'd really like to reinstall Ubuntu and *then* follow my own guide to see if it works, but I don't want to do this with 16.04 right around the corner. Once it's released, I'll do this and get back to you guys.
I can tell you that I'm not using backports, as I just installed kernel 4.5 a few days ago, and the files in my /lib/firmware/
I guess there's still something I missed. Could you post the output of "modinfo ath10k_pci"?
| Miles Krell (mileskrell) wrote : | #138 |
Actually, hold on. Could you instead post the output of "lspci -nnk"? I think you might be using a different card.
| Corey Taylor (feeltherussian) wrote : | #139 |
As at March 18th 2016, confirming that following the guide at the top of the page as well as the Backports method as described at Comment #90 fixed the problem and wifi now works on my Acer Aspire V17. Have attached relevant output from lspci and modinfo confirming h/w configuration for those interested in comparing with their machines.
| AndyP (andy-gpshelp) wrote : | #140 |
Thanks Miles, output posted here: (last 2 lines relevant I think, but not sure exactly the part you wanted so excuse pasting all)
00:00.0 Host bridge [0600]: Intel Corporation Broadwell-U Host Bridge -OPI [8086:1604] (rev 09)
Subsystem: Acer Incorporated [ALI] Device [1025:098a]
Kernel driver in use: bdw_uncore
00:02.0 VGA compatible controller [0300]: Intel Corporation Broadwell-U Integrated Graphics [8086:1616] (rev 09)
Subsystem: Acer Incorporated [ALI] Device [1025:098a]
Kernel driver in use: i915
00:03.0 Audio device [0403]: Intel Corporation Broadwell-U Audio Controller [8086:160c] (rev 09)
Subsystem: Acer Incorporated [ALI] Device [1025:098a]
Kernel driver in use: snd_hda_intel
00:14.0 USB controller [0c03]: Intel Corporation Wildcat Point-LP USB xHCI Controller [8086:9cb1] (rev 03)
Subsystem: Acer Incorporated [ALI] Device [1025:098a]
Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation Wildcat Point-LP MEI Controller #1 [8086:9cba] (rev 03)
Subsystem: Acer Incorporated [ALI] Device [1025:098a]
Kernel driver in use: mei_me
00:1b.0 Audio device [0403]: Intel Corporation Wildcat Point-LP High Definition Audio Controller [8086:9ca0] (rev 03)
Subsystem: Acer Incorporated [ALI] Device [1025:098a]
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 [8086:9c90] (rev e3)
Kernel driver in use: pcieport
00:1c.2 PCI bridge [0604]: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 [8086:9c94] (rev e3)
Kernel driver in use: pcieport
00:1c.3 PCI bridge [0604]: Intel Corporation Wildcat Point-LP PCI Express Root Port #4 [8086:9c96] (rev e3)
Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation Wildcat Point-LP USB EHCI Controller [8086:9ca6] (rev 03)
Subsystem: Acer Incorporated [ALI] Device [1025:098a]
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation Wildcat Point-LP LPC Controller [8086:9cc3] (rev 03)
Subsystem: Acer Incorporated [ALI] Device [1025:098a]
Kernel driver in use: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] [8086:9c83] (rev 03)
Subsystem: Acer Incorporated [ALI] Device [1025:098a]
Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation Wildcat Point-LP SMBus Controller [8086:9ca2] (rev 03)
Subsystem: Acer Incorporated [ALI] Device [1025:098a]
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Subsystem: Acer Incorporated [ALI] Device [1025:098a]
Kernel driver in use: r8169
03:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:0042] (rev 30)
Subsystem: Lite-On Communications Inc Device [11ad:0806]
I bit the bullet and bought a TP-Link nano wireless adaptor for now, but would still like to solve this.
| AndyP (andy-gpshelp) wrote : | #141 |
..and for completeness the modinfo ath10k_pci output
andy@andy-
filename: /lib/modules/
firmware: ath10k/
firmware: ath10k/
firmware: ath10k/
firmware: ath10k/
firmware: ath10k/
firmware: ath10k/
firmware: ath10k/
firmware: ath10k/
firmware: ath10k/
firmware: ath10k/
firmware: ath10k/
firmware: ath10k/
license: Dual BSD/GPL
description: Driver support for Atheros QCA988X PCIe devices
author: Qualcomm Atheros
version: backported from Linux (next-20150903-
srcversion: 2C3D5FA5797C89E
alias: pci:v0000168Cd0
alias: pci:v0000168Cd0
alias: pci:v0000168Cd0
alias: pci:v0000168Cd0
depends: ath10k_core,compat
vermagic: 4.2.0-34-generic SMP mod_unload modversions
parm: irq_mode:0: auto, 1: legacy, 2: msi (default: 0) (uint)
parm: reset_mode:0: auto, 1: warm only (default: 0) (uint)
| Miles Krell (mileskrell) wrote : | #142 |
AndyP, it looks like you do have a different card. Your card has the PCI ID of 168c:0042, while the QCA6164 has the PCI ID of 168c:0041.
According to http://
Your "modinfo ath10k_pci" output doesn't list the QCA9377 firmware files, but they are listed when *I* run this command. I have no idea when support for the card was added, but it's supported in 4.5 (what I'm running). It might be supported in backports somewhere, but the following should be simpler:
1) Install kernel 4.5. There's a guide at https:/
2) Assuming you downloaded the firmware as explained in the above guide, you have to rename just one file like this:
cd /lib/firmware/
sudo mv firmware-
If those steps worked for you, I'd put them in the bug report for the QCA9377. Good luck!
| Miles Krell (mileskrell) wrote : | #143 |
Forgot to say:
3) Reboot your computer. Run "sudo lshw -C network" to see if the card is recognized.
4) If it still isn't working, run "uname -r" to make sure you're running kernel 4.5.
| AndyP (andy-gpshelp) wrote : | #144 |
Miles, many thanks for the excellent instructions and analysis. As you may have realised, installing a new kernel is something I've not done before. Followed your lead (and that on the mainbuilds page and I now have a fully working system, using the internal wireless card, which is lightning quick! Thank you vm!
I will post your solution on the page for the other bug if that is ok?
THIS is the reason why I use Ubuntu!!! :)
Andy
PS. I learned a lot from this, so even better.
| Miles Krell (mileskrell) wrote : | #145 |
Great to hear! I actually didn't know anything AT ALL about this myself until I got my current laptop, less than a year ago. During that time, a lot of people have been working on these cards, and it's gotten easier and easier to get them to work.
Many thanks to Kalle Valo (for the ath10k firmware repo), Anish Tondwalkar (for his QCA6164 firmware), and Diego (for his guide which I originally followed).
Before I first got my card to work, I had to download the backports, apply a patch to them, compile them, install them, and download firmware from multiple places. Now, I just have to download ONE repository and move/rename a few files. All that's left is for someone to get this firmware included in Ubuntu.
As for your question, yes, feel free to spread the knowledge! It's great to have been able to help!
| Miles Krell (mileskrell) wrote : | #146 |
One last thing: I checked what you added to the other bug, and you'll want to add a link to kvalo's repo (https:/
| description: | updated |
| Miles Krell (mileskrell) wrote : | #147 |
@AndyP Actually, I decided to just rewrite my guide for that card, as there were one or two things that were kind of unclear in the guide I wrote in the comments.
| description: | updated |
| description: | updated |
| Patrick Lacasse (patrick-m-lacasse) wrote : Re: [Bug 1436940] Re: Qualcomm Atheros QCA6164 802.11ac Wireless Network Adapter [168c:0041] is not supported | #148 |
I upgraded to Ubuntu 16.04 LTS (4.4.0-21-generic) and my wifi now works out
of the box.
I was using a usb-wifi since I bought my Lenovo Yoga 3 and I'm very happy
because the builtin wifi card is much better.
This bug is solved for me!
However, I can't tell if the firmware I copied last month are used or not.
2016-04-22 19:14 GMT-04:00 Miles Krell <email address hidden>:
> ** Description changed:
>
> - This card remains unsupported out-of-the-box by the ath10k_pci kernel
> - module. At this point, it looks like kvalo's ath10k-firmware repo just
> - needs to be pulled in.
> + The firmware for this card isn't included with Ubuntu. The firmware
> + provided in /lib/firmware/
> + used with this card. This included firmware is likely for the QCA6174
> + instead of this card, the QCA6164.
> +
> + Yes, you read that right: the files for the QCA6164 need to be a folder
> + called QCA6174 in order for the card to work. Running "modprobe
> + ath10k_pci" shows that the ath10k_pci module looks for firmware in a
> + folder called QCA6174, but not in any folder called QCA6164.
> +
> + It seems that before this issue can be resolved, the ath10k_pci module
> + must be changed so that it recognizes firmware for both the QCA6164 and
> + QCA6174, in separate folders.
>
>
> -------
>
> HOW TO GET THIS CARD TO WORK:
>
> - As of February 26, 2016, this has become rather simple.
> + 1) Use a kernel that supports this card
>
> - According to the Linux Wireless wiki, support was added in kernel 4.2
> - Your kernel is probably fine, but if it's older than 4.2, see
> + According to WikiDevi, support for this card was added in kernel 4.3.
> + If you're running Ubuntu 16.04 LTS or above, your kernel is fine; skip
> + to the next step. If you're running Ubuntu 15.10 or below, see
> https:/
> - newer one.
> + newer kernel. Alternatively, you can use backports. This is a lot more
> + work, but if you really need to keep using an older kernel for some
> + reason, there are some guides to installing backports in the comments
> + below.
>
> - 1) Get the latest firmware from https:/
> - firmware/
> + 2) Get rid of the firmware folder for this card that's included with
> + Ubuntu:
>
> - 2) Unzip this file, and copy the contents of ath10k-
> - /lib/firmware/
> + sudo rm -r /lib/firmware/
>
> - 3) Rename two of the firmware files like so:
> - cd /lib/firmware/
> + 3) Download the latest firmware:
> +
> + wget https:/
> +
> + 4) Unzip the downloaded file. Inside the ath10k-
> + is a folder named QCA6174. Copy the QCA6174 folder to
> + /lib/firmware/
> +
> + unzip master.zip
> + sudo cp -r ath10k-
> +
> + 5) Rename two of the firmware files like so:
> +
> + cd /lib/firmware/
> sudo mv firmware-
| Francesco Pasa (francescopasa) wrote : | #149 |
I just updated to xubuntu 16.04 and it did not work out of the box. However the folder QCA6164 in /lib/firmware/
sudo mv /lib/firmware/
sudo mv /lib/firmware/
However I am still unable to set up an ad-hoc network to share the ethernet connection with my phone.
| JJ (jleonpolanco) wrote : | #150 |
Brian Murray
Thanks a lot, I have been struggling with this and boot issues with my own Qualcomm Atheros Card for about a day. Everything works fine now. Using Ubunto 16.04, Windows 10 with and Acer R 14.
Thanks again.
| Nicolas (kounips) wrote : | #151 |
Thanks so much Brian Murray,
I had installed Ubuntu 16.04 from scratch on my Lenovo U31-70 but the wifi wouldn't work. Followed your instructions and now all is good :).
| description: | updated |
| description: | updated |
| description: | updated |
| Mattias Emmoth (mattias-emmoth) wrote : | #152 |
Well since I reported this bug I have found out that the linux-firmware from http://
I ran these two commands:
wget http://
sudo dpkg -i linux-firmware_
As I stated in the forum "http://
After that the wireless card has been working as it should.
| Seth Forshee (sforshee) wrote : | #153 |
Please try the linux-firmware deb below, which is the version from xenial plus all updates to the QCA6174 which are in version 1.158. If this fixes the issues then I can work on getting these changes into xenial and possibly other releases. Thanks!
http://
| Changed in linux-firmware (Ubuntu): | |
| status: | Confirmed → Incomplete |
| Miles Krell (mileskrell) wrote : | #154 |
Seth Forshee,
The firmware in the .deb file you provided works perfectly. Thanks.
| Changed in linux-firmware (Ubuntu): | |
| status: | Incomplete → Confirmed |
| Changed in linux-firmware (Ubuntu Xenial): | |
| status: | New → Confirmed |
| Changed in linux (Ubuntu Xenial): | |
| status: | New → Confirmed |
| Changed in linux-firmware (Ubuntu Xenial): | |
| assignee: | nobody → Seth Forshee (sforshee) |
| importance: | Undecided → Medium |
| status: | Confirmed → In Progress |
| Changed in linux-firmware (Ubuntu): | |
| status: | Confirmed → Fix Released |
| Changed in linux-firmware (Ubuntu Xenial): | |
| status: | In Progress → Fix Committed |
Hello Brian, or anyone else affected,
Accepted linux-firmware into xenial-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Miles Krell (mileskrell) wrote : | #156 |
linux-firmware version 1.157.2 fixes this bug.
| tags: | added: verification-done |
| Mike Chelen (mchelen) wrote : | #157 |
confirmed working with 1.157.2 amd64 on lenovo thinkpa yoga 3 11"
| Launchpad Janitor (janitor) wrote : | #158 |
This bug was fixed in the package linux-firmware - 1.157.2
---------------
linux-firmware (1.157.2) xenial; urgency=medium
* Updates to fix problems with QCA6164 wireless support
ath10k: QCA6174 hw3.0: add board-2.bin
ath10k: QCA6174 hw2.1: add board-2.bin
ath10k: QCA6174 hw2.1: update firmware-5.bin to SW_RM.1.
-LP: #1436940
-- Seth Forshee <email address hidden> Wed, 22 Jun 2016 08:03:37 -0500
| Changed in linux-firmware (Ubuntu Xenial): | |
| status: | Fix Committed → Fix Released |
| Martin Pitt (pitti) wrote : Update Released | #159 |
The verification of the Stable Release Update for linux-firmware has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
| Kees Cook (kees) wrote : | #160 |
Hm, not fixed for me. still seeing firmware crashes. :(
| Changed in linux-firmware (Ubuntu Xenial): | |
| status: | Fix Released → Confirmed |
| Changed in linux-firmware (Ubuntu): | |
| status: | Fix Released → Confirmed |
| Kees Cook (kees) wrote : | #161 |
Adding ath10k/
e6adc90ecaf55ed
| Seth Forshee (sforshee) wrote : | #162 |
@Kees: I assume it also works if file is just named board.bin? Since that's the way it would be installed if we ship it in linux-firmware ...
| Kees Cook (kees) wrote : | #163 |
Yup, but I wanted to avoid getting overwritten each time linux-firmware gets updated. ;)
| Seth Forshee (sforshee) wrote : | #164 |
I guessed as much, just making sure. I'll inquire as to why that board.bin hasn't been pushed out to linux-firmware yet, and as long as there isn't some reason why we shouldn't I'll pull it into xenial.
| Seth Forshee (sforshee) wrote : | #165 |
Hang on, there might be a problem. That file is from https:/
I'll go ahead and inquire with Kalle, hopefully we can get something that works from QCA directly.
| Seth Forshee (sforshee) wrote : | #166 |
@Kees: Could you provide dmesg after the firmware crash you see with the board files from linux-firmware? Thanks!
| Changed in linux-firmware (Ubuntu): | |
| status: | Confirmed → Fix Released |
| Changed in linux-firmware (Ubuntu Xenial): | |
| status: | Confirmed → Invalid |
| Changed in linux (Ubuntu): | |
| status: | Confirmed → Fix Released |
| Changed in linux (Ubuntu Vivid): | |
| status: | Confirmed → Invalid |
| Changed in linux (Ubuntu Wily): | |
| status: | Confirmed → Invalid |
| Changed in linux (Ubuntu Xenial): | |
| status: | Confirmed → Invalid |
| Timothy Ward (twardprof) wrote : | #167 |
Thank you! This was the solution for me after many unsuccessful attempts.
| bert (bvr-c) wrote : | #168 |
great instructions and explanations!
it works for my lenovo ideapad, ubuntu 16.1 and atheros card, thank you very much!
best
Bert


Some upstream discussion:
http:// permalink. gmane.org/ gmane.linux. drivers. ath10k. devel/2057