LM 17.3 and LM 18 + Atheros QCA6174 Wireless Adapter [SOLVED]

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
User avatar
Minterator
Level 5
Level 5
Posts: 596
Joined: Thu Jan 10, 2013 8:29 am

LM 17.3 and LM 18 + Atheros QCA6174 Wireless Adapter [SOLVED]

Post by Minterator » Fri Mar 11, 2016 8:29 am

EDIT: For solution scroll to page 2, read post dated Apr 13, 2016 7:58 am


I just installed kernel 4.4.4 and enabled backports.

Atheros wi-fi is not available, and coincidentally MATE Sensors Applet does not show fan speeds or voltages.

Problem device: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)

Any ideas?

Code: Select all

inxi -Fxz
System:    Host: H170 Kernel: 4.4.4-040404-generic x86_64 (64 bit gcc: 5.2.1)
           Desktop: MATE 1.12.0 (Gtk 3.10.8~8+qiana) Distro: Linux Mint 17.3 Rosa
Machine:   Mobo: ASUSTeK model: H170I-PLUS D3 v: Rev X.0x
           Bios: American Megatrends v: 0608 date: 01/19/2016
CPU:       Quad core Intel Core i5-6500 (-MCP-) cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 25536
           clock speeds: max: 3201 MHz 1: 1000 MHz 2: 1500 MHz 3: 2500 MHz 4: 1100 MHz
Graphics:  Card: Intel Sky Lake Integrated Graphics bus-ID: 00:02.0
           Display Server: X.Org 1.17.1 drivers: intel (unloaded: fbdev,vesa) Resolution: 1920x1080@59.9hz
           GLX Renderer: Mesa DRI Intel Skylake DT GT2 GLX Version: 3.0 Mesa 10.5.9 Direct Rendering: Yes
Audio:     Card Intel Sunrise Point-H HD Audio driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.4.4-040404-generic
Network:   Card-1: Intel Ethernet Connection (2) I219-V driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
           Card-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
           driver: ath10k_pci bus-ID: 01:00.0
           IF: N/A state: N/A mac: N/A
Drives:    HDD Total Size: 128.0GB (5.1% used) ID-1: /dev/sda model: Samsung_SSD_850 size: 128.0GB temp: 0C
Partition: ID-1: / size: 118G used: 6.2G (6%) fs: ext4 dev: /dev/sda1
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 302 Uptime: 17 min Memory: 643.7/7871.9MB Init: Upstart runlevel: 2 Gcc sys: 4.8.4
           Client: Shell (bash 4.3.111) inxi: 2.2.28 
Last edited by Minterator on Sat Nov 19, 2016 8:50 am, edited 3 times in total.
Mint 17.3 MATE, kernel 4.11.12

JeremyB
Level 20
Level 20
Posts: 10860
Joined: Fri Feb 21, 2014 8:17 am

Re: LM 17.3 and Atheros QCA6174 Wireless Adapter

Post by JeremyB » Fri Mar 11, 2016 8:41 am

Install the latest linux-firmware from Ubuntu

http://mirrors.kernel.org/ubuntu/pool/m ... 56_all.deb

Double click to install using Gdebi, then reboot

User avatar
Minterator
Level 5
Level 5
Posts: 596
Joined: Thu Jan 10, 2013 8:29 am

Re: LM 17.3 and Atheros QCA6174 Wireless Adapter

Post by Minterator » Fri Mar 11, 2016 7:07 pm

Thank you. Package installer says, "error: no longer provides linux-firmware"
Mint 17.3 MATE, kernel 4.11.12

JeremyB
Level 20
Level 20
Posts: 10860
Joined: Fri Feb 21, 2014 8:17 am

Re: LM 17.3 and Atheros QCA6174 Wireless Adapter

Post by JeremyB » Fri Mar 11, 2016 7:09 pm

Ok, post

Code: Select all

dmesg | grep ath10k
Have to do it the hard way

User avatar
Minterator
Level 5
Level 5
Posts: 596
Joined: Thu Jan 10, 2013 8:29 am

Re: LM 17.3 and Atheros QCA6174 Wireless Adapter

Post by Minterator » Sat Mar 12, 2016 12:15 pm

Code: Select all

dmesg | grep ath10k
[    2.611086] ath10k_pci 0000:01:00.0: pci irq msi interrupts 1 irq_mode 0 reset_mode 0
[    2.851266] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/cal-pci-0000:01:00.0.bin failed with error -2
[    2.851273] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[    2.851274] ath10k_pci 0000:01:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[    2.851279] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-4.bin failed with error -2
[    2.851280] ath10k_pci 0000:01:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-4.bin': -2
[    2.851283] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-3.bin failed with error -2
[    2.851284] ath10k_pci 0000:01:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-3.bin': -2
[    2.851287] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-2.bin failed with error -2
[    2.851288] ath10k_pci 0000:01:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-2.bin': -2
[    2.851292] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware.bin failed with error -2
[    2.851293] ath10k_pci 0000:01:00.0: could not fetch firmware (-2)
[    2.851294] ath10k_pci 0000:01:00.0: could not fetch firmware files (-2)
[    2.851311] ath10k_pci 0000:01:00.0: could not probe fw (-2)
Mint 17.3 MATE, kernel 4.11.12

JeremyB
Level 20
Level 20
Posts: 10860
Joined: Fri Feb 21, 2014 8:17 am

Re: LM 17.3 and Atheros QCA6174 Wireless Adapter

Post by JeremyB » Sat Mar 12, 2016 1:55 pm

This should get it going

Code: Select all

sudo apt-get install git
git clone https://github.com/kvalo/ath10k-firmware.git
sudo cp -r ath10k-firmware/QCA9377 /lib/firmware/ath10k/
sudo cp /lib/firmware/ath10k/QCA9377/hw1.0/firmware-5.bin_WLAN.TF.1.0-00267-1 /lib/firmware/ath10k/QCA9377/hw1.0/firmware-5.bin
Reboot

User avatar
Minterator
Level 5
Level 5
Posts: 596
Joined: Thu Jan 10, 2013 8:29 am

Re: LM 17.3 and Atheros QCA6174 Wireless Adapter

Post by Minterator » Sat Mar 12, 2016 2:58 pm

Thanks, still no workie. Same error as per my post above --> dmesg | grep ath10k
Mint 17.3 MATE, kernel 4.11.12

JeremyB
Level 20
Level 20
Posts: 10860
Joined: Fri Feb 21, 2014 8:17 am

Re: LM 17.3 and Atheros QCA6174 Wireless Adapter

Post by JeremyB » Sat Mar 12, 2016 3:04 pm

Pasted the wrong one

Code: Select all

sudo cp /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1 /lib/firmware/ath10k/QCA9377/hw3.0/firmware-4.bin
Reboot, hopefully dmesg changes

User avatar
Minterator
Level 5
Level 5
Posts: 596
Joined: Thu Jan 10, 2013 8:29 am

Re: LM 17.3 and Atheros QCA6174 Wireless Adapter

Post by Minterator » Sat Mar 12, 2016 3:50 pm

Code: Select all

 sudo cp /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1 /lib/firmware/ath10k/QCA9377/hw3.0/firmware-4.bin
cp: cannot stat ‘/lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1’: No such file or directory
Mint 17.3 MATE, kernel 4.11.12

JeremyB
Level 20
Level 20
Posts: 10860
Joined: Fri Feb 21, 2014 8:17 am

Re: LM 17.3 and Atheros QCA6174 Wireless Adapter

Post by JeremyB » Sat Mar 12, 2016 4:15 pm

Sooner or later

Code: Select all

sudo cp -r ath10k-firmware/QCA6174 /lib/firmware/ath10k/
sudo cp /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1 /lib/firmware/ath10k/QCA9377/hw3.0/firmware-4.bin
Reboot

User avatar
Minterator
Level 5
Level 5
Posts: 596
Joined: Thu Jan 10, 2013 8:29 am

Re: LM 17.3 and Atheros QCA6174 Wireless Adapter

Post by Minterator » Sat Mar 12, 2016 4:59 pm

Code: Select all

sudo cp /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1 /lib/firmware/ath10k/QCA9377/hw3.0/firmware-4.bin
cp: cannot create regular file ‘/lib/firmware/ath10k/QCA9377/hw3.0/firmware-4.bin’: No such file or directory
Also I just removed kernel 4.4.4 since it didn't work for the wifi. :idea: I'm back to 4.2.0-30-generic from the Update manager.
Mint 17.3 MATE, kernel 4.11.12

JeremyB
Level 20
Level 20
Posts: 10860
Joined: Fri Feb 21, 2014 8:17 am

Re: LM 17.3 and Atheros QCA6174 Wireless Adapter

Post by JeremyB » Sat Mar 12, 2016 5:47 pm

Code: Select all

sudo cp /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1 /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin; ls -l /lib/firmware/ath10k/QCA6174/hw3.0
Been one of those days

User avatar
Minterator
Level 5
Level 5
Posts: 596
Joined: Thu Jan 10, 2013 8:29 am

Re: LM 17.3 and Atheros QCA6174 Wireless Adapter

Post by Minterator » Sat Mar 12, 2016 6:22 pm

Code: Select all

sudo cp /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1 /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin; ls -l /lib/firmware/ath10k/QCA6174/hw3.0
total 1796
-rw-r--r-- 1 root root 271412 Mar 12 15:55 board-2.bin
-rw-r--r-- 1 root root   8124 Mar 12 15:55 board.bin
-rw-r--r-- 1 root root 733784 Mar 12 17:20 firmware-4.bin
-rw-r--r-- 1 root root 733784 Mar 12 15:55 firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1
-rw-r--r-- 1 root root  79801 Mar 12 15:55 notice.txt_WLAN.RM.2.0-00180-QCARMSWPZ-1
Mint 17.3 MATE, kernel 4.11.12

JeremyB
Level 20
Level 20
Posts: 10860
Joined: Fri Feb 21, 2014 8:17 am

Re: LM 17.3 and Atheros QCA6174 Wireless Adapter

Post by JeremyB » Sat Mar 12, 2016 6:26 pm

Should be good, reboot

User avatar
Minterator
Level 5
Level 5
Posts: 596
Joined: Thu Jan 10, 2013 8:29 am

Re: LM 17.3 and Atheros QCA6174 Wireless Adapter

Post by Minterator » Sat Mar 12, 2016 6:46 pm

OK, I now have "Enable Wi-Fi" in the Notification area, but no prompt for password. Do I have to Add a new wifi connection? If so I've now idea what to put in the dialog.
Mint 17.3 MATE, kernel 4.11.12

JeremyB
Level 20
Level 20
Posts: 10860
Joined: Fri Feb 21, 2014 8:17 am

Re: LM 17.3 and Atheros QCA6174 Wireless Adapter

Post by JeremyB » Sat Mar 12, 2016 8:42 pm

If wifi is enabled, you should be given a list of available wifi access points

User avatar
Minterator
Level 5
Level 5
Posts: 596
Joined: Thu Jan 10, 2013 8:29 am

Re: LM 17.3 and Atheros QCA6174 Wireless Adapter

Post by Minterator » Sun Mar 13, 2016 7:51 am

Right, but that's not happening... yet :)

Code: Select all

dmesg | grep ath10k
[    1.695671] ath10k_pci 0000:01:00.0: pci irq msi interrupts 1 irq_mode 0 reset_mode 0
[    1.894347] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/cal-pci-0000:01:00.0.bin failed with error -2
[    1.894725] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/board-pci-168c:003e:1043:86e0.bin failed with error -2
[    1.894727] ath10k_pci 0000:01:00.0: failed to load spec board file, falling back to generic: -2
[    1.894903] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[    1.894905] ath10k_pci 0000:01:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[    4.026944] ath10k_pci 0000:01:00.0: qca6174 hw3.2 (0x05030000, 0x00340aff, 168c:003e:1043:86e0 fallback) fw WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 htt 3.26 wmi 4 cal otp max_sta 32
[    4.026947] ath10k_pci 0000:01:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[   11.661595] ath10k_pci 0000:01:00.0: failed to enable ani by default: -11
[   14.663421] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[   22.988522] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[   25.990435] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[   34.287455] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[   37.289269] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[   45.586393] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[   48.588227] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[   56.885270] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[   59.887153] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[   68.184270] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[   71.186041] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[   79.487174] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[   82.489036] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[   90.790062] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[   93.791907] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[  102.089017] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[  105.090836] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[  113.391948] ath10k_pci 0000:01:00.0: failed to set arp ac override parameter: -11
[  116.393813] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[  407.953717] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11
[  410.955581] ath10k_pci 0000:01:00.0: could not suspend target (-11)
Mint 17.3 MATE, kernel 4.11.12

JeremyB
Level 20
Level 20
Posts: 10860
Joined: Fri Feb 21, 2014 8:17 am

Re: LM 17.3 and Atheros QCA6174 Wireless Adapter

Post by JeremyB » Sun Mar 13, 2016 7:57 am

Might just need to set a parameter

Code: Select all

echo "options ath10k_core skip_otp=Y" | sudo tee /etc/modprobe.d/ath10k_core.conf
Reboot

User avatar
Minterator
Level 5
Level 5
Posts: 596
Joined: Thu Jan 10, 2013 8:29 am

Re: LM 17.3 and Atheros QCA6174 Wireless Adapter

Post by Minterator » Sun Mar 13, 2016 9:41 am

Thanks, still not working. :( May have to plug in a network adapter until LM 18.
Mint 17.3 MATE, kernel 4.11.12

JeremyB
Level 20
Level 20
Posts: 10860
Joined: Fri Feb 21, 2014 8:17 am

Re: LM 17.3 and Atheros QCA6174 Wireless Adapter

Post by JeremyB » Sun Mar 13, 2016 9:52 am

I am not sure the board-2.bin file is needed

Code: Select all

sudo mv /lib/firmware/ath10k/QCA6174/hw3.0/board-2.bin /lib/firmware/ath10k/QCA6174/hw3.0/board-2.bin.bak
Reboot

I had never seen the errors before in dmesg and now twice in a couple days and board-2.bin was only added to kvalo's github 16 days ago

Code: Select all

[   11.661595] ath10k_pci 0000:01:00.0: failed to enable ani by default: -11
[   14.663421] ath10k_pci 0000:01:00.0: could not suspend target (-11)
[   22.988522] ath10k_pci 0000:01:00.0: failed to enable dynamic BW: -11

Post Reply

Return to “Wireless”