QCA6174 firmware
Hello everyone,
I recently bought a laptop (Samsung) that has a Qualcomm Atheros QCA6174 card. I have tried using the firmware from both kvalo's repo and the official linux-firmware repo and neither of them have worked. I am running a fresh Ubuntu 15.10 installation (Linux 4.2.0). I have also tried installing Ubuntu Gnome 15.10 with the mainline kernel build (Linux 4.4.0) and that didn't work either. The laptop I'm using does have a button on the keyboard to enable/disable the wifi and I'm not sure if it's causing an issue or not. I have checked rfkill list and there is neither a hard nor soft block on the wlan. I'm not really sure where to go from here, any help would be much appreciated!
Thanks for your time,
- John
Directory structure when I tried firmware from linux-firmware:
root@Ubuntu-15:/lib/firmware/ath10k/QCA6174/hw3.0# pwd /lib/firmware/ath10k/QCA6174/hw3.0 root@Ubuntu-15:/lib/firmware/ath10k/QCA6174/hw3.0# ls -al total 744 drwxr-xr-x 4 root root 4096 Jan 13 07:41 . drwxr-xr-x 4 root root 4096 Jan 13 07:39 .. -rw-r--r-- 1 root root 8124 Jan 13 07:38 board.bin lrwxrwxrwx 1 root root 11 Jan 13 07:41 board-pci-168c:003e:144d:412f.bin -> ./board.bin -rw-r--r-- 1 root root 733784 Jan 13 07:39 firmware-4.bin lrwxrwxrwx 1 root root 16 Jan 13 07:40 firmware-5.bin -> ./firmware-4.bin
Directory structure when I tried kvalo's firmware:
root@Ubuntu-15:/lib/firmware/ath10k/QCA6174/hw3.0# pwd /lib/firmware/ath10k/QCA6174/hw3.0 root@Ubuntu-15:/lib/firmware/ath10k/QCA6174/hw3.0/new# ls -al total 844 drwxr-xr-x 2 root root 4096 Jan 13 07:31 . drwxr-xr-x 4 root root 4096 Jan 13 07:41 .. -rw-r--r-- 1 root root 24692 Jan 13 07:17 board-2.bin -rw-r--r-- 1 root root 8124 Jan 13 07:17 board.bin lrwxrwxrwx 1 root root 11 Jan 13 07:17 board-pci-168c:003e:144d:412f.bin -> ./board.bin -rw-r--r-- 1 root root 733784 Jan 13 07:17 firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1 lrwxrwxrwx 1 root root 44 Jan 13 07:18 firmware-5.bin -> firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1 -rw-r--r-- 1 root root 79801 Jan 13 07:17 notice.txt_WLAN.RM.2.0-00180-QCARMSWPZ-1
Here is the relevant part of my dmesg log:
jdetter@Ubuntu-15:~$ dmesg | grep ath10 [ 6.789911] ath10k_pci 0000:3b:00.0: enabling device (0000 -> 0002) [ 6.791752] ath10k_pci 0000:3b:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0 [ 7.009504] ath10k_pci 0000:3b:00.0: Direct firmware load for ath10k/cal-pci-0000:3b:00.0.bin failed with error -2 [ 9.145690] ath10k_pci 0000:3b:00.0: qca6174 hw3.2 (0x05030000, 0x00340aff, 168c:003e:144d:412f) fw WLAN.RM.2.0-00180-QCARMSWPZ-1 api 5 htt 3.26 wmi 4 cal otp max_sta 32 [ 9.145694] ath10k_pci 0000:3b:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0 [ 10.144947] ath10k_pci 0000:3b:00.0: suspend timed out - target pause event never came [ 13.219455] ath10k_pci 0000:3b:00.0 wlp59s0: renamed from wlan0 [ 18.479782] ath10k_pci 0000:3b:00.0: failed to enable dynamic BW: -11 [ 21.479376] ath10k_pci 0000:3b:00.0: could not suspend target (-11) [ 29.770121] ath10k_pci 0000:3b:00.0: failed to enable dynamic BW: -11 [ 32.769665] ath10k_pci 0000:3b:00.0: could not suspend target (-11)
Here is my lspci and lshw output:
jdetter@Ubuntu-15:~$ lspci | grep QCA 3b:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
root@Ubuntu-15:~# lshw
...
*-pci:2
description: PCI bridge
product: Sunrise Point-H PCI Express Root Port #9
vendor: Intel Corporation
physical id: 1d
bus info: pci@0000:00:1d.0
version: f1
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode
bus_master cap_list
configuration: driver=pcieport
resources: irq:16 memory:ed200000-ed3fffff
*-network DISABLED
description: Wireless interface
product: QCA6174 802.11ac Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:3b:00.0
logical name: wlp59s0
version: 32
serial: b8:86:87:c7:2d:a9
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
ethernet physical wireless
configuration: broadcast=yes driver=ath10k_pci
driverversion=4.2.0-23-generic firmware=WLAN.RM.2.0-00180-QCARMSWPZ-1 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
resources: irq:319 memory:ed200000-ed3fffff
..._______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
Quoted 64 lines · John Detter
Hello everyone,
I recently bought a laptop (Samsung) that has a Qualcomm Atheros QCA6174 card. I have tried using the firmware from both kvalo's repo and the official linux-firmware repo and neither of them have worked. I am running a fresh Ubuntu 15.10 installation (Linux 4.2.0). I have also tried installing Ubuntu Gnome 15.10 with the mainline kernel build (Linux 4.4.0) and that didn't work either. The laptop I'm using does have a button on the keyboard to enable/disable the wifi and I'm not sure if it's causing an issue or not. I have checked rfkill list and there is neither a hard nor soft block on the wlan. I'm not really sure where to go from here, any help would be much appreciated!
Thanks for your time,
- John
Directory structure when I tried firmware from linux-firmware:
root@Ubuntu-15:/lib/firmware/ath10k/QCA6174/hw3.0# pwd /lib/firmware/ath10k/QCA6174/hw3.0 root@Ubuntu-15:/lib/firmware/ath10k/QCA6174/hw3.0# ls -al total 744 drwxr-xr-x 4 root root 4096 Jan 13 07:41 . drwxr-xr-x 4 root root 4096 Jan 13 07:39 .. -rw-r--r-- 1 root root 8124 Jan 13 07:38 board.bin lrwxrwxrwx 1 root root 11 Jan 13 07:41 board-pci-168c:003e:144d:412f.bin -> ./board.bin -rw-r--r-- 1 root root 733784 Jan 13 07:39 firmware-4.bin lrwxrwxrwx 1 root root 16 Jan 13 07:40 firmware-5.bin -> ./firmware-4.binDirectory structure when I tried kvalo's firmware:
root@Ubuntu-15:/lib/firmware/ath10k/QCA6174/hw3.0# pwd /lib/firmware/ath10k/QCA6174/hw3.0 root@Ubuntu-15:/lib/firmware/ath10k/QCA6174/hw3.0/new# ls -al total 844 drwxr-xr-x 2 root root 4096 Jan 13 07:31 . drwxr-xr-x 4 root root 4096 Jan 13 07:41 ..(quoted diff) +0
-2-rw-r--r-- 1 root root 24692 Jan 13 07:17 board-2.bin -rw-r--r-- 1 root root 8124 Jan 13 07:17 board.binlrwxrwxrwx 1 root root 11 Jan 13 07:17 board-pci-168c:003e:144d:412f.bin
-> ./board.bin
-rw-r--r-- 1 root root 733784 Jan 13 07:17
firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1
lrwxrwxrwx 1 root root 44 Jan 13 07:18 firmware-5.bin ->
firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1
-rw-r--r-- 1 root root 79801 Jan 13 07:17
notice.txt_WLAN.RM.2.0-00180-QCARMSWPZ-1Here is the relevant part of my dmesg log:
jdetter@Ubuntu-15:~$ dmesg | grep ath10 [ 6.789911] ath10k_pci 0000:3b:00.0: enabling device (0000 -> 0002) [ 6.791752] ath10k_pci 0000:3b:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0 [ 7.009504] ath10k_pci 0000:3b:00.0: Direct firmware load for ath10k/cal-pci-0000:3b:00.0.bin failed with error -2 [ 9.145690] ath10k_pci 0000:3b:00.0: qca6174 hw3.2 (0x05030000, 0x00340aff, 168c:003e:144d:412f) fw WLAN.RM.2.0-00180-QCARMSWPZ-1 api 5 htt 3.26 wmi 4 cal otp max_sta 32 [ 9.145694] ath10k_pci 0000:3b:00.0: debug 0 debugfs 1 tracing 1 dfs 0
Quoted 8 lines
testmode 0 [ 10.144947] ath10k_pci 0000:3b:00.0: suspend timed out - target pause event never came [ 13.219455] ath10k_pci 0000:3b:00.0 wlp59s0: renamed from wlan0 [ 18.479782] ath10k_pci 0000:3b:00.0: failed to enable dynamic BW: -11 [ 21.479376] ath10k_pci 0000:3b:00.0: could not suspend target (-11) [ 29.770121] ath10k_pci 0000:3b:00.0: failed to enable dynamic BW: -11 [ 32.769665] ath10k_pci 0000:3b:00.0: could not suspend target (-11)
Firmware command timeouts (-11) suggest that wrong board file was used to boot the device.
The currently available board-2.bin doesn't seem to include your device (168c:003e:144d:412f). You can list them with:
; strings board-2.bin | grep vendor bus=pci,vendor=168c,device=003e,subsystem-vendor=168c,subsystem-device=3361m bus=pci,vendor=168c,device=003e,subsystem-vendor=168c,subsystem-device=3362m bus=pci,vendor=168c,device=003e,subsystem-vendor=168c,subsystem-device=3363m
Was this run on 4.4 or 4.2?
The board-2.bin support was added in 4.4. Prior to this the driver would try to load the board-pci-xxx. files. You can:
a) scream louder and complain to your card vendor and/or qualcomm
b) use pre-4.4 kernel, get windows driver, extract .inf and eeprom
files from it, look for the one that matches your device (168c:003e:144d:412f) and use it as board-pci-168c:003e:144d:412f.bin
Michal
_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
Michal,
Thanks for the speedy response! The dmesg, lspci and lshw outputs were generated when running 4.2.0, I didn't know you needed 4.4 in order for it to use board-2.bin. Even if I upgraded back to 4.4 the firmware still wouldn't work right?
Thanks for the help,
- John
Quoted 94 lines · Michal Kazior
Quoted 64 lines · John Detter
Hello everyone,
I recently bought a laptop (Samsung) that has a Qualcomm Atheros QCA6174 card. I have tried using the firmware from both kvalo's repo and the official linux-firmware repo and neither of them have worked. I am running a fresh Ubuntu 15.10 installation (Linux 4.2.0). I have also tried installing Ubuntu Gnome 15.10 with the mainline kernel build (Linux 4.4.0) and that didn't work either. The laptop I'm using does have a button on the keyboard to enable/disable the wifi and I'm not sure if it's causing an issue or not. I have checked rfkill list and there is neither a hard nor soft block on the wlan. I'm not really sure where to go from here, any help would be much appreciated!
Thanks for your time,
- John
Directory structure when I tried firmware from linux-firmware:
root@Ubuntu-15:/lib/firmware/ath10k/QCA6174/hw3.0# pwd /lib/firmware/ath10k/QCA6174/hw3.0 root@Ubuntu-15:/lib/firmware/ath10k/QCA6174/hw3.0# ls -al total 744 drwxr-xr-x 4 root root 4096 Jan 13 07:41 . drwxr-xr-x 4 root root 4096 Jan 13 07:39 .. -rw-r--r-- 1 root root 8124 Jan 13 07:38 board.bin lrwxrwxrwx 1 root root 11 Jan 13 07:41 board-pci-168c:003e:144d:412f.bin -> ./board.bin -rw-r--r-- 1 root root 733784 Jan 13 07:39 firmware-4.bin lrwxrwxrwx 1 root root 16 Jan 13 07:40 firmware-5.bin -> ./firmware-4.binDirectory structure when I tried kvalo's firmware:
root@Ubuntu-15:/lib/firmware/ath10k/QCA6174/hw3.0# pwd /lib/firmware/ath10k/QCA6174/hw3.0 root@Ubuntu-15:/lib/firmware/ath10k/QCA6174/hw3.0/new# ls -al total 844 drwxr-xr-x 2 root root 4096 Jan 13 07:31 . drwxr-xr-x 4 root root 4096 Jan 13 07:41 ..(quoted diff) +0
-2-rw-r--r-- 1 root root 24692 Jan 13 07:17 board-2.bin -rw-r--r-- 1 root root 8124 Jan 13 07:17 board.binlrwxrwxrwx 1 root root 11 Jan 13 07:17 board-pci-168c:003e:144d:412f.bin
-> ./board.bin
-rw-r--r-- 1 root root 733784 Jan 13 07:17
firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1
lrwxrwxrwx 1 root root 44 Jan 13 07:18 firmware-5.bin ->
firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1
-rw-r--r-- 1 root root 79801 Jan 13 07:17
notice.txt_WLAN.RM.2.0-00180-QCARMSWPZ-1Here is the relevant part of my dmesg log:
jdetter@Ubuntu-15:~$ dmesg | grep ath10 [ 6.789911] ath10k_pci 0000:3b:00.0: enabling device (0000 -> 0002) [ 6.791752] ath10k_pci 0000:3b:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0 [ 7.009504] ath10k_pci 0000:3b:00.0: Direct firmware load for ath10k/cal-pci-0000:3b:00.0.bin failed with error -2 [ 9.145690] ath10k_pci 0000:3b:00.0: qca6174 hw3.2 (0x05030000, 0x00340aff, 168c:003e:144d:412f) fw WLAN.RM.2.0-00180-QCARMSWPZ-1 api 5 htt 3.26 wmi 4 cal otp max_sta 32 [ 9.145694] ath10k_pci 0000:3b:00.0: debug 0 debugfs 1 tracing 1 dfs 0Quoted 8 lines
testmode 0 [ 10.144947] ath10k_pci 0000:3b:00.0: suspend timed out - target pause event never came [ 13.219455] ath10k_pci 0000:3b:00.0 wlp59s0: renamed from wlan0 [ 18.479782] ath10k_pci 0000:3b:00.0: failed to enable dynamic BW: -11 [ 21.479376] ath10k_pci 0000:3b:00.0: could not suspend target (-11) [ 29.770121] ath10k_pci 0000:3b:00.0: failed to enable dynamic BW: -11 [ 32.769665] ath10k_pci 0000:3b:00.0: could not suspend target (-11)Firmware command timeouts (-11) suggest that wrong board file was used to boot the device.
The currently available board-2.bin doesn't seem to include your device (168c:003e:144d:412f). You can list them with:
; strings board-2.bin | grep vendor bus=pci,vendor=168c,device=003e,subsystem-vendor=168c,subsystem-device=3361m bus=pci,vendor=168c,device=003e,subsystem-vendor=168c,subsystem-device=3362m bus=pci,vendor=168c,device=003e,subsystem-vendor=168c,subsystem-device=3363m
Was this run on 4.4 or 4.2?
The board-2.bin support was added in 4.4. Prior to this the driver would try to load the board-pci-xxx. files. You can:
a) scream louder and complain to your card vendor and/or qualcomm
b) use pre-4.4 kernel, get windows driver, extract .inf and eeprom
files from it, look for the one that matches your device (168c:003e:144d:412f) and use it as board-pci-168c:003e:144d:412f.bin
Quoted 1 line
Michal
_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
Quoted 6 lines · John Detter
Michal,
Thanks for the speedy response! The dmesg, lspci and lshw outputs were generated when running 4.2.0, I didn't know you needed 4.4 in order for it to use board-2.bin. Even if I upgraded back to 4.4 the firmware still wouldn't work right?
Correct. The main problem at hand is incorrect board data which is used to (simply saying) configure/initialize the device.
You may still want 4.4 though. It may contain fixes for other problems that you still haven't reached to.
Michał
_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
I have a very similar issue here, with a new Lenovo IdeaPad I bought 3 weeks ago...
It is really annoying to use a usb wireless that cannot hold internet conection for 5 minutes and then having to plug and unplug it again. After 15 years using GNU/Linux and now thinking in going back to Windows because of this unsolved issue I have also tried to solve this issue with backports, Kvalo, Compiling a new kernel, copying firmware to /lib/firmware/ath10k folders and so on and nothing has worked.
When I compiled the driver, it claimed QCA9377, and I copied this folder to /lib/firmware/ath10k. The firmware worked, but the board.bin did not work and until now I did not solve the issue :(
lspci
02:00.0 Network controller: Qualcomm Atheros Device 0042 (rev 30)
lshw
*-network UNCLAIMED
description: Network controller
product: Qualcomm Atheros
vendor: Qualcomm Atheros physical id: 0
bus info: pci@0000:02:00.0
version: 30
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: latency=0
resources: memory:a1000000-a11fffff
Quoted 92 lines · John Detter
Hello everyone,
I recently bought a laptop (Samsung) that has a Qualcomm Atheros QCA6174 card. I have tried using the firmware from both kvalo's repo and the official linux-firmware repo and neither of them have worked. I am running a fresh Ubuntu 15.10 installation (Linux 4.2.0). I have also tried installing Ubuntu Gnome 15.10 with the mainline kernel build (Linux 4.4.0) and that didn't work either. The laptop I'm using does have a button on the keyboard to enable/disable the wifi and I'm not sure if it's causing an issue or not. I have checked rfkill list and there is neither a hard nor soft block on the wlan. I'm not really sure where to go from here, any help would be much appreciated!
Thanks for your time,
- John
Directory structure when I tried firmware from linux-firmware:
root@Ubuntu-15:/lib/firmware/ath10k/QCA6174/hw3.0# pwd /lib/firmware/ath10k/QCA6174/hw3.0 root@Ubuntu-15:/lib/firmware/ath10k/QCA6174/hw3.0# ls -al total 744 drwxr-xr-x 4 root root 4096 Jan 13 07:41 . drwxr-xr-x 4 root root 4096 Jan 13 07:39 .. -rw-r--r-- 1 root root 8124 Jan 13 07:38 board.bin lrwxrwxrwx 1 root root 11 Jan 13 07:41 board-pci-168c:003e:144d:412f.bin -> ./board.bin -rw-r--r-- 1 root root 733784 Jan 13 07:39 firmware-4.bin lrwxrwxrwx 1 root root 16 Jan 13 07:40 firmware-5.bin -> ./firmware-4.binDirectory structure when I tried kvalo's firmware:
root@Ubuntu-15:/lib/firmware/ath10k/QCA6174/hw3.0# pwd /lib/firmware/ath10k/QCA6174/hw3.0 root@Ubuntu-15:/lib/firmware/ath10k/QCA6174/hw3.0/new# ls -al total 844 drwxr-xr-x 2 root root 4096 Jan 13 07:31 . drwxr-xr-x 4 root root 4096 Jan 13 07:41 ..(quoted diff) +0
-2-rw-r--r-- 1 root root 24692 Jan 13 07:17 board-2.bin -rw-r--r-- 1 root root 8124 Jan 13 07:17 board.binlrwxrwxrwx 1 root root 11 Jan 13 07:17 board-pci-168c:003e:144d:412f.bin -> ./board.bin
-rw-r--r-- 1 root root 733784 Jan 13 07:17
firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1
lrwxrwxrwx 1 root root 44 Jan 13 07:18 firmware-5.bin -> firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1
-rw-r--r-- 1 root root 79801 Jan 13 07:17
notice.txt_WLAN.RM.2.0-00180-QCARMSWPZ-1Here is the relevant part of my dmesg log:
jdetter@Ubuntu-15:~$ dmesg | grep ath10 [ 6.789911] ath10k_pci 0000:3b:00.0: enabling device (0000 -> 0002) [ 6.791752] ath10k_pci 0000:3b:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0 [ 7.009504] ath10k_pci 0000:3b:00.0: Direct firmware load for ath10k/cal-pci-0000:3b:00.0.bin failed with error -2 [ 9.145690] ath10k_pci 0000:3b:00.0: qca6174 hw3.2 (0x05030000, 0x00340aff, 168c:003e:144d:412f) fw WLAN.RM.2.0-00180-QCARMSWPZ-1 api 5 htt 3.26 wmi 4 cal otp max_sta 32 [ 9.145694] ath10k_pci 0000:3b:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0 [ 10.144947] ath10k_pci 0000:3b:00.0: suspend timed out - target pause event never came [ 13.219455] ath10k_pci 0000:3b:00.0 wlp59s0: renamed from wlan0 [ 18.479782] ath10k_pci 0000:3b:00.0: failed to enable dynamic BW: -11 [ 21.479376] ath10k_pci 0000:3b:00.0: could not suspend target (-11) [ 29.770121] ath10k_pci 0000:3b:00.0: failed to enable dynamic BW: -11 [ 32.769665] ath10k_pci 0000:3b:00.0: could not suspend target (-11)Here is my lspci and lshw output:
jdetter@Ubuntu-15:~$ lspci | grep QCA 3b:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)root@Ubuntu-15:~# lshw ... *-pci:2 description: PCI bridge product: Sunrise Point-H PCI Express Root Port #9 vendor: Intel Corporation physical id: 1d bus info: pci@0000:00:1d.0 version: f1 width: 32 bits clock: 33MHz capabilities: pci pciexpress msi pm normal_decode bus_master cap_list configuration: driver=pcieport resources: irq:16 memory:ed200000-ed3fffff *-network DISABLED description: Wireless interface product: QCA6174 802.11ac Wireless Network Adapter vendor: Qualcomm Atheros physical id: 0 bus info: pci@0000:3b:00.0 logical name: wlp59s0 version: 32 serial: b8:86:87:c7:2d:a9 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless configuration: broadcast=yes driver=ath10k_pci driverversion=4.2.0-23-generic firmware=WLAN.RM.2.0-00180-QCARMSWPZ-1 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn resources: irq:319 memory:ed200000-ed3fffff ...
Quoted 4 lines
_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k