Summary of all tests:

before in dmesg, plain 18.10 install, all files from Ubuntu 18.10:

[    4.242132] ath10k_pci 0000:01:00.0: qca6174 hw3.2 target 0x05030000 chip_id 
0x00340aff sub 168c:3370
[    4.242138] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 
0 testmode 0
[    4.243006] ath10k_pci 0000:01:00.0: firmware ver 
WLAN.RM.4.4.1-00079-QCARMSWPZ-1 api 6 features wowlan,ignore-otp crc32 fd869beb
[    4.308059] ath10k_pci 0000:01:00.0: failed to fetch board data for 
bus=pci,vendor=168c,device=003e,subsystem-vendor=168c,subsystem-device=3370 
from ath10k/QCA6174/hw3.0/board-2.bin
[    4.309354] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 
ed5f849a


after copying board.bin from 
http://www.killernetworking.com/support/K1535_Debian/board.bin to 
/lib/firmware/ath10k/QCA6174/hw3.0/:

dmesg | grep ath
[    4.513563] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 
reset_mode 0
[    4.806988] ath10k_pci 0000:01:00.0: qca6174 hw3.2 target 0x05030000 chip_id 
0x00340aff sub 168c:3370
[    4.806994] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 
0 testmode 0
[    4.807918] ath10k_pci 0000:01:00.0: firmware ver 
WLAN.RM.4.4.1-00079-QCARMSWPZ-1 api 6 features wowlan,ignore-otp crc32 fd869beb
[    4.876632] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 
70c38a29
[    5.593731] ath10k_pci 0000:01:00.0: Unknown eventid: 118809
[    5.596743] ath10k_pci 0000:01:00.0: Unknown eventid: 90118
[    5.600688] ath10k_pci 0000:01:00.0: htt-ver 3.47 wmi-op 4 htt-op 3 cal otp 
max-sta 32 raw 0 hwcrypto 1
[    5.691843] ath: EEPROM regdomain: 0x0
[    5.691845] ath: EEPROM indicates default country code should be used
[    5.691846] ath: doing EEPROM country->regdmn map search
[    5.691849] ath: country maps to regdmn code: 0x3a
[    5.691850] ath: Country alpha2 being used: US
[    5.691851] ath: Regpair used: 0x3a
[    6.576740] ath10k_pci 0000:01:00.0 wlp1s0: renamed from wlan0
[    7.403038] ath10k_pci 0000:01:00.0: Unknown eventid: 118809
[    7.406042] ath10k_pci 0000:01:00.0: Unknown eventid: 90118
[  184.060093] ath10k_pci 0000:01:00.0: Unknown eventid: 118809
[  184.063109] ath10k_pci 0000:01:00.0: Unknown eventid: 90118

board-2.bin and firmware-6.bin to /lib/firmware/ath10k/QCA6174/hw3.0
from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-
firmware.git/plain/ath10k/QCA6174/hw3.0/

dmesg | grep ath1
[    4.705768] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 
reset_mode 0
[    5.018964] ath10k_pci 0000:01:00.0: qca6174 hw3.2 target 0x05030000 chip_id 
0x00340aff sub 168c:3370
[    5.018969] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 
0 testmode 0
[    5.019857] ath10k_pci 0000:01:00.0: firmware ver 
RM.4.4.1.c2-00057-QCARMSWP-1 api 6 features 
wowlan,ignore-otp,no-4addr-pad,raw-mode crc32 e061250a
[    5.086600] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 
20d869c3
[    5.767716] ath10k_pci 0000:01:00.0: firmware crashed! (guid 
390954f4-9e12-4a66-beb8-e2378fd94072)
[    5.767728] ath10k_pci 0000:01:00.0: qca6174 hw3.2 target 0x05030000 chip_id 
0x00340aff sub 168c:3370
[    5.767733] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 
0 testmode 0
[    5.768636] ath10k_pci 0000:01:00.0: firmware ver 
RM.4.4.1.c2-00057-QCARMSWP-1 api 6 features 
wowlan,ignore-otp,no-4addr-pad,raw-mode crc32 e061250a
[    5.769298] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 
20d869c3
[    5.769303] ath10k_pci 0000:01:00.0: htt-ver 0.0 wmi-op 4 htt-op 3 cal otp 
max-sta 32 raw 0 hwcrypto 1
[    5.771614] ath10k_pci 0000:01:00.0: firmware register dump:
[    5.771623] ath10k_pci 0000:01:00.0: [00]: 0x05030000 0x000015B3 0x0094AF7F 
0x00955B31
[    5.771629] ath10k_pci 0000:01:00.0: [04]: 0x0094AF7F 0x00060130 0x0000001E 
0x00000010
[    5.771634] ath10k_pci 0000:01:00.0: [08]: 0x00401FC0 0x0040E948 0x0040E950 
0x00408794
[    5.771639] ath10k_pci 0000:01:00.0: [12]: 0x00000009 0x00000000 0x00952A41 
0x00952A4F
[    5.771645] ath10k_pci 0000:01:00.0: [16]: 0x00952CC4 0x0091080D 0x00000000 
0x00000000
[    5.771650] ath10k_pci 0000:01:00.0: [20]: 0x4094AF7F 0x0040E8C8 0x00000000 
0x0040A2E0
[    5.771655] ath10k_pci 0000:01:00.0: [24]: 0x8093F091 0x0040E928 0x00400000 
0xC094AF7F
[    5.771661] ath10k_pci 0000:01:00.0: [28]: 0x8093F0E6 0x0040E948 0x00401FC0 
0x0040EA30
[    5.771666] ath10k_pci 0000:01:00.0: [32]: 0x80926B65 0x0040E988 0x00401FC0 
0x0040EA30
[    5.771671] ath10k_pci 0000:01:00.0: [36]: 0x809E61CD 0x0040E9A8 0x0040EA2C 
0x00000000
[    5.771676] ath10k_pci 0000:01:00.0: [40]: 0x800A11DB 0x0040E9E8 0x0040EA2C 
0x004235A0
[    5.771681] ath10k_pci 0000:01:00.0: [44]: 0x800A08D5 0x0040EA18 0x00421508 
0x00400000
[    5.771686] ath10k_pci 0000:01:00.0: [48]: 0x800A0C0E 0x0040EA88 0x00416DD0 
0x00400000
[    5.771692] ath10k_pci 0000:01:00.0: [52]: 0x800A0658 0x0040EAA8 0x000008E0 
0x00100000
[    5.771697] ath10k_pci 0000:01:00.0: [56]: 0x80910829 0x0040EAC8 0x03EF1480 
0x00007DE2
[    5.771702] ath10k_pci 0000:01:00.0: Copy Engine register dump:
[    5.771816] ath10k_pci 0000:01:00.0: [00]: 0x00034400   4   4  21  20
[    5.771934] ath10k_pci 0000:01:00.0: [01]: 0x00034800  16  16  15  16
[    5.772174] ath10k_pci 0000:01:00.0: [02]: 0x00034c00   0   0 127   0
[    5.772294] ath10k_pci 0000:01:00.0: [03]: 0x00035000   0   0   0   0
[    5.772412] ath10k_pci 0000:01:00.0: [04]: 0x00035400   0   0   0   0
[    5.772531] ath10k_pci 0000:01:00.0: [05]: 0x00035800   0   0   0   0
[    5.772649] ath10k_pci 0000:01:00.0: [06]: 0x00035c00   0   0   0   0
[    5.772768] ath10k_pci 0000:01:00.0: [07]: 0x00036000   1   1   1   1
[    6.784041] ath10k_pci 0000:01:00.0: failed to receive control response 
completion, polling..
[    7.808034] ath10k_pci 0000:01:00.0: ctl_resp never came in (-110)
[    7.808041] ath10k_pci 0000:01:00.0: failed to connect to HTC: -110
[    7.858848] ath10k_pci 0000:01:00.0: device has crashed during init
[    7.887146] ath10k_pci 0000:01:00.0: device has crashed during init
[    7.887150] ath10k_pci 0000:01:00.0: failed to wait for target init: -70
[    7.889338] ath10k_pci 0000:01:00.0: could not init core (-110)
[    7.889386] ath10k_pci 0000:01:00.0: could not probe fw (-110)
[    7.920207] ath10k_pci 0000:01:00.0: cannot restart a device that hasn't 
been started

board-2.bin and firmware-6.bin to /lib/firmware/ath10k/QCA6174/hw3.0/
from latest commit for the QCA6174 cards on 13h november from kvalo, see
https://github.com/kvalo/ath10k-firmware/tree/master/QCA6174

dmesg | grep ath1
[    4.624760] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 
reset_mode 0
[    4.928592] ath10k_pci 0000:01:00.0: qca6174 hw3.2 target 0x05030000 chip_id 
0x00340aff sub 168c:3370
[    4.928598] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 
0 testmode 0
[    4.929487] ath10k_pci 0000:01:00.0: firmware ver 
WLAN.RM.4.4.1-00124-QCARMSWPZ-1 api 6 features wowlan,ignore-otp crc32 d8fe1bac
[    5.005034] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 
506ce037
[    5.725759] ath10k_pci 0000:01:00.0: firmware crashed! (guid 
ea0d5928-a665-44b0-b43d-f621ba4cdaed)
[    5.725773] ath10k_pci 0000:01:00.0: qca6174 hw3.2 target 0x05030000 chip_id 
0x00340aff sub 168c:3370
[    5.725777] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 
0 testmode 0
[    5.726695] ath10k_pci 0000:01:00.0: firmware ver 
WLAN.RM.4.4.1-00124-QCARMSWPZ-1 api 6 features wowlan,ignore-otp crc32 d8fe1bac
[    5.727372] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 
506ce037
[    5.727377] ath10k_pci 0000:01:00.0: htt-ver 0.0 wmi-op 4 htt-op 3 cal otp 
max-sta 32 raw 0 hwcrypto 1
[    5.729688] ath10k_pci 0000:01:00.0: firmware register dump:
[    5.729696] ath10k_pci 0000:01:00.0: [00]: 0x05030000 0x000015B3 0x0094AF7F 
0x00955B31
[    5.729704] ath10k_pci 0000:01:00.0: [04]: 0x0094AF7F 0x00060130 0x0000001E 
0x00000010
[    5.729709] ath10k_pci 0000:01:00.0: [08]: 0x00401FC0 0x0040E948 0x0040E950 
0x00408794
[    5.729714] ath10k_pci 0000:01:00.0: [12]: 0x00000009 0x00000000 0x00952A41 
0x00952A4F
[    5.729719] ath10k_pci 0000:01:00.0: [16]: 0x00952CC4 0x00911212 0x00000000 
0x00000000
[    5.729724] ath10k_pci 0000:01:00.0: [20]: 0x4094AF7F 0x0040E8C8 0x00000000 
0x0040A2E0
[    5.729730] ath10k_pci 0000:01:00.0: [24]: 0x8093F091 0x0040E928 0x00400000 
0xC094AF7F
[    5.729734] ath10k_pci 0000:01:00.0: [28]: 0x8093F0E6 0x0040E948 0x00401FC0 
0x0040EA30
[    5.729739] ath10k_pci 0000:01:00.0: [32]: 0x80926B65 0x0040E988 0x00401FC0 
0x0040EA30
[    5.729744] ath10k_pci 0000:01:00.0: [36]: 0x809E3CD1 0x0040E9A8 0x0040EA2C 
0x00000000
[    5.729749] ath10k_pci 0000:01:00.0: [40]: 0x800A1167 0x0040E9E8 0x0040EA2C 
0x00428E80
[    5.729754] ath10k_pci 0000:01:00.0: [44]: 0x800A08D5 0x0040EA18 0x004209E8 
0x00400000
[    5.729759] ath10k_pci 0000:01:00.0: [48]: 0x800A0B8A 0x0040EA88 0x00416DE0 
0x00400000
[    5.729764] ath10k_pci 0000:01:00.0: [52]: 0x800A0658 0x0040EAA8 0x000008E0 
0x00100000
[    5.729770] ath10k_pci 0000:01:00.0: [56]: 0x80910829 0x0040EAC8 0x03EF1480 
0x00007DE2
[    5.729774] ath10k_pci 0000:01:00.0: Copy Engine register dump:
[    5.729888] ath10k_pci 0000:01:00.0: [00]: 0x00034400  12  12  29  28
[    5.730007] ath10k_pci 0000:01:00.0: [01]: 0x00034800  16  16  15  16
[    5.730125] ath10k_pci 0000:01:00.0: [02]: 0x00034c00   0   0 127   0
[    5.730244] ath10k_pci 0000:01:00.0: [03]: 0x00035000   0   0   0   0
[    5.730361] ath10k_pci 0000:01:00.0: [04]: 0x00035400   0   0   0   0
[    5.730481] ath10k_pci 0000:01:00.0: [05]: 0x00035800   0   0   0   0
[    5.730600] ath10k_pci 0000:01:00.0: [06]: 0x00035c00   0   0   0   0
[    5.730718] ath10k_pci 0000:01:00.0: [07]: 0x00036000   1   1   1   1
[    6.720050] ath10k_pci 0000:01:00.0: failed to receive control response 
completion, polling..
[    7.744168] ath10k_pci 0000:01:00.0: ctl_resp never came in (-110)
[    7.744174] ath10k_pci 0000:01:00.0: failed to connect to HTC: -110
[    7.794714] ath10k_pci 0000:01:00.0: device has crashed during init
[    7.822937] ath10k_pci 0000:01:00.0: device has crashed during init
[    7.822941] ath10k_pci 0000:01:00.0: failed to wait for target init: -70
[    7.825096] ath10k_pci 0000:01:00.0: could not init core (-110)
[    7.825143] ath10k_pci 0000:01:00.0: could not probe fw (-110)
[    7.848065] ath10k_pci 0000:01:00.0: cannot restart a device that hasn't 
been started

board-2.bin from latest commit for the QCA6174 cards on 13h november
from kvalo, see https://github.com/kvalo/ath10k-
firmware/tree/master/QCA6174 and original firmware-6.bin from Ubuntu
18.10 to /lib/firmware/ath10k/QCA6174/hw3.0/:

dmesg | grep ath1
[    4.610100] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 
reset_mode 0
[    4.898363] ath10k_pci 0000:01:00.0: qca6174 hw3.2 target 0x05030000 chip_id 
0x00340aff sub 168c:3370
[    4.898369] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 
0 testmode 0
[    4.899246] ath10k_pci 0000:01:00.0: firmware ver 
WLAN.RM.4.4.1-00079-QCARMSWPZ-1 api 6 features wowlan,ignore-otp crc32 fd869beb
[    4.968195] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 
506ce037
[    5.733623] ath10k_pci 0000:01:00.0: firmware crashed! (guid 
baa47533-5590-41e1-801f-4aa5bbf89eb5)
[    5.733635] ath10k_pci 0000:01:00.0: qca6174 hw3.2 target 0x05030000 chip_id 
0x00340aff sub 168c:3370
[    5.733653] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 
0 testmode 0
[    5.734531] ath10k_pci 0000:01:00.0: firmware ver 
WLAN.RM.4.4.1-00079-QCARMSWPZ-1 api 6 features wowlan,ignore-otp crc32 fd869beb
[    5.735203] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 
506ce037
[    5.735209] ath10k_pci 0000:01:00.0: htt-ver 0.0 wmi-op 4 htt-op 3 cal otp 
max-sta 32 raw 0 hwcrypto 1
[    5.737524] ath10k_pci 0000:01:00.0: firmware register dump:
[    5.737533] ath10k_pci 0000:01:00.0: [00]: 0x05030000 0x000015B3 0x0094AF7F 
0x00955B31
[    5.737539] ath10k_pci 0000:01:00.0: [04]: 0x0094AF7F 0x00060130 0x0000001E 
0x00000010
[    5.737544] ath10k_pci 0000:01:00.0: [08]: 0x00401FC0 0x0040E948 0x0040E950 
0x00408794
[    5.737549] ath10k_pci 0000:01:00.0: [12]: 0x00000009 0x00000000 0x00952A41 
0x00952A4F
[    5.737555] ath10k_pci 0000:01:00.0: [16]: 0x00952CC4 0x0091080D 0x00000000 
0x00000000
[    5.737559] ath10k_pci 0000:01:00.0: [20]: 0x4094AF7F 0x0040E8C8 0x00000000 
0x0040A2E0
[    5.737564] ath10k_pci 0000:01:00.0: [24]: 0x8093F091 0x0040E928 0x00400000 
0xC094AF7F
[    5.737570] ath10k_pci 0000:01:00.0: [28]: 0x8093F0E6 0x0040E948 0x00401FC0 
0x0040EA30
[    5.737574] ath10k_pci 0000:01:00.0: [32]: 0x80926B65 0x0040E988 0x00401FC0 
0x0040EA30
[    5.737579] ath10k_pci 0000:01:00.0: [36]: 0x809E39E9 0x0040E9A8 0x0040EA2C 
0x00000000
[    5.737584] ath10k_pci 0000:01:00.0: [40]: 0x800A115F 0x0040E9E8 0x0040EA2C 
0x00428C30
[    5.737589] ath10k_pci 0000:01:00.0: [44]: 0x800A08C9 0x0040EA18 0x00420798 
0x00400000
[    5.737594] ath10k_pci 0000:01:00.0: [48]: 0x800A0B82 0x0040EA88 0x00416DE0 
0x00400000
[    5.737599] ath10k_pci 0000:01:00.0: [52]: 0x800A0658 0x0040EAA8 0x000008E0 
0x00100000
[    5.737604] ath10k_pci 0000:01:00.0: [56]: 0x80910829 0x0040EAC8 0x03EF1480 
0x00007DE2
[    5.737608] ath10k_pci 0000:01:00.0: Copy Engine register dump:
[    5.737723] ath10k_pci 0000:01:00.0: [00]: 0x00034400   2   2  19  18
[    5.737845] ath10k_pci 0000:01:00.0: [01]: 0x00034800  16  16  15  16
[    5.737960] ath10k_pci 0000:01:00.0: [02]: 0x00034c00   0   0 127   0
[    5.738077] ath10k_pci 0000:01:00.0: [03]: 0x00035000   0   0   0   0
[    5.738197] ath10k_pci 0000:01:00.0: [04]: 0x00035400   0   0   0   0
[    5.738315] ath10k_pci 0000:01:00.0: [05]: 0x00035800   0   0   0   0
[    5.738435] ath10k_pci 0000:01:00.0: [06]: 0x00035c00   0   0   0   0
[    5.738553] ath10k_pci 0000:01:00.0: [07]: 0x00036000   1   1   1   1
[    6.752054] ath10k_pci 0000:01:00.0: failed to receive control response 
completion, polling..
[    7.776175] ath10k_pci 0000:01:00.0: ctl_resp never came in (-110)
[    7.776181] ath10k_pci 0000:01:00.0: failed to connect to HTC: -110
[    7.826718] ath10k_pci 0000:01:00.0: device has crashed during init
[    7.854992] ath10k_pci 0000:01:00.0: device has crashed during init
[    7.854996] ath10k_pci 0000:01:00.0: failed to wait for target init: -70
[    7.857044] ath10k_pci 0000:01:00.0: could not init core (-110)
[    7.857086] ath10k_pci 0000:01:00.0: could not probe fw (-110)
[    7.880040] ath10k_pci 0000:01:00.0: cannot restart a device that hasn't 
been started

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-firmware in Ubuntu.
https://bugs.launchpad.net/bugs/1804028

Title:
  Surface Go - Atheros Qualcomm Killer N1525 Wireless-AC [168c:003e] not
  correctly recognized

Status in linux-firmware package in Ubuntu:
  New

Bug description:
  Output of dmesg on Surface Go fresh installed Ubuntu 18.10.

  "[ 4.242132] ath10k_pci 0000:01:00.0: qca6174 hw3.2 target 0x05030000 chip_id 
0x00340aff sub 168c:3370
  [ 4.242138] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 
0 testmode 0
  [ 4.243006] ath10k_pci 0000:01:00.0: firmware ver 
WLAN.RM.4.4.1-00079-QCARMSWPZ-1 api 6 features wowlan,ignore-otp crc32 fd869beb
  [ 4.308059] ath10k_pci 0000:01:00.0: failed to fetch board data for 
bus=pci,vendor=168c,device=003e,subsystem-vendor=168c,subsystem-device=3370 
from ath10k/QCA6174/hw3.0/board-2.bin
  [ 4.309354] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 
ed5f849a"

  There is a board.bin available directly from the vendor
  http://www.killernetworking.com/support/K1535_Debian/board.bin

  The only thing which is missing is getting this added to
  https://wireless.wiki.kernel.org/en/users/drivers/ath10k/boardfiles so
  the official board-2.bin. My problem is that I dont know how to read
  the board files and modify them because I do not know the encoding
  they use.

  Also there have been some updates in the upstream linux-firmware repo.
  https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-
  firmware.git/commit/?id=a87eb5f7bac0f70ade57da57d9126d14eee12336 and
  https://github.com/kvalo/ath10k-firmware/tree/master/QCA6174/hw3.0 but
  they also do not help to get the wifi card working/recognized.

  Any ideas how to get this solved?

  Also there is a guide how to port it to Linux
  https://developer.qualcomm.com/download/qca9377/wlan-bluetooth-linux-
  porting-guide.pdf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1804028/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to