Wifi adapter doesn't show up (but bluetooth does). New solution needed. [Qualcomm Atheros QCA6164] (solved)

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
User avatar
jameskga
Level 3
Level 3
Posts: 192
Joined: Sat Jun 04, 2016 8:23 pm

Wifi adapter doesn't show up (but bluetooth does). New solution needed. [Qualcomm Atheros QCA6164] (solved)

Post by jameskga » Sat Jun 04, 2016 9:11 pm

Network controller: Qualcomm Atheros QCA6164
Machine: Lenovo G50-45

Hello!

I can't get Mint 17.3 "Rosa" to recognize my wireless adapter. When I open Driver Manager (connected via ethernet), I don't see the wireless adapter (as others see in their solutions I've googled), but the service works because it sees my AMD hardware.

There was a person with my exact problem, but the solution that worked for him (viewtopic.php?f=53&t=220970&p=1160760&h ... 4#p1160760) does not work for me. The commands returned no errors, except that I needed git, which I promptly installed, and everything went swimmingly, except after I rebooted, Mint still doesn't recognize my wifi adapter. Moreover, I found a similar set of code in another solution that also does not work.

The code I'm referring to is:

Code: Select all

sudo rm -r /lib/firmware/ath10k
rm -rf ath10k-firmware
git clone https://github.com/atondwal/ath10k-firmware.git
sudo cp -r ath10k-firmware/ath10k/ /lib/firmware/
sudo cp -r /lib/firmware/ath10k/QCA6164/hw2.1 /lib/firmware/ath10k/QCA6174/
To (hopefully) make things easier, I have pasted the output from lspci -nn:

Code: Select all

james@h4x ~ $ lspci -nn
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1566]
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R4/R5 Graphics] [1002:9851] (rev 05)
00:01.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio [1002:9840]
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:156b]
00:02.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1 [1022:1439]
00:02.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1 [1022:1439]
00:08.0 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Device [1022:1537]
00:10.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller [1022:7814] (rev 11)
00:11.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7801]
00:12.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller [1022:7808] (rev 39)
00:13.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller [1022:7808] (rev 39)
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:780b] (rev 42)
00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller [1022:780d] (rev 02)
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:780e] (rev 11)
00:14.7 SD Host controller [0805]: Advanced Micro Devices, Inc. [AMD] FCH SD Flash Controller [1022:7813] (rev 01)
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1580]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1581]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1582]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1583]
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1584]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:1585]
01:00.0 Network controller [0280]: Qualcomm Atheros QCA6164 802.11ac Wireless Network Adapter [168c:0041] (rev 20)
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
james@h4x ~ $ 
Last edited by jameskga on Sun Jun 05, 2016 4:47 pm, edited 1 time in total.
LMDE 2 Cinnamon (64-bit)
I am out there

JeremyB
Level 19
Level 19
Posts: 9293
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi adapter doesn't show up (but bluetooth does). New solution needed. [Qualcomm Atheros QCA6164]

Post by JeremyB » Sun Jun 05, 2016 6:41 am

This should work if that didn't

Code: Select all

wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.158_all.deb
sudo dpkg -i linux-firmware_1.158_all.deb
Reboot

User avatar
jameskga
Level 3
Level 3
Posts: 192
Joined: Sat Jun 04, 2016 8:23 pm

Re: Wifi adapter doesn't show up (but bluetooth does). New solution needed. [Qualcomm Atheros QCA6164]

Post by jameskga » Sun Jun 05, 2016 2:55 pm

Hey Jeremy, thanks for the reply, and thanks for all you do here. I see you are a major contributor to the community.

I put those commands into terminal, and nothing went wrong, but even after rebooting the wifi adapter still isn't recognized.

More background: I am new to linux, and I've been learning the proper way through online modules and so on, and maybe I am just missing some really simple n00b step? Is this wifi adapter incompatible with linux? I tried other Mint distributions, and none of them recognize my adapter out of the box.
LMDE 2 Cinnamon (64-bit)
I am out there

JeremyB
Level 19
Level 19
Posts: 9293
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi adapter doesn't show up (but bluetooth does). New solution needed. [Qualcomm Atheros QCA6164]

Post by JeremyB » Sun Jun 05, 2016 3:00 pm

jameskga wrote:Hey Jeremy, thanks for the reply, and thanks for all you do here. I see you are a major contributor to the community.

I put those commands into terminal, and nothing went wrong, but even after rebooting the wifi adapter still isn't recognized.

More background: I am new to linux, and I've been learning the proper way through online modules and so on, and maybe I am just missing some really simple n00b step? Is this wifi adapter incompatible with linux? I tried other Mint distributions, and none of them recognize my adapter out of the box.
It is not incompatible with all linux. The firmware took a while to get upstreamed and then we had to wait for Ubuntu to include it in linux-firmware

Lets see

Code: Select all

modinfo ath10k_pci; dmesg | ath10k

User avatar
jameskga
Level 3
Level 3
Posts: 192
Joined: Sat Jun 04, 2016 8:23 pm

Re: Wifi adapter doesn't show up (but bluetooth does). New solution needed. [Qualcomm Atheros QCA6164]

Post by jameskga » Sun Jun 05, 2016 3:04 pm

Code: Select all

james@h4x ~ $ modinfo ath10k_pci; dmesg | ath10k
filename:       /lib/modules/3.19.0-32-generic/kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
firmware:       ath10k/QCA988X/hw2.0/board.bin
firmware:       ath10k/QCA988X/hw2.0/firmware-3.bin
firmware:       ath10k/QCA988X/hw2.0/firmware-2.bin
firmware:       ath10k/QCA988X/hw2.0/firmware.bin
license:        Dual BSD/GPL
description:    Driver support for Atheros QCA988X PCIe devices
author:         Qualcomm Atheros
srcversion:     43DC2B7B76ADD3C9899062A
alias:          pci:v0000168Cd0000003Csv*sd*bc*sc*i*
depends:        ath10k_core
intree:         Y
vermagic:       3.19.0-32-generic SMP mod_unload modversions 
signer:         Magrathea: Glacier signing key
sig_key:        0C:8B:EF:E0:C1:E2:89:E4:D8:99:09:26:11:7A:DA:3B:DF:EB:41:9C
sig_hashalgo:   sha512
parm:           irq_mode:0: auto, 1: legacy, 2: msi (default: 0) (uint)
parm:           reset_mode:0: auto, 1: warm only (default: 0) (uint)
ath10k: command not found
james@h4x ~ $ 
LMDE 2 Cinnamon (64-bit)
I am out there

JeremyB
Level 19
Level 19
Posts: 9293
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi adapter doesn't show up (but bluetooth does). New solution needed. [Qualcomm Atheros QCA6164]

Post by JeremyB » Sun Jun 05, 2016 3:48 pm

Should just need to install backports as the kernel module you have doesn't support the QCA6164

Code: Select all

sudo apt-get install build-essential linux-headers-generic
wget https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v4.4.2/backports-4.4.2-1.tar.gz
tar -zxvf backports-4.4.2-1.tar.gz
cd backports-4.4.2-1
make defconfig-wifi
make
sudo make install
Reboot and it should work

User avatar
jameskga
Level 3
Level 3
Posts: 192
Joined: Sat Jun 04, 2016 8:23 pm

Re: Wifi adapter doesn't show up (but bluetooth does). New solution needed. [Qualcomm Atheros QCA6164]

Post by jameskga » Sun Jun 05, 2016 4:47 pm

Thanks, that worked. I don't know enough about Linux yet to comment on my experience, but thank you very much Jeremy. You rock!

I'll try to edit my title to say "solved"
LMDE 2 Cinnamon (64-bit)
I am out there

JeremyB
Level 19
Level 19
Posts: 9293
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi adapter doesn't show up (but bluetooth does). New solution needed. [Qualcomm Atheros QCA6164] (solved)

Post by JeremyB » Sun Jun 05, 2016 4:53 pm

Edit the Subject in the first post and it should work

User avatar
bbaker6212
Level 5
Level 5
Posts: 520
Joined: Wed Aug 12, 2015 6:35 pm

Re: Wifi adapter doesn't show up (but bluetooth does). New solution needed. [Qualcomm Atheros QCA6164] (solved)

Post by bbaker6212 » Fri Jun 10, 2016 2:44 pm

In the future try looking/searching through my post history. I have the same notebook as you Lenovo G50-45, though perhaps with diff divers?... and have gone through various issues. All working fine now.
Btw, just installed the Mint 18 beta and it seems to be working without any modifications. Again see my profile/posts.
Linux Mint Mate 18.1 k/4.10, Windows 10, Manjaro 17.0 Xfce k/4.14.54-1
Lenovo Ideapad G50-45 AMD A6-6310, 8GB RAM, 500GB Samsung EVO 850 SSD, Realtek RTL8723BE WiFi

JeremyB
Level 19
Level 19
Posts: 9293
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi adapter doesn't show up (but bluetooth does). New solution needed. [Qualcomm Atheros QCA6164] (solved)

Post by JeremyB » Fri Jun 10, 2016 4:43 pm

The Qualcomm Atheros cards will be easier to get working in LM 18 as there will be no need to use backports but there is a chance that the firmware will still have to be downloaded. This applies to the QCA6164, QCA6174, QCA9377 identified in lspci -nnk results as
[168C:0042]
[168C:003e]
[168C:0041]
[168C:003c]

The firmware is currently part of a Yakkety(Ubuntu 16.10) package and I hope it gets backported to Xenial(16.04) so that it is available to LM18 users as well as Ubuntu 16.04 as it is needed

User avatar
jameskga
Level 3
Level 3
Posts: 192
Joined: Sat Jun 04, 2016 8:23 pm

Re: Wifi adapter doesn't show up (but bluetooth does). New solution needed. [Qualcomm Atheros QCA6164] (solved)

Post by jameskga » Fri Jun 10, 2016 6:13 pm

bbaker6212 wrote:In the future try looking/searching through my post history. I have the same notebook as you Lenovo G50-45, though perhaps with diff divers?... and have gone through various issues. All working fine now.
Btw, just installed the Mint 18 beta and it seems to be working without any modifications. Again see my profile/posts.
Thank you so much! I will add you as a friend. I appreciate you introducing yourself :)
LMDE 2 Cinnamon (64-bit)
I am out there

JeremyB
Level 19
Level 19
Posts: 9293
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi adapter doesn't show up (but bluetooth does). New solution needed. [Qualcomm Atheros QCA6164] (solved)

Post by JeremyB » Fri Jun 10, 2016 7:20 pm

jameskga wrote:
bbaker6212 wrote:In the future try looking/searching through my post history. I have the same notebook as you Lenovo G50-45, though perhaps with diff divers?... and have gone through various issues. All working fine now.
Btw, just installed the Mint 18 beta and it seems to be working without any modifications. Again see my profile/posts.
Thank you so much! I will add you as a friend. I appreciate you introducing yourself :)
bbaker6212 has a rtl8723be wifi card not a qualcomm atheros

shanky96
Level 1
Level 1
Posts: 1
Joined: Mon Jun 27, 2016 2:54 am

Re: Wifi adapter doesn't show up (but bluetooth does). New solution needed. [Qualcomm Atheros QCA6164] (solved)

Post by shanky96 » Mon Jun 27, 2016 2:58 am

I followed the above steps
shankar@shankar-Lenovo-Z51-70 ~ $ tar xf backports-4.2.6-1.tar.xz
shankar@shankar-Lenovo-Z51-70 ~ $ cd backports-4.2.6-1/
shankar@shankar-Lenovo-Z51-70 ~ $ make defconfig-wifi
shankar@shankar-Lenovo-Z51-70 ~ $ make
shankar@shankar-Lenovo-Z51-70 ~ $ sudo make install
shankar@shankar-Lenovo-Z51-70 ~ $ sudo reboot

shankar@shankar-Lenovo-Z51-70 ~ $ iwconfig
but still am seeing no wireless :(

User avatar
jameskga
Level 3
Level 3
Posts: 192
Joined: Sat Jun 04, 2016 8:23 pm

Re: Wifi adapter doesn't show up (but bluetooth does). New solution needed. [Qualcomm Atheros QCA6164] (solved)

Post by jameskga » Mon Jun 27, 2016 3:51 am

shanky96 wrote:I followed the above steps
shankar@shankar-Lenovo-Z51-70 ~ $ tar xf backports-4.2.6-1.tar.xz
shankar@shankar-Lenovo-Z51-70 ~ $ cd backports-4.2.6-1/
shankar@shankar-Lenovo-Z51-70 ~ $ make defconfig-wifi
shankar@shankar-Lenovo-Z51-70 ~ $ make
shankar@shankar-Lenovo-Z51-70 ~ $ sudo make install
shankar@shankar-Lenovo-Z51-70 ~ $ sudo reboot

shankar@shankar-Lenovo-Z51-70 ~ $ iwconfig
but still am seeing no wireless :(
Make a fresh thread for visibility, and put your wireless network card model in the subject line. The people here are cool, and someone will help you get this sorted if you make it easy for them. Good luck!
LMDE 2 Cinnamon (64-bit)
I am out there

JeremyB
Level 19
Level 19
Posts: 9293
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi adapter doesn't show up (but bluetooth does). New solution needed. [Qualcomm Atheros QCA6164] (solved)

Post by JeremyB » Mon Jun 27, 2016 5:30 am

shanky96 wrote:I followed the above steps
shankar@shankar-Lenovo-Z51-70 ~ $ tar xf backports-4.2.6-1.tar.xz
shankar@shankar-Lenovo-Z51-70 ~ $ cd backports-4.2.6-1/
shankar@shankar-Lenovo-Z51-70 ~ $ make defconfig-wifi
shankar@shankar-Lenovo-Z51-70 ~ $ make
shankar@shankar-Lenovo-Z51-70 ~ $ sudo make install
shankar@shankar-Lenovo-Z51-70 ~ $ sudo reboot

shankar@shankar-Lenovo-Z51-70 ~ $ iwconfig
but still am seeing no wireless :(
You also need

Code: Select all

wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.158_all.deb
sudo dpkg -i linux-firmware_1.158_all.deb

Post Reply

Return to “Wireless”