Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Installing firmware for Atheros QCA6174

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
nemo002
Posts: 2
Joined: 2018-10-28 10:56

Installing firmware for Atheros QCA6174

#1 Post by nemo002 »

I've searched the internet high and wide for an answer and nothing seems to work.

I recently installed Debian 9 on my Lenovo Yoga 910 and most of everything seems to work except the wifi module Atheros QCA6174. I ran both Ubuntu and Manjaro over the past year and never had a problem.

I've followed the Debian wiki here to download the firmware but still don't get anything. https://wiki.debian.org/ath9k_htc

Here are some stats

iwconfig:
wlp1s0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on

lo no wireless extensions.

enx00e04c534458 no wireless extensions.

dmesg:
[ 1.901614] ath10k_pci 0000:01:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:01:00.0.bin (-2)
[ 1.901620] ath10k_pci 0000:01:00.0: firmware: failed to load ath10k/cal-pci-0000:01:00.0.bin (-2)
[ 1.902524] ath10k_pci 0000:01:00.0: firmware: failed to load ath10k/QCA6174/hw3.0/firmware-6.bin (-2)
[ 1.902531] ath10k_pci 0000:01:00.0: firmware: failed to load ath10k/QCA6174/hw3.0/firmware-5.bin (-2)
[ 1.904767] ath10k_pci 0000:01:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/firmware-4.bin
[ 1.904772] ath10k_pci 0000:01:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 17aa:0827
[ 1.904774] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
[ 1.905155] ath10k_pci 0000:01:00.0: firmware ver WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 features wowlan,ignore-otp,no-4addr-pad crc32 75dee6c5

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Installing firmware for Atheros QCA6174

#2 Post by bw123 »

found this searching for https://duckduckgo.com/html/?q=debian+a ... ware-6.bin

https://packages.debian.org/stretch-bac ... re-atheros
* Qualcomm Atheros QCA6174 rev 3.0 firmware, version
WLAN.RM.4.4.1-00079-QCARMSWPZ-1
(ath10k/QCA6174/hw3.0/firmware-6.bin)
https://backports.debian.org/Instructions/

if that doesn't get it working, check rfkill
resigned by AI ChatGPT

nemo002
Posts: 2
Joined: 2018-10-28 10:56

Re: Installing firmware for Atheros QCA6174

#3 Post by nemo002 »

bw123 wrote:found this searching for https://duckduckgo.com/html/?q=debian+a ... ware-6.bin

https://packages.debian.org/stretch-bac ... re-atheros
* Qualcomm Atheros QCA6174 rev 3.0 firmware, version
WLAN.RM.4.4.1-00079-QCARMSWPZ-1
(ath10k/QCA6174/hw3.0/firmware-6.bin)
https://backports.debian.org/Instructions/

if that doesn't get it working, check rfkill
I installed backports and tried to install the package but get these errors:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ath10k/QCA6174/hw3.0
E: Couldn't find any package by glob 'ath10k/QCA6174/hw3.0'
E: Couldn't find any package by regex 'ath10k/QCA6174/hw3.0'

rfkill list gives me these results:

0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
2: ideapad_bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
3: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no

I ran this command instead:
sudo apt-get -t stretch-backports install firmware-atheros

Now dmesg gives me this, so whatever ath10k/pre-cal-pic is, it's not loading or found.

[ 1.969933] ath10k_pci 0000:01:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:01:00.0.bin (-2)
[ 1.969940] ath10k_pci 0000:01:00.0: firmware: failed to load ath10k/cal-pci-0000:01:00.0.bin (-2)
[ 1.972413] ath10k_pci 0000:01:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/firmware-6.bin
[ 1.972418] ath10k_pci 0000:01:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 17aa:0827
[ 1.972420] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
[ 1.972815] ath10k_pci 0000:01:00.0: firmware ver WLAN.RM.4.4.1-00079-QCARMSWPZ-1 api 6 features wowlan,ignore-otp crc32 fd869beb
[ 2.038367] ath10k_pci 0000:01:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/board-2.bin
[ 2.038675] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id N/A crc32 20d869c3

Also, my bluetooth works now!

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Installing firmware for Atheros QCA6174

#4 Post by Head_on_a_Stick »

nemo002 wrote:Iiwconfig:
wlp1s0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
^ Your wireless card is already working.

EDIT: or was that from Ubuntu?
deadbang

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Installing firmware for Atheros QCA6174

#5 Post by stevepusser »

You could run this script to provide troubleshooting info if installing firmware-atheros didn't solve the issue:

https://github.com/UbuntuForums/wireless-info
MX Linux packager and developer

jaspolino
Posts: 1
Joined: 2019-08-03 13:30

Re: Installing firmware for Atheros QCA6174

#6 Post by jaspolino »

+++Straightforward simple solution+++
Using repository github.com/kvalo/ath10k-firmware
i simply got placed the appropriate binary in the /lib/firmware folder.
Keep in mind you might need to change "ath10k" or "QCA6174" to your value.

Code: Select all

dmesg | grep ath10k #you can replace ath10k of course
# it will read something like "failed to load firmware ath10k/QCA6174/hw3.0/firmware-6.bin     #<- remember this path

# if there is no folder for ath10k create it
cd /lib/fimware
mkdir ath10k

cd
git clone github.com/kvalo/ath10k-firmware
cd ath10k-firmware/
# pick the right firmware
cd QCA6174/hw3.0
# there are differemt versions directories, i just took the newest one
cd 4.4
# now copy one of these to the location where the kernel expects it to be and rename it
cp firmware-6.bin_WLAN.RM.4.4-00022-QCARMSWPZ-2 /lib/firmware/ath10k/QCA6174/hw3.0/firmware-6.bin
see https://wireless.wiki.kernel.org/en/use ... k/firmware for the explaination of the different binaries.
it worked immediately for me

Post Reply