You are not logged in.

#1 2016-06-06 16:33:20

napz
Member
Registered: 2016-05-24
Posts: 7

[Solved] wifi doesn't work Qualcomm Atheros Device [168c:0042] (rev 30

Just installed arch on my Acer e5-573G-37F8 laptop
Can't get wifi working.


lspci -k

03:00.0 Network controller: Qualcomm Atheros Device 0042 (rev 30)
	Subsystem: Lite-On Communications Inc Device 0806
	Kernel driver in use: ath10k_pci
	Kernel modules: ath10k_pci
dmesg | grep ath10k_pci

[    9.081165] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2
[    9.081183] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-5.bin failed with error -2
[    9.081186] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-5.bin': -2
[    9.081197] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-4.bin failed with error -2
[    9.081199] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-4.bin': -2
[    9.081209] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-3.bin failed with error -2
[    9.081211] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-3.bin': -2
[    9.081221] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-2.bin failed with error -2
[    9.081223] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-2.bin': -2
[    9.081233] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware.bin failed with error -2
[    9.081235] ath10k_pci 0000:03:00.0: could not fetch firmware (-2)
[    9.081237] ath10k_pci 0000:03:00.0: could not fetch firmware files (-2)

I've got different firmware for ath10k

[alex@com ath10k]$ ls -la
total 28
drwxr-xr-x  5 root root  4096 Mar 15 09:08 .
drwxr-xr-x 72 root root 12288 Mar 15 09:08 ..
drwxr-xr-x  4 root root  4096 Mar 15 09:08 QCA6174
drwxr-xr-x  3 root root  4096 Mar 15 09:08 QCA988X
drwxr-xr-x  3 root root  4096 Mar 15 09:08 QCA99X0

I do not have wifi interface. How do I know which firmware should I download and install to make wifi work?

I've found many links for downloading firmware from git https://github.com/kvalo/ath10k-firmware but I'm not sure which firmware I need to install.

Sorry for my English if I made mistakes. It's not my first language

Last edited by napz (2016-06-07 06:31:12)

Offline

#2 2016-06-06 18:49:24

SteveK
Member
Registered: 2010-06-11
Posts: 80

Re: [Solved] wifi doesn't work Qualcomm Atheros Device [168c:0042] (rev 30

Offline

#3 2016-06-06 18:57:52

napz
Member
Registered: 2016-05-24
Posts: 7

Re: [Solved] wifi doesn't work Qualcomm Atheros Device [168c:0042] (rev 30

SteveK wrote:

Thank you for this link.
What I already did :
I've downloaded this file https://github.com/kvalo/ath10k-firmwar … .0-00267-1
renamed it to firmware-5.bin and putted it to newly created directory /usr/lib/firmware/ath10k/QCA9377/hw1.0/

Rebooted.

Nothing changed.

sad

I'm trying to install by yaourt -S ath10k-firmware-qca9377-git

but

==> Building and installing package
==> ERROR: Cannot find the git package needed to handle git sources.
==> ERROR: Makepkg was unable to build ath10k-firmware-git.
==> Restart building ath10k-firmware-qca9377-git ? [y/N]
==> ----------------------------------------------------

Last edited by napz (2016-06-06 19:10:49)

Offline

#4 2016-06-06 19:10:12

SteveK
Member
Registered: 2010-06-11
Posts: 80

Re: [Solved] wifi doesn't work Qualcomm Atheros Device [168c:0042] (rev 30

Well the PKGBUILD does other things with qca9887-git also - https://aur.archlinux.org/cgit/aur.git/ … rmware-git

I suggest you use makepkg or an AUR helper to make and install the package properly.  Also pacman will know about the installed files.

BTW I have the same card and it works here.

Offline

#5 2016-06-06 19:22:36

napz
Member
Registered: 2016-05-24
Posts: 7

Re: [Solved] wifi doesn't work Qualcomm Atheros Device [168c:0042] (rev 30

SteveK wrote:

Well the PKGBUILD does other things with qca9887-git also - https://aur.archlinux.org/cgit/aur.git/ … rmware-git

I suggest you use makepkg or an AUR helper to make and install the package properly.  Also pacman will know about the installed files.

BTW I have the same card and it works here.

makepkg 
==> ERROR: Cannot find the git package needed to handle git sources.

Don't know what to to.

Offline

#6 2016-06-06 19:23:45

SteveK
Member
Registered: 2010-06-11
Posts: 80

Re: [Solved] wifi doesn't work Qualcomm Atheros Device [168c:0042] (rev 30

Try installing the git package wink

Offline

#7 2016-06-06 19:31:53

napz
Member
Registered: 2016-05-24
Posts: 7

Re: [Solved] wifi doesn't work Qualcomm Atheros Device [168c:0042] (rev 30

SteveK wrote:

Try installing the git package wink

ahaha yes it worked after installing git

Thank you for advice because I thought that git package it is not the git itself but package of firmware.

I've made build and copied source to /usr/lib/firmware/ath10k
Rebooted
Nothing changed again.
there is no wifi interface.

What is wrong?

UPDATE: I've renamed file firmware-5.bin_WLAN.TF.1.0-00267-1 to firmware-5.bin, rebooted and interface showed up!!!

Thank You!

Last edited by napz (2016-06-06 20:15:48)

Offline

#8 2016-06-06 20:16:22

SteveK
Member
Registered: 2010-06-11
Posts: 80

Re: [Solved] wifi doesn't work Qualcomm Atheros Device [168c:0042] (rev 30

Well, you shouldn't have needed to copy anything.  I suggest doing a little research on the wiki about how AUR packages work, but in short if you used yaourt it would have built and installed the package without you needing to do anything else.  If you built it with makepkg the built package should be installed with pacman -U /path/to/package.

If the package installed with no error messages, then I'm afraid I don't have any other ideas.

Edit:  I see you solved it (kind of wink )  Please edit your first post and mark the title [Solved]

Last edited by SteveK (2016-06-06 20:18:00)

Offline

#9 2016-06-06 20:42:37

napz
Member
Registered: 2016-05-24
Posts: 7

Re: [Solved] wifi doesn't work Qualcomm Atheros Device [168c:0042] (rev 30

Thank you SteveK! Now my wifi is working but I still get

dmesg | grep ath10k

[   10.241313] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2

why does this message appear and can I rid of it somehow?

Last edited by napz (2016-06-07 06:40:04)

Offline

#10 2016-06-07 21:48:47

SteveK
Member
Registered: 2010-06-11
Posts: 80

Re: [Solved] wifi doesn't work Qualcomm Atheros Device [168c:0042] (rev 30

Glad it's working now smile

I get the same message but I don't think it's anything to be worried about.  I suspect this is from the linux-firmware package, trying to load first.  When it fails the firmware from the AUR package is loaded.  Notice it appears in dmesg in your first post too.

I've no idea how to be rid of it.

Edit:
Coincidentally, support for this card is now in the latest version of linux-firmware to hit the main repos.  You'll have to remove the AUR package in order to update.

Last edited by SteveK (2016-06-08 12:52:56)

Offline

#11 2020-09-12 18:12:57

jemadux
Member
From: Thessaloniki City / Greece
Registered: 2010-07-17
Posts: 66

Re: [Solved] wifi doesn't work Qualcomm Atheros Device [168c:0042] (rev 30

does anyone have problem with connection nowaays with that device ?

Offline

#12 2020-09-12 18:22:04

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: [Solved] wifi doesn't work Qualcomm Atheros Device [168c:0042] (rev 30

This thread is very old. Please do not necrobump.

Closing.


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

Board footer

Powered by FluxBB