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

 

 

 

How to make "Atheros QCA9377 ... (rev 31)" work on Debian

Need help with peripherals or devices?
Post Reply
Message
Author
rpf
Posts: 1
Joined: 2017-03-06 20:52

How to make "Atheros QCA9377 ... (rev 31)" work on Debian

#1 Post by rpf »

Hi,
today I installed Debian 9. Now I have troubles with my WiFi - it doesn't work.

lspci reports "Qualcomm Atheros QCA9377 ... (rev 31)":

Code: Select all

~# lspci | grep -i 9377
02:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)
But the ifconfig doesn't list a WiFi-Device

Code: Select all

~# ~# ifconfig
enp1s0f1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.103  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::aa1e:84ff:fe07:aef7  prefixlen 64  scopeid 0x20<link>
        ether 11:22:34:56:78:90  txqueuelen 1000  (Ethernet)
        RX packets 21930  bytes 21412738 (20.4 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 17833  bytes 2169298 (2.0 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Lokale Schleife)
        RX packets 4  bytes 240 (240.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4  bytes 240 (240.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


dmesg reports failed to load ath10k/pre-cal-pci-0000:02:00.0.bin and ath10k/cal-pci-0000:02:00.0.bin :

Code: Select all

~# dmesg | grep -i ath
[    3.712785] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[    4.064807] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:02:00.0.bin (-2)
[    4.064860] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:02:00.0.bin failed with error -2
[    4.064881] ath10k_pci 0000:02:00.0: firmware: failed to load ath10k/cal-pci-0000:02:00.0.bin (-2)
[    4.064927] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2
[    4.075546] ath10k_pci 0000:02:00.0: firmware: direct-loading firmware ath10k/QCA9377/hw1.0/firmware-5.bin
[    4.075560] ath10k_pci 0000:02:00.0: qca9377 hw1.1 target 0x05020001 chip_id 0x003821ff sub 11ad:08a6
[    4.075563] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
[    4.076453] ath10k_pci 0000:02:00.0: firmware ver WLAN.TF.1.0-00267-1 api 5 features ignore-otp crc32 79cea2c7
[    4.143822] ath10k_pci 0000:02:00.0: firmware: direct-loading firmware ath10k/QCA9377/hw1.0/board-2.bin
[    4.144216] ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 93da0176
[    5.925170] ath10k_pci 0000:02:00.0: htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[    5.927466] ath: EEPROM regdomain: 0x69
[    5.927468] ath: EEPROM indicates we should expect a direct regpair map
[    5.927471] ath: Country alpha2 being used: 00
[    5.927472] ath: Regpair used: 0x69
[    5.937690] ath10k_pci 0000:02:00.0 wlp2s0: renamed from wlan0

How can I fix this failures? Thanks for any advice.

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

Re: How to make "Atheros QCA9377 ... (rev 31)" work on Debia

#2 Post by stevepusser »

New FDN drinking game--chug a shot every time a wi-fi firmware thread is started! :D

What makes this probably the most asked question here? Almost all wi-fi hardware now requires additional non-free firmware to work, in addition to the driver that's hopefully already in the kernel (brand-new hardware may require a brand-new kernel update). Debian's commitment to libre software means that the standard install ISOs don't include the firmware, though you can get versions that do include it.

After install, you can add the nonfree section alongside "main" in the entry for the primary Debian repo in your software sources list and install the firmware-atheros package. https://wiki.debian.org/SourcesList

If you need wi-fi before you can make a connection, you can manually download the Stretch deb of that package and install it it on the isolated Debian with dpkg.
MX Linux packager and developer

User avatar
sunrat
Administrator
Administrator
Posts: 6474
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 118 times
Been thanked: 474 times

Re: How to make "Atheros QCA9377 ... (rev 31)" work on Debia

#3 Post by sunrat »

stevepusser wrote:New FDN drinking game--chug a shot every time a wi-fi firmware thread is started! :D
My liver curses you already for just suggesting it! :? :lol:
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Post Reply