You are not logged in.

#1 2017-12-06 12:23:55

all3fox
Member
Registered: 2013-07-01
Posts: 7

[Solved] Lenovo E570 WiFi not working (QCA6174)

Some info about my laptop:

alex@k-2so ~ % uname -a
Linux k-2so 4.14.3-1-ARCH #1 SMP PREEMPT Thu Nov 30 18:33:13 UTC 2017 x86_64 GNU/Linux
alex@k-2so ~ % lspci | grep -i net
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
05:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
alex@k-2so ~ % dmesg | grep ath10k
[   11.465423] ath10k_pci 0000:05:00.0: enabling device (0000 -> 0002)
[   11.465973] ath10k_pci 0000:05:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   11.721851] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:05:00.0.bin failed with error -2
[   11.721861] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/cal-pci-0000:05:00.0.bin failed with error -2
[   11.722089] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-6.bin failed with error -2
[   11.722099] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[   11.723810] ath10k_pci 0000:05:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 17aa:0827
[   11.723811] ath10k_pci 0000:05:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 0 testmode 0
[   11.724235] ath10k_pci 0000:05:00.0: firmware ver WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 features wowlan,ignore-otp,no-4addr-pad crc32 75dee6c5
[   11.788941] ath10k_pci 0000:05:00.0: board_file api 2 bmi_id N/A crc32 0e26ef70
[   12.384485] ath10k_pci 0000:05:00.0: htt-ver 3.26 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[   12.467100] ath10k_pci 0000:05:00.0 wlp5s0: renamed from wlan0

Long story short, it looks like my laptop ships with different wireless cards. Here is a thread where my card is used (but on a different laptop) and here is a thread where my laptop is used (but with a different card?). I was using the workaround from the first thread (downgrade from using `firmware-6.bin` to using `firmware-4.bin`, also summarized here) for a while now only to wake up today to a non-working WiFi.

So, I hooked up to my router with an Ethernet cable and double checked that I'm using the old `firmware-4.bin` for my card. Turned out I was not: there was a new `firmware-6.bin` sitting in `/usr/lib/firmware/ath10k/QCA6174/hw3.0` since `2017-11-24`. That's weird because yesterday WiFi worked for me. Anyway, I downgraded it again and it did not help.

I'm currently running `firmware-4.bin` which does not work, I will upgrade back to `firmware-6.bin` and post `dmesg` output shortly.

Last edited by all3fox (2017-12-06 12:52:06)

Offline

#2 2017-12-06 12:27:58

all3fox
Member
Registered: 2013-07-01
Posts: 7

Re: [Solved] Lenovo E570 WiFi not working (QCA6174)

Here is `dmesg` when running with `firmware-6.bin`

alex@k-2so ~ % dmesg | grep ath10k
[   10.416664] ath10k_pci 0000:05:00.0: enabling device (0000 -> 0002)
[   10.421296] ath10k_pci 0000:05:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   10.688690] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:05:00.0.bin failed with error -2
[   10.688704] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/cal-pci-0000:05:00.0.bin failed with error -2
[   10.692083] ath10k_pci 0000:05:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 17aa:0827
[   10.692091] ath10k_pci 0000:05:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 0 testmode 0
[   10.692700] ath10k_pci 0000:05:00.0: firmware ver WLAN.RM.4.4.1-00051-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 c3fd4411
[   10.758577] ath10k_pci 0000:05:00.0: board_file api 2 bmi_id N/A crc32 0e26ef70
[   11.346939] ath10k_pci 0000:05:00.0: Unknown eventid: 118809
[   11.349983] ath10k_pci 0000:05:00.0: Unknown eventid: 90118
[   11.350796] ath10k_pci 0000:05:00.0: htt-ver 3.44 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[   11.431704] ath10k_pci 0000:05:00.0 wlp5s0: renamed from wlan0

In both cases trying `sudo wifi-menu` or `sudo netctl start wlp5s0@some_wifi_profile` fails. For both firmwares I've also tried `sudo iw dev wlp5s0 set power_save off` which did not work.

Any suggestions?

Last edited by all3fox (2017-12-06 12:31:23)

Offline

#3 2017-12-06 12:40:38

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,532
Website

Re: [Solved] Lenovo E570 WiFi not working (QCA6174)

You've not actually shown a problem.  Your dmesg output does indeed show a few attempted firmware loads failing, but then it looks like one succeeds.

As for netctl not working, that introduces countless other variables (not the least of which is the obscurred "some_wifi_profile").  What is the output of `ip a`?  What is the first step in connecting manually that fails or gives an error?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2017-12-06 12:49:48

all3fox
Member
Registered: 2013-07-01
Posts: 7

Re: [Solved] Lenovo E570 WiFi not working (QCA6174)

@Trilby thanks so much!

It turned out to be the rfkill caveat for me:

alex@k-2so ~ % rfkill list                                                                                                        :(
0: tpacpi_bluetooth_sw: Bluetooth
	Soft blocked: no
	Hard blocked: no
1: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
2: phy0: Wireless LAN
	Soft blocked: yes
	Hard blocked: no
alex@k-2so ~ % rfkill unblock wifi

After that, my WiFi worked with the latest firmware. Will be marking as solved.

Last edited by all3fox (2017-12-06 12:50:37)

Offline

Board footer

Powered by FluxBB