Qualcomm QCA9377 802.11ac Issues


#1

Wifi works using the ah10k_pci driver when booting form live-ISO (I installed from Manjaro-Architect with I3 gaps as my desktop).

When I boot from the installed OS, I can’t get wifi-menu, nm-applet, netctl, nmcli device wifi list, etc to report back anything of use. I presume that the OS messes with the device somehow.

rfkill shows everything as unblocked.

As it works from ISO-boot, I know it works - a while ago I’m aware these cards were generally unusable. I’ve read a few posts.

What info would be most useful?

I’ve tried refreshing and updating the system.

Thanks.


#2

inxi -Nxz
lsmod | grep ath


#3

inxi -Nxz:

Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo drivers: r8179 v: 2.3LK-NAPI port: 3000 bus ID: 02:00.0
Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter vendor: Lenovo driver: ath10k_pci v: kernel port: 3000 bus ID 03:00.0
Device-3: Qualcomm Atheros type: USB driver: btusb bus ID: 3-1.3:3

hwinfo --network:

35: None 00.0: 10700 Loopback
[Created at net.126]
Unique ID: ZsBS.GQNx7L4uPNA
SysFS ID: /class/net/lo
Hardware Class: network interface
Model: “Loopback network interface”
Device File: lo
Link detected: yes
Config Status: cfg=new, avail=yes, need=no, active=unknown

36: None 00.0: 10701 Ethernet
[Created at net.126]
Unique ID: Ij4c.notpeucax6V1
Parent ID: c3qJ.XGk8e0twpx0
SysFS ID: /class/net/enp2s0
SysFS Device Link: /devices/pci0000:00/0000:00:02.3/0000:02:00.0
Hardware Class: network interface
Model: “Ethernet network interface”
Driver “r8169”
Driver Modules: “r8169”
Device File: enp2s0
HW Address: fc:45:96:56:3e:88
Permanent HW Address: fc:45:96:56:3e:88
Link detected: no
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #6 (Ethernet controller)

lsmod | grep ath:

ath10k_pci 53248 0
ath10k_core 368640 1 ath10k_pci
ath 36864 1 ath10k_core
mac80211 905216 1 ath10k_core
cfg80211 733184 4 w1,ath,mac80211,ath10k_core


#4

Sorry, I realize we might want the whole inxi, because it might be a manufacturer module getting in the way.
(also note - no device showing in the hwinfo output)

inxi -Fxz
lsmod

Also might as well look at nmcli too:
nmcli device
nmcli radio
and see if you can scan manually and/or if any errors are thrown:
nmcli device wifi list


#5

It is probably the firmware at fault @cscs.

dmesg | grep - i firmware

Also, install and test alternate kernels.


#6

inxi -Fxz:

System: Host: dadur Kernel: 4.14.85-1-MANJARO x86_64 bits: 64 compiler: gcc v: 8.2.1 Desktop: i3 4.16 Distro: Manjaro Linux
Machine: Type: N/A System: LENOVO product: 80S9 v: Lenovo YOGA 510-14AST serial:
Mobo: LENOVO model: LNVNB161216 v: SDK0J40700 WIN serial: UEFI: LENOVO v: 1RCN33WW(V1.13) date: 11/13/2017
Battery: ID-1: BAT1 charge: 30.3 Wh condition: 30.3/35.0 Wh (87%) model: SIMPLO PABAS0241231 status: Full
CPU: Topology: Dual Core model: AMD A9-9410 RADEON R5 5 COMPUTE CORES 2C+3G bits: 64 type: MCP arch: Excavator
L2 cache: 1024 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 11582
Speed: 1396 MHz min/max: 1400/2900 MHz Core speeds (MHz): 1: 2123 2: 2182
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Stoney [Radeon R2/R3/R4/R5 Graphics] vendor: Lenovo driver: amdgpu
v: kernel bus ID: 00:01.0
Display: x11 server: X.Org 1.20.3 driver: amdgpu,ati unloaded: modesetting resolution: 1366x768~60Hz
OpenGL: renderer: AMD STONEY (DRM 3.19.0 4.14.85-1-MANJARO LLVM 7.0.0) v: 4.5 Mesa 18.2.6 direct render: Yes
Audio: Device-1: Advanced Micro Devices [AMD/ATI] vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 00:01.1
Device-2: Advanced Micro Devices [AMD] Family 15h Audio vendor: Lenovo driver: snd_hda_intel v: kernel
bus ID: 00:09.2
Sound Server: ALSA v: k4.14.85-1-MANJARO
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169 v: 2.3LK-NAPI
port: 3000 bus ID: 02:00.0
IF: enp2s0 state: down mac:
Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter vendor: Lenovo driver: ath10k_pci v: kernel
port: 3000 bus ID: 03:00.0
Device-3: Qualcomm Atheros type: USB driver: btusb bus ID: 1-1.3:3
Drives: Local Storage: total: 939.05 GiB used: 9.74 GiB (1.0%)
ID-1: /dev/sda vendor: Western Digital model: WD10SPCX-24HWST1 size: 931.51 GiB
ID-2: /dev/sdc type: USB vendor: PNY model: USB 2.0 FD size: 7.54 GiB
Partition: ID-1: / size: 923.13 GiB used: 9.66 GiB (1.0%) fs: btrfs dev: /dev/dm-2
ID-2: /boot size: 247.9 MiB used: 86.2 MiB (34.8%) fs: ext2 dev: /dev/sda2
ID-3: swap-1 size: 8.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-1
Sensors: Message: No sensors data was found. Is sensors configured?
Info: Processes: 162 Uptime: 2h 33m Memory: 7.32 GiB used: 395.6 MiB (5.3%) Init: systemd Compilers: gcc: 8.2.1
Shell: bash v: 4.4.23 inxi: 3.0.27

lsmod:

vfat 20480 2
fat 81920 1 vfat
ext4 720896 1
mbcache 16384 1 ext4
jbd2 118784 1 ext4
fscrypto 32768 1 ext4
joydev 24576 0
mousedev 24576 0
wl 6463488 0
uvcvideo 102400 0
edac_mce_amd 28672 0
ath10k_pci 53248 0
ath10k_core 368640 1 ath10k_pci
videobuf2_vmalloc 16384 1 uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
videobuf2_v4l2 28672 1 uvcvideo
videobuf2_core 45056 2 videobuf2_v4l2,uvcvideo
videodev 208896 3 videobuf2_core,videobuf2_v4l2,uvcvideo
ath 36864 1 ath10k_core
wmi_bmof 16384 0
btusb 53248 0
btrtl 16384 1 btusb
mac80211 905216 1 ath10k_core
btbcm 16384 1 btusb
btintel 16384 1 btusb
bluetooth 634880 26 btrtl,btintel,btbcm,bnep,btusb
media 45056 2 videodev,uvcvideo
ecdh_generic 24576 1 bluetooth
cfg80211 733184 4 wl,ath,mac80211,ath10k_core
crc16 16384 2 bluetooth,ext4
snd_hda_codec_realtek 110592 1
ideapad_laptop 32768 0
kvm 712704 0
irqbypass 16384 1 kvm
evdev 24576 12
input_leds 16384 0
psmouse 167936 0
sparse_keymap 16384 1 ideapad_laptop
snd_hda_codec_generic 86016 1 snd_hda_codec_realtek
snd_hda_codec_hdmi 57344 1
led_class 16384 1 input_leds
rfkill 28672 5 bluetooth,ideapad_laptop,cfg80211
r8169 94208 0
rtsx_pci_ms 20480 0
mac_hid 16384 0
memstick 16384 1 rtsx_pci_ms
pcspkr 16384 0
sp5100_tco 16384 0
wmi 28672 2 wmi_bmof,ideapad_laptop
mii 16384 1 r8169
fam15h_power 16384 0
i2c_piix4 24576 0
i2c_scmi 16384 0
i2c_hid 24576 0
battery 20480 0
hid 131072 1 i2c_hid
video 45056 1 ideapad_laptop
shpchp 40960 0
snd_hda_intel 45056 1
pcc_cpufreq 16384 0
button 16384 0
ac 16384 0
snd_hda_codec 151552 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core 90112 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 118784 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer 36864 1 snd_pcm
snd 94208 10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
soundcore 16384 1 snd
acpi_cpufreq 24576 0
sch_fq_codel 20480 2
crypto_user 16384 0
ip_tables 28672 0
x_tables 45056 1 ip_tables
algif_skcipher 16384 0
af_alg 28672 1 algif_skcipher
dm_crypt 40960 1
dm_mod 143360 9 dm_crypt
sd_mod 61440 8
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
xhci_pci 16384 0
ghash_clmulni_intel 16384 0
pcbc 16384 0
rtsx_pci_sdmmc 28672 0
ehci_pci 16384 0
ahci 40960 3
serio_raw 16384 0
libahci 40960 1 ahci
atkbd 32768 0
xhci_hcd 241664 1 xhci_pci
ehci_hcd 94208 1 ehci_pci
mmc_core 167936 1 rtsx_pci_sdmmc
libps2 16384 2 atkbd,psmouse
aesni_intel 188416 2
aes_x86_64 20480 1 aesni_intel
crypto_simd 16384 1 aesni_intel
glue_helper 16384 1 aesni_intel
libata 278528 2 libahci,ahci
cryptd 28672 4 crypto_simd,ghash_clmulni_intel,aesni_intel
usbcore 286720 8 xhci_hcd,ehci_pci,usb_storage,uvcvideo,ehci_hcd,btusb,xhci_pci,uas
scsi_mod 212992 4 sd_mod,usb_storage,uas,libata
usb_common 16384 1 usbcore
rtsx_pci 65536 2 rtsx_pci_sdmmc,rtsx_pci_ms
i8042 32768 1 ideapad_laptop
serio 28672 6 serio_raw,atkbd,psmouse,i8042
radeon 1658880 0
amdgpu 2301952 3
i2c_algo_bit 16384 2 amdgpu,radeon
drm_kms_helper 192512 2 amdgpu,radeon
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
ttm 114688 2 amdgpu,radeon
drm 434176 6 drm_kms_helper,amdgpu,radeon,ttm
agpgart 49152 2 ttm,drm
crc32c_generic 16384 0
crc32c_intel 24576 2
btrfs 1331200 1
xor 24576 1 btrfs
zstd_decompress 81920 1 btrfs
zstd_compress 180224 1 btrfs
xxhash 16384 2 zstd_compress,zstd_decompress
raid6_pq 122880 1 btrfs

nmcli device:

DEVICE TYPE STATE CONNECTION
enp2s0 ethernet unavailable –
lo loopback unmanaged –

nmcli radio:

WIFI-HW WIFI WWAN-HW WWAN
enabled enabled enabled enabled

nmcli device wifi list:

(empty)

dmesg | grep - i firmware:

[ 0.018762] [Firmware Bug]: cpu 0, invalid threshold interrupt offset 1 for bank 4, block 0 (MSR00000413=0xd000000001000000)
[ 0.147216] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[ 0.163107] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
[ 1.794134] [drm] Found UVD firmware Version: 1.43 Family ID: 15
[ 1.794456] [drm] Found VCE firmware Version: 52.0 Binary ID: 3
[ 133.202069] psmouse serio1: elantech: assuming hardware version 4 (with firmware version 0x595f04)
[ 133.598879] Bluetooth: hci0: QCA: patch rome 0x300 build 0x3e8, firmware rome 0x300 build 0x111
[ 134.232723] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:03:00.0.bin failed with error -2
[ 134.232754] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2
[ 134.289790] ath10k_pci 0000:03:00.0: firmware ver WLAN.TF.2.1-00021-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 42e41877

Thanks for the help :slight_smile:

As an aside question, do you guys know if it’s possible to change the Alt+PGUP shortcut for scrolling? And, is having a Fontconfig/fonts.conf the best setup for enlarging the font, like I have currently (i.e. by modifying pixelsize)?

And, is doing > output.txt the most efficient way to be making a record of output? Should I be formatting these differntly in the forum posts?


#7

As I suspected it looks like the firmware may be at fault from the dmesg errors.

Try the firmware I have linked in the post below. Not sure if the source is still working but follow the directions to install that version:


#8

Thanks.

There’s a source on the arch repos:

https://www.archlinux.org/packages/core/any/linux-firmware/

I installed with pacman while booted to ISO, wasn’t sure if that did it, so pacstrapped it to /mnt.

Rebooted. Queried it, it says I have v. 20181026.1cb4e51-1.

However, nmcli device wifi list still gives no returns.

I’ll pull the dmesg results again…


#9

Well I would try the source I linked if the version you installed isn’t working. It’s possible they are different and it may do the trick for you. It is not just a random source from the internet. The lead on the Manjaro project posted that file a while back to correct issues with this adapter.

I’m only on my cell so it’s tough to find stuff ATM.

Good luck.


#10

I tried from windows and couldn’t find it, that’s why I tried the Arch version.

I also looked through here http://ftp.riken.jp/Linux/manjaro/pool/overlay/

and https://mirror.yandex.ru/mirrors/manjaro/pool/overlay/

but it wasn’t in either.

If I try to install from ISO it tells me that it fails to retrieve file, unexpected error.

I’ll have a hunt around for the exact version - thanks.


#11

You could also install from your pacman cache if you have previous versions stored. If it’s a fresh install then unfortunately that’s not an option.


#12

It’s a fresh install. If it works from the ISO, though, isn’t there a way of porting a firmware that will work somehow? I’m a fairly new user, so I don’t know if that’s a lot more ridiculous than it sounds.


#13

This thread also has relevant data and what worked for my very similar problem.


#14

Thanks.

I found the following mirror - http://kambing.ui.ac.id/manjaro/stable/core/x86_64/linux-firmware-20181026.1cb4e51-0.1-any.pkg.tar.xz

If it doesn’t fix the issue, I’ll try your fix.

Edit: Odd, the mirror works fine on windows but pacman is rejecting it. Perhaps it needs adding in the mirrorlist? Is this advised?


#15

The syntax is pacman -U [URL] or download it and pacman -U [path-to-file]


#16

Thanks - I may well have a typo, but, either way, CapnJak’s fix has worked for now.

I’ve some further troubleshooting to do with i3status and systemctl hibernate, but both are minor issues that I should hopefully be able to deal with on my own.

Thanks all.

Hopefully I can learn enough to eventually be of use around here.