[SOLVED] Making Qualcomm Atheros QCA9377 to work on Debian

Getting your soundcard to work, using Debian on non-i386 hardware, etc

[SOLVED] Making Qualcomm Atheros QCA9377 to work on Debian

Postby andros705 » 2016-04-07 17:00

Hi
I don't know how to make my Wifi Card Qualcomm Atheros QCA9377 to work on my Debian Jessie.
I found driver here: https://github.com/ajaybhatia/Qualcomm- ... Wifi-Linux
Tintumon2 said it work for him on Ubuntu 14, but how can I make it to work on Debian?

Thanks for every advice.

@update:
When I try to install them on Debian using "./install.sh" I see black screen and then GNU/Linux reboots.
Last edited by andros705 on 2016-04-08 07:52, edited 1 time in total.
andros705
 
Posts: 21
Joined: 2014-10-09 21:03

Re: Making Qualcomm Atheros QCA9377 to work on Debian

Postby Head_on_a_Stick » 2016-04-07 20:03

andros705 wrote:When I try to install them on Debian using "./install.sh" I see black screen and then GNU/Linux reboots.

Yeah, that's 'cos the last line of the install script is:
Code: Select all
sudo reboot

:D

What is the output of:
Code: Select all
lspci -knn|grep -iA2 net
dmesg|grep 'ath\|firmw'

EDIT: it looks like the driver was mainlined into kernel 4.4 so you might want to try the kernel version from the jessie-backports repository.

EDIT2: Backported firmware is also required.

See https://git.kernel.org/cgit/linux/kerne ... b4a79c9614 & https://forums.bunsenlabs.org/viewtopic.php?id=1257
Last edited by Head_on_a_Stick on 2016-04-30 20:33, edited 1 time in total.
"Men are born ignorant, not stupid. They are made stupid by education." — Bertrand Russell
User avatar
Head_on_a_Stick
 
Posts: 7175
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Making Qualcomm Atheros QCA9377 to work on Debian

Postby andros705 » 2016-04-07 22:25

I installed the newest kernel from Debian backports repository.
Then I tried ./install.sh again.

Output of "uname -r": 4.4.0-0.bpo.1-amd64

Output of "lspci -knn|grep -iA2 net"
Code: Select all
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
   Subsystem: Acer Incorporated [ALI] Device [1025:098a]
   Kernel driver in use: r8169
03:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:0042] (rev 30)
   Subsystem: Lite-On Communications Inc Device [11ad:0806]
   Kernel driver in use: ath10k_pci


Output of "dmesg|grep 'ath\|firmw'"
Code: Select all
[    6.717858] ath10k_pci 0000:03:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[    6.974347] ath10k_pci 0000:03:00.0: firmware: failed to load ath10k/cal-pci-0000:03:00.0.bin (-2)
[    6.974349] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2
[    6.974359] ath10k_pci 0000:03:00.0: firmware: failed to load ath10k/QCA9377/hw1.0/firmware-5.bin (-2)
[    6.974360] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-5.bin failed with error -2
[    6.974362] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-5.bin': -2
[    6.974368] ath10k_pci 0000:03:00.0: firmware: failed to load ath10k/QCA9377/hw1.0/firmware-4.bin (-2)
[    6.974369] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-4.bin failed with error -2
[    6.974370] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-4.bin': -2
[    6.974375] ath10k_pci 0000:03:00.0: firmware: failed to load ath10k/QCA9377/hw1.0/firmware-3.bin (-2)
[    6.974376] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-3.bin failed with error -2
[    6.974377] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-3.bin': -2
[    6.974383] ath10k_pci 0000:03:00.0: firmware: failed to load ath10k/QCA9377/hw1.0/firmware-2.bin (-2)
[    6.974384] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-2.bin failed with error -2
[    6.974385] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-2.bin': -2
[    6.974390] ath10k_pci 0000:03:00.0: firmware: failed to load ath10k/QCA9377/hw1.0/firmware.bin (-2)
[    6.974391] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware.bin failed with error -2
[    6.974392] ath10k_pci 0000:03:00.0: could not fetch firmware (-2)
[    6.974393] ath10k_pci 0000:03:00.0: could not fetch firmware files (-2)
[    6.974394] ath10k_pci 0000:03:00.0: could not probe fw (-2)
[   15.049592] r8169 0000:02:00.0: firmware: failed to load rtl_nic/rtl8168h-2.fw (-2)
[   15.049631] r8169 0000:02:00.0: Direct firmware load for rtl_nic/rtl8168h-2.fw failed with error -2
[   15.049635] r8169 0000:02:00.0 eth0: unable to load firmware patch rtl_nic/rtl8168h-2.fw (-2)
[   50.599348] ieee80211 phy1: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[   50.628861] rt2800usb 2-1:1.0: firmware: direct-loading firmware rt2870.bin
[   50.628869] ieee80211 phy1: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29


Looks like there are problems with loading all firmware.


@Update
My wifi card is working now!
Inside /lib/firmware/ath10k I found hw1.0 folder with drivers in it, but ath10 was looking for firmware inside /lib/firmware/ath10k/QCA9377/hw1.0/ so I just created directory QCA9377 and moved hw1.0 to it, rebooted and is working now. Thanks for your help.
andros705
 
Posts: 21
Joined: 2014-10-09 21:03

Re: Making Qualcomm Atheros QCA9377 to work on Debian

Postby Head_on_a_Stick » 2016-04-08 07:38

You're welcome :)

Please add [SOLVED] to the thread title to help other people who may have this problem.
"Men are born ignorant, not stupid. They are made stupid by education." — Bertrand Russell
User avatar
Head_on_a_Stick
 
Posts: 7175
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: [SOLVED] Making Qualcomm Atheros QCA9377 to work on Debi

Postby andros705 » 2016-04-08 16:51

Somebody might be interested:
These drivers work with android x86 marshmallow, all you have to do is to copy QCA9377 to /system/lib/firmware/ath10k and it will work :D
andros705
 
Posts: 21
Joined: 2014-10-09 21:03

Re: [SOLVED] Making Qualcomm Atheros QCA9377 to work on Debi

Postby Bicycle » 2017-12-25 13:24

Hi,

I've been dealing with the exact same problem and tried the solution Andros705 proposed.
But the firmware still does not load.

here is the output of "dmesg|grep 'ath\|firmw'" :

Code: Select all
[    4.856498] i915 0000:00:02.0: firmware: direct-loading firmware i915/bxt_dmc_ver1_07.bin
[    4.867104] [drm] GuC firmware load skipped
[    5.091254] ath10k_pci 0000:03:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:03:00.0.bin (-2)
[    5.091256] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:03:00.0.bin failed with error -2
[    5.091276] ath10k_pci 0000:03:00.0: firmware: failed to load ath10k/cal-pci-0000:03:00.0.bin (-2)
[    5.091277] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2
[    5.096797] ath10k_pci 0000:03:00.0: firmware: direct-loading firmware ath10k/QCA9377/hw1.0/firmware-5.bin
[    5.096810] ath10k_pci 0000:03:00.0: qca9377 hw1.1 target 0x05020001 chip_id 0x003821ff sub 11ad:08a6
[    5.096812] ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
[    5.097329] ath10k_pci 0000:03:00.0: firmware ver WLAN.TF.1.0-00267-1 api 5 features ignore-otp crc32 79cea2c7
[    5.179923] ath10k_pci 0000:03:00.0: firmware: direct-loading firmware ath10k/QCA9377/hw1.0/board-2.bin
[    5.180317] ath10k_pci 0000:03:00.0: board_file api 2 bmi_id N/A crc32 93da0176
[    5.867513] r8169 0000:02:00.1: firmware: direct-loading firmware rtl_nic/rtl8411-2.fw
[    7.169980] ath10k_pci 0000:03:00.0: htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[    7.171703] ath: EEPROM regdomain: 0x69
[    7.171706] ath: EEPROM indicates we should expect a direct regpair map
[    7.171710] ath: Country alpha2 being used: 00
[    7.171711] ath: Regpair used: 0x69
[   12.594001] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[   16.411558] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[   17.780745] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[   24.569820] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[   24.673099] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[   28.575356] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[   51.383191] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[   56.018460] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[   56.121218] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[   56.326888] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[   99.641248] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[   99.949620] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[  200.772061] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[  200.874951] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[  200.978357] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[  326.512717] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[  375.472936] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[  443.895838] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[  443.998855] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[  506.495353] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[  569.822801] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[  569.925615] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[  675.512473] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[  680.338891] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[  743.635727] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!


Can someone help?
Bicycle
 
Posts: 3
Joined: 2017-12-25 13:14

Re: [SOLVED] Making Qualcomm Atheros QCA9377 to work on Debi

Postby debiman » 2017-12-25 13:28

Bicycle wrote:Can someone help?

yes, but please start your own dedicated thread.
this thread was marked solved a year ago, continuing to write here is pointless, but you can rreference it in your new thread.
User avatar
debiman
 
Posts: 1884
Joined: 2013-03-12 07:18


Return to Hardware

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable