You are not logged in.

#1 2016-04-13 04:24:40

rollhax
Member
Registered: 2012-09-01
Posts: 10

Wifi issues with Acer R11 (ath10k/QCA9377 chip)

I originally posted this in Newbie Corner, but received no responses, so hoping to get some love here.

I purchased an Acer R11 two weeks ago, which came with an Atheros wifi chip (QCA9377). I've been googling around, digging through forum posts, stack overflows, etc., and followed a number of guides a number of times. For a recap of the steps I've taken thus far: http://boggs.xyz/2016/01/06/qca9377-linux/

TL;DR:

- backports-20151120 installed
- kvalo ath10k firmware repo checked out to commit 7d14e337ad25c0ef3e78fc47eac336697ca612e8 (note that I've also tried HEAD numerous times, no difference)

At first, running ip link only showed the ethernet card and the loopback adapter. I've now gotten it to a point where the wireless interface is recognized by ip link, and I can scan for networks (usually, sometimes/rarely it fails), create a netcl profile, but it never connects. I've tried wifi-menu and wicd.

sudo wifi-menu does display this error while searching for networks:

Scanning for networks... Could not read interface p2p-dev-wlan0 flags: No such device

wicd-curses, after I tell it to connect (tried both 2.4ghz/5ghz) will spin on "Obtaining IP address" for a while and then give me a python stack: "IndexError: list index out of range"

Here's a dump of some hopefully useful information:

[root@tyr ~]# lshw -class network
  *-network               
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: enp1s0
       version: 15
       serial: 30:65:ec:88:06:33
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=10.3.8.124 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
       resources: irq:313 ioport:1000(size=256) memory:91204000-91204fff memory:91200000-91203fff
  *-network
       description: Wireless interface
       product: Qualcomm Atheros
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlan0
       version: 30
       serial: 30:52:cb:38:13:c7
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=ath10k_pci driverversion=4.4.5-1-ARCH firmware=WLAN.TF.1.0-00267-1 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
       resources: irq:315 memory:91000000-911fffff
[root@tyr ~]# lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:2280] (rev 21)
	Subsystem: Acer Incorporated [ALI] Device [1025:1022]
	Kernel driver in use: iosf_mbi_pci
	Kernel modules: iosf_mbi
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:22b1] (rev 21)
	Subsystem: Acer Incorporated [ALI] Device [1025:1022]
	Kernel driver in use: i915
	Kernel modules: i915
00:0b.0 Signal processing controller [1180]: Intel Corporation Device [8086:22dc] (rev 21)
	Subsystem: Acer Incorporated [ALI] Device [1025:1022]
	Kernel driver in use: proc_thermal
	Kernel modules: processor_thermal_device
00:13.0 SATA controller [0106]: Intel Corporation Device [8086:22a3] (rev 21)
	Subsystem: Acer Incorporated [ALI] Device [1025:1022]
	Kernel driver in use: ahci
	Kernel modules: ahci
00:14.0 USB controller [0c03]: Intel Corporation Device [8086:22b5] (rev 21)
	Subsystem: Acer Incorporated [ALI] Device [1025:1022]
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:1a.0 Encryption controller [1080]: Intel Corporation Device [8086:2298] (rev 21)
	Subsystem: Acer Incorporated [ALI] Device [1025:1022]
	Kernel driver in use: mei_txe
	Kernel modules: mei_txe
00:1b.0 Audio device [0403]: Intel Corporation Device [8086:2284] (rev 21)
	Subsystem: Acer Incorporated [ALI] Device [1025:1022]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:22c8] (rev 21)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.1 PCI bridge [0604]: Intel Corporation Device [8086:22ca] (rev 21)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:229c] (rev 21)
	Subsystem: Acer Incorporated [ALI] Device [1025:1022]
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich
00:1f.3 SMBus [0c05]: Intel Corporation Device [8086:2292] (rev 21)
	Subsystem: Acer Incorporated [ALI] Device [1025:1022]
	Kernel modules: i2c_i801
01: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:1022]
	Kernel driver in use: r8169
	Kernel modules: r8169
02: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
	Kernel modules: ath10k_pci
[root@tyr ~]# uname -a
Linux tyr 4.4.5-1-ARCH #1 SMP PREEMPT Thu Mar 10 07:38:19 CET 2016 x86_64 GNU/Linux
[root@tyr ~]# dmesg | grep -i ath10k
[    3.147089] ath10k_pci 0000:02:00.0: pci irq msi interrupts 1 irq_mode 0 reset_mode 0
[    3.391167] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2
[    3.391813] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-5.bin failed with error -2
[    3.391817] ath10k_pci 0000:02:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-5.bin': -2
[    3.391834] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-4.bin failed with error -2
[    3.391837] ath10k_pci 0000:02:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-4.bin': -2
[    3.391852] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-3.bin failed with error -2
[    3.391854] ath10k_pci 0000:02:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-3.bin': -2
[    3.391868] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-2.bin failed with error -2
[    3.391871] ath10k_pci 0000:02:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-2.bin': -2
[    3.391885] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware.bin failed with error -2
[    3.391887] ath10k_pci 0000:02:00.0: could not fetch firmware (-2)
[    3.391890] ath10k_pci 0000:02:00.0: could not fetch firmware files (-2)
[    3.391892] ath10k_pci 0000:02:00.0: could not probe fw (-2)
[  244.128584] ath10k_pci 0000:02:00.0: pci irq msi interrupts 1 irq_mode 0 reset_mode 0
[  244.358989] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2
[  244.425047] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/board-2.bin failed with error -2
[  246.220072] ath10k_pci 0000:02:00.0: qca9377 hw1.0 (0x05020000, 0x003820ff sub 11ad:0806) fw WLAN.TF.1.0-00267-1 fwapi 5 bdapi 1 htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1 features ignore-otp
[  246.220080] ath10k_pci 0000:02:00.0: debug 1 debugfs 1 tracing 0 dfs 0 testmode 0
[root@tyr ~]# ls -al /lib/firmware/ath10k/QCA9377/hw1.0/
total 608
drwxr-xr-x 2 root root   4096 Apr 12 23:15 .
drwxr-xr-x 3 root root   4096 Apr 12 23:10 ..
-rw-r--r-- 1 root root   8124 Apr 12 23:11 board.bin
-rw-r--r-- 1 root root 605908 Apr 12 23:11 firmware-5.bin
[root@tyr ~]# md5sum /lib/firmware/ath10k/QCA9377/hw1.0/*
44349f6ae93cf9ceffb164f58d4fb124  /lib/firmware/ath10k/QCA9377/hw1.0/board.bin
568690a62b5e69ec24400bf41eb07aa2  /lib/firmware/ath10k/QCA9377/hw1.0/firmware-5.bin

Thanks for any assistance you can offer!

Last edited by rollhax (2016-04-13 04:30:35)

Offline

#2 2016-05-15 19:39:33

Pushpankar
Member
Registered: 2016-04-17
Posts: 11

Re: Wifi issues with Acer R11 (ath10k/QCA9377 chip)

What is your kernel version?
Try https://github.com/ajaybhatia/Qualcomm- … Wifi-Linux . Just copy hw1.0 to /lib/firmware/ath10k/QCA9377.
It worked for me

Offline

#3 2016-05-15 20:40:40

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Wifi issues with Acer R11 (ath10k/QCA9377 chip)

rollhax wrote:

I originally posted this in Newbie Corner, but received no responses, so hoping to get some love here.

Don't do that: https://wiki.archlinux.org/index.php/Fo … ss-posting

Use the report button and ask a Mod to move it.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2016-05-19 10:36:55

jeremy31
Member
Registered: 2015-11-01
Posts: 149

Re: Wifi issues with Acer R11 (ath10k/QCA9377 chip)

With your kernel, the backports aren't needed, you can remove with

cd backports-20151120
sudo make uninstall

Reboot

Offline

#5 2016-05-27 04:25:37

mischka
Member
From: Milwaukee, WI
Registered: 2015-04-26
Posts: 12
Website

Re: Wifi issues with Acer R11 (ath10k/QCA9377 chip)

This package is all you need to install the firmware: https://aur.archlinux.org/packages/ath1 … a9377-git/, I have the same card.

This firmware is included in 4.6, so when it is updated in core you'll need to remove it before you can reboot.

Offline

Board footer

Powered by FluxBB