• Problem installing on surface go


    Hi, I’m trying to install antergos-18.10-x86_64 on an MS surface go and have run into an issue with the wireless.

    I can boot into the installer but the tablet has a Qualcomm Atheros QCA6174 wireless adapter. This doesn’t seem to be supported in the iso image.

    I believe there is updated firmware that can be installed but I need to install a system first and the installer requires wireless. The tablet has only a single usb-c port so can’t readily connect ethernet and the install usb.

    Any ideas on how to proceed?

  • Some more details:

    Took a picture of dmesg | grep ath10k:
    0_1540877064330_IMG_0308.jpg

    Success is reported for this tablet with a tweak of wifi at: https://www.reddit.com/r/SurfaceLinux/comments/94hjxv/surface_go_first_impressions/ but the board.bin replacement file is identical in size to the one in /usr/lib/firmware/ath10k/QCA6174/hw3.0 in the iso so it might be the same already. I’ve tried removing and reading the modules using modprobe with no success.

    The wireless menu appears in the gui but selecting networks never finds anything.

  • Plugged in a usb hub which let me swap some files and record outputs. Still no luck but some more info.

    After booting in the installer, ath10k/QCA6174/hw3.0/board-2.bin has issues:

    $ dmesg | grep ath1
    [   14.734585] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
    [   15.116645] ath10k_pci 0000:01:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 168c:3370
    [   15.116651] ath10k_pci 0000:01:00.0: kconfig debug 1 debugfs 1 tracing 1 dfs 0 testmode 0
    [   15.118287] ath10k_pci 0000:01:00.0: firmware ver WLAN.RM.4.4.1-00079-QCARMSWPZ-1 api 6 features wowlan,ignore-otp crc32 fd869beb
    [   15.195789] 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
    [   15.210661] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 ed5f849a
    [   15.798479] ath10k_pci 0000:01:00.0: Unknown eventid: 118809
    [   15.801430] ath10k_pci 0000:01:00.0: Unknown eventid: 90118
    [   18.826688] ath10k_pci 0000:01:00.0: htt version request timed out
    [   18.826694] ath10k_pci 0000:01:00.0: failed to setup htt: -110
    [   18.898405] ath10k_pci 0000:01:00.0: could not init core (-110)
    [   18.898513] ath10k_pci 0000:01:00.0: could not probe fw (-110)
    

    lspci -k

    $ lspci -k
    00:00.0 Host bridge: Intel Corporation Device 590c (rev 02)
    	Subsystem: QUANTA Computer Inc Device 1182
    00:02.0 VGA compatible controller: Intel Corporation Device 591e (rev 02)
    	Subsystem: QUANTA Computer Inc Device 1182
    	Kernel driver in use: i915
    	Kernel modules: i915
    00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 02)
    	Subsystem: QUANTA Computer Inc Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
    	Kernel driver in use: proc_thermal
    	Kernel modules: processor_thermal_device
    00:05.0 Multimedia controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Imaging Unit (rev 01)
    	Subsystem: QUANTA Computer Inc Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Imaging Unit
    00:13.0 Non-VGA unclassified device: Intel Corporation Sunrise Point-LP Integrated Sensor Hub (rev 21)
    	Subsystem: QUANTA Computer Inc Sunrise Point-LP Integrated Sensor Hub
    	Kernel driver in use: intel_ish_ipc
    	Kernel modules: intel_ish_ipc
    00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
    	Subsystem: QUANTA Computer Inc Sunrise Point-LP USB 3.0 xHCI Controller
    	Kernel driver in use: xhci_hcd
    	Kernel modules: xhci_pci
    00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
    	Subsystem: QUANTA Computer Inc Sunrise Point-LP Thermal subsystem
    	Kernel driver in use: intel_pch_thermal
    	Kernel modules: intel_pch_thermal
    00:14.3 Multimedia controller: Intel Corporation Device 9d32 (rev 01)
    	Kernel modules: ipu3_cio2
    00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
    	Subsystem: QUANTA Computer Inc Sunrise Point-LP Serial IO I2C Controller
    	Kernel driver in use: intel-lpss
    	Kernel modules: intel_lpss_pci
    00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
    	Subsystem: QUANTA Computer Inc Sunrise Point-LP Serial IO I2C Controller
    	Kernel driver in use: intel-lpss
    	Kernel modules: intel_lpss_pci
    00:15.2 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #2 (rev 21)
    	Subsystem: QUANTA Computer Inc Sunrise Point-LP Serial IO I2C Controller
    	Kernel driver in use: intel-lpss
    	Kernel modules: intel_lpss_pci
    00:15.3 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #3 (rev 21)
    	Subsystem: QUANTA Computer Inc Sunrise Point-LP Serial IO I2C Controller
    	Kernel driver in use: intel-lpss
    	Kernel modules: intel_lpss_pci
    00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
    	Subsystem: QUANTA Computer Inc Sunrise Point-LP CSME HECI
    	Kernel driver in use: mei_me
    	Kernel modules: mei_me
    00:19.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO UART Controller #2 (rev 21)
    	Subsystem: QUANTA Computer Inc Sunrise Point-LP Serial IO UART Controller
    	Kernel driver in use: intel-lpss
    	Kernel modules: intel_lpss_pci
    00:19.2 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #4 (rev 21)
    	Subsystem: QUANTA Computer Inc Sunrise Point-LP Serial IO I2C Controller
    	Kernel driver in use: intel-lpss
    	Kernel modules: intel_lpss_pci
    00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #3 (rev f1)
    	Kernel driver in use: pcieport
    00:1c.3 PCI bridge: Intel Corporation Device 9d13 (rev f1)
    	Kernel driver in use: pcieport
    00:1c.6 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #7 (rev f1)
    	Kernel driver in use: pcieport
    00:1e.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO UART Controller #0 (rev 21)
    	Subsystem: QUANTA Computer Inc Sunrise Point-LP Serial IO UART Controller
    	Kernel driver in use: intel-lpss
    	Kernel modules: intel_lpss_pci
    00:1f.0 ISA bridge: Intel Corporation Device 9d4b (rev 21)
    	Subsystem: QUANTA Computer Inc Device 1182
    00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
    	Subsystem: QUANTA Computer Inc Sunrise Point-LP PMC
    00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
    	Subsystem: QUANTA Computer Inc Sunrise Point-LP HD Audio
    	Kernel driver in use: snd_hda_intel
    	Kernel modules: snd_hda_intel, snd_soc_skl
    01:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
    	Subsystem: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
    	Kernel driver in use: ath10k_pci
    	Kernel modules: ath10k_pci, wl
    02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
    	Subsystem: QUANTA Computer Inc RTS522A PCI Express Card Reader
    	Kernel driver in use: rtsx_pci
    	Kernel modules: rtsx_pci
    03:00.0 Non-Volatile memory controller: Toshiba America Info Systems Device 0113 (rev 01)
    	Subsystem: Toshiba America Info Systems Device 0001
    	Kernel driver in use: nvme
    

    modules:

    $lsmod | grep ath1
    ath10k_pci             61440  0
    ath10k_core           532480  1 ath10k_pci
    ath                    36864  1 ath10k_core
    mac80211          	    929792  1 ath10k_core
    cfg80211              782336  4 wl,ath,mac80211,ath10k_core
    
    $modinfo ath10k_pci
    filename:       /lib/modules/4.18.10-arch1-1-ARCH/kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.ko.xz
    firmware:       ath10k/QCA9377/hw1.0/board.bin
    firmware:       ath10k/QCA9377/hw1.0/firmware-5.bin
    firmware:       ath10k/QCA9377/hw1.0/firmware-6.bin
    firmware:       ath10k/QCA6174/hw3.0/board-2.bin
    firmware:       ath10k/QCA6174/hw3.0/board.bin
    firmware:       ath10k/QCA6174/hw3.0/firmware-6.bin
    firmware:       ath10k/QCA6174/hw3.0/firmware-5.bin
    firmware:       ath10k/QCA6174/hw3.0/firmware-4.bin
    firmware:       ath10k/QCA6174/hw2.1/board-2.bin
    firmware:       ath10k/QCA6174/hw2.1/board.bin
    firmware:       ath10k/QCA6174/hw2.1/firmware-5.bin
    firmware:       ath10k/QCA6174/hw2.1/firmware-4.bin
    firmware:       ath10k/QCA9887/hw1.0/board-2.bin
    firmware:       ath10k/QCA9887/hw1.0/board.bin
    firmware:       ath10k/QCA9887/hw1.0/firmware-5.bin
    firmware:       ath10k/QCA988X/hw2.0/board-2.bin
    firmware:       ath10k/QCA988X/hw2.0/board.bin
    firmware:       ath10k/QCA988X/hw2.0/firmware-5.bin
    firmware:       ath10k/QCA988X/hw2.0/firmware-4.bin
    firmware:       ath10k/QCA988X/hw2.0/firmware-3.bin
    firmware:       ath10k/QCA988X/hw2.0/firmware-2.bin
    license:        Dual BSD/GPL
    description:    Driver support for Qualcomm Atheros 802.11ac WLAN PCIe/AHB devices
    author:         Qualcomm Atheros
    srcversion:     19FEE2648D4DF4F06B844EE
    alias:          pci:v0000168Cd00000050sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000042sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000046sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000056sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000040sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd0000003Esv*sd*bc*sc*i*
    alias:          pci:v0000168Cd00000041sv*sd*bc*sc*i*
    alias:          pci:v0000168Cd0000003Csv*sd*bc*sc*i*
    alias:          pci:v00000777d000011ACsv*sd*bc*sc*i*
    alias:          of:N*T*Cqcom,ipq4019-wifiC*
    alias:          of:N*T*Cqcom,ipq4019-wifi
    depends:        ath10k_core
    retpoline:      Y
    intree:         Y
    name:           ath10k_pci
    vermagic:       4.18.10-arch1-1-ARCH SMP preempt mod_unload modversions 
    sig_id:         PKCS#7
    signer:         
    sig_key:        
    sig_hashalgo:   md4
    signature:      30:82:02:A5:06:09:2A:86:48:86:F7:0D:01:07:02:A0:82:02:96:30:
    		82:02:92:02:01:01:31:0D:30:0B:06:09:60:86:48:01:65:03:04:02:
    		03:30:0B:06:09:2A:86:48:86:F7:0D:01:07:01:31:82:02:6F:30:82:
    		02:6B:02:01:01:30:46:30:2E:31:2C:30:2A:06:03:55:04:03:0C:23:
    		42:75:69:6C:64:20:74:69:6D:65:20:61:75:74:6F:67:65:6E:65:72:
    		61:74:65:64:20:6B:65:72:6E:65:6C:20:6B:65:79:02:14:02:62:38:
    		55:05:DD:4C:E5:B8:57:75:F6:0B:C3:DF:A7:2A:CA:75:AC:30:0B:06:
    		09:60:86:48:01:65:03:04:02:03:30:0D:06:09:2A:86:48:86:F7:0D:
    		01:01:01:05:00:04:82:02:00:81:CE:9E:32:E0:4C:92:BB:CB:29:37:
    		E5:DD:EE:C4:82:67:13:85:99:BB:10:75:E5:D3:D1:99:FF:64:D5:7A:
    		D5:48:4E:21:01:6F:7E:12:C9:28:30:6C:98:56:11:10:84:30:2D:61:
    		EA:67:70:74:18:AF:93:78:68:B9:78:6A:60:F0:7F:0A:8D:47:79:8C:
    		9F:3B:66:BE:D8:27:05:D9:18:FC:E6:CB:9E:35:56:1A:08:B3:FF:17:
    		7E:A1:8C:3C:A9:14:7C:16:0A:B6:A3:A0:2A:7E:21:68:A7:47:00:6E:
    		19:FE:CE:36:A7:F3:6D:68:9D:B8:20:01:D3:A7:4C:1D:84:C2:D5:AC:
    		57:4A:C4:58:7E:8C:F3:42:04:EA:5A:73:7C:62:EB:AC:5E:8C:52:71:
    		A1:98:E8:3C:95:71:D1:CC:7A:EB:8A:F6:E1:5D:5D:3A:98:86:9B:9A:
    		A7:E3:C7:17:08:54:FA:1F:9C:C0:0B:64:51:AD:CB:82:DC:98:43:CA:
    		FA:4D:1A:AD:E8:23:21:5E:89:C7:4A:CC:85:37:24:5A:83:60:F8:6C:
    		F9:23:B6:B4:CB:E8:4E:25:51:AE:4B:6D:0C:54:3A:9A:EF:71:13:E7:
    		67:B5:57:1A:A9:0E:FC:82:8B:E4:CE:BD:12:E2:B1:72:ED:34:89:58:
    		9E:EA:B7:CD:30:82:B7:CB:E7:5F:7B:FC:11:70:D1:B9:2F:7A:AB:A4:
    		52:C8:A1:C1:D2:6F:F9:40:EE:8B:F7:8D:38:C7:3A:8F:8E:BA:B8:67:
    		51:A1:21:0F:C1:AE:8A:C4:E5:3D:ED:AC:78:70:7D:B1:99:57:92:53:
    		5B:39:9E:89:54:33:3D:79:2F:B7:9D:C7:02:14:40:76:C1:7D:F9:DD:
    		63:C6:EA:DC:44:52:D5:E9:69:91:D1:03:9F:17:F1:4C:72:74:C8:4B:
    		F7:AB:9B:82:21:4A:E8:D6:15:94:AC:CB:F1:4A:9B:78:FF:39:C0:40:
    		32:B4:DF:BA:84:F1:B0:DC:C4:0C:B2:F0:F3:A3:58:93:DC:06:6F:89:
    		88:58:CB:A5:86:4C:CB:91:74:E6:AA:C8:45:7B:6C:9F:E3:E7:03:2E:
    		C6:3A:F1:89:F6:24:F0:0A:A6:1E:FE:0B:18:B4:1A:C4:C0:84:59:70:
    		03:16:F4:51:4F:67:3D:30:8B:FA:3E:D7:42:CD:E7:6F:74:2E:C0:57:
    		D5:9C:A0:C6:56:7A:54:36:F6:8C:06:53:A9:98:FF:77:9A:A0:04:C6:
    		01:5E:D5:B0:42:11:E3:9F:7B:AF:C4:A7:F5:EC:C7:C0:09:72:F9:52:
    		07:2C:1A:12:02:14:3A:63:8E:74:34:EA:78:EE:A6:61:20:8A:3E:5C:
    		DC
    parm:           irq_mode:0: auto, 1: legacy, 2: msi (default: 0) (uint)
    parm:           reset_mode:0: auto, 1: warm only (default: 0) (uint)
    

    The board.bin files that don’t work are the same as in https://github.com/kvalo/ath10k-firmware/
    with

    $ sha256sum board.bin.bak 
    1a8d225818b46986fc4f615594fbe448fa820618590d6902c8f844bb37cda667  board.bin.bak
    

    closest I’ve come is by removing board-2.bin and reloading the kernel modules

    $ sudo modprobe -r ath10k_pci
    $ sudo modprobe -r ath10k_core
    $ sudo mv board-2.bin board-2.bin.bak
    $ sudo modprobe ath10k_pci
    

    dmesg has less complaints

    [   14.734585] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
    [   15.116645] ath10k_pci 0000:01:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 168c:3370
    [   15.116651] ath10k_pci 0000:01:00.0: kconfig debug 1 debugfs 1 tracing 1 dfs 0 testmode 0
    [   15.118287] ath10k_pci 0000:01:00.0: firmware ver WLAN.RM.4.4.1-00079-QCARMSWPZ-1 api 6 features wowlan,ignore-otp crc32 fd869beb
    [   15.195789] 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
    [   15.210661] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 ed5f849a
    [   15.798479] ath10k_pci 0000:01:00.0: Unknown eventid: 118809
    [   15.801430] ath10k_pci 0000:01:00.0: Unknown eventid: 90118
    [   18.826688] ath10k_pci 0000:01:00.0: htt version request timed out
    [   18.826694] ath10k_pci 0000:01:00.0: failed to setup htt: -110
    [   18.898405] ath10k_pci 0000:01:00.0: could not init core (-110)
    [   18.898513] ath10k_pci 0000:01:00.0: could not probe fw (-110)
    [ 1499.343334] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
    [ 1499.602319] ath10k_pci 0000:01:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 168c:3370
    [ 1499.602327] ath10k_pci 0000:01:00.0: kconfig debug 1 debugfs 1 tracing 1 dfs 0 testmode 0
    [ 1499.604021] ath10k_pci 0000:01:00.0: firmware ver WLAN.RM.4.4.1-00079-QCARMSWPZ-1 api 6 features wowlan,ignore-otp crc32 fd869beb
    [ 1499.668544] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 ed5f849a
    [ 1500.249102] ath10k_pci 0000:01:00.0: Unknown eventid: 118809
    [ 1500.252119] ath10k_pci 0000:01:00.0: Unknown eventid: 90118
    [ 1503.413238] ath10k_pci 0000:01:00.0: htt version request timed out
    [ 1503.413246] ath10k_pci 0000:01:00.0: failed to setup htt: -110
    [ 1503.486095] ath10k_pci 0000:01:00.0: could not init core (-110)
    [ 1503.486210] ath10k_pci 0000:01:00.0: could not probe fw (-110)
    

    and the wireless interface at least appears

    $ ip l
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    2: wlp1s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
        link/ether f2:c4:88:ef:a2:7d brd ff:ff:ff:ff:ff:ff
    

    But trying to raise wireless says resource unavailable or times out.

    $ sudo ip link set wlp1s0 up
    RTNETLINK answers: Resource temporarily unavailable
    
    $ sudo wifi-menu
    Scanning for networks... failed
    	
    $ sudo ip link set wlp1s0 up
    RTNETLINK answers: Connection timed out
    

    I’ve tried replacing the board.bin and board-2.bin from various sources

    $ sha256sum board.bin
    e79b80e2243c62f41fbaf1cc92845cefb11019b0a6d1c91488cf43fd63dcf85c  board.bin
    
    $ sha256sum board.bin
    484a45af0336b5e48454d40148e99ec0600fd7cc225078f79c18be1d78c8dff0  board.bin
    

    with no luck, and adding kernel options

    $ cat /etc/modprobe.d/ath10k.conf 
    options ath10k_core skip_otp=y
    

    Replaced usb with ethernet connection but couldn’t get drivers running for that either, not sure what modules I’m supposed to load. The Realtek device is marked unassigned in lspci. Probably need to boot up with ethernet connected but I need a different hub for that.

    So far it’s been super frustrating.

  • Could it be the country domain?

    I’ve tried

    sudo iw reg set AU
    

    but it doesn’t stick and I’ve read somewhere that atheros is picky about it.

  • Got ubuntu 18.10 installed on the tablet. On booting up the wireless doesn’t work with similar dmesg logs to antergos. Replacing the board.bin and board-2.bin files with those from https://github.com/jakeday/linux-surface and rebooting solves the problem and wireless works.

    I’ve tried using those replacements in the antergos installer and removing every kernel module I could see related to wireless and ath10k then reinstalling them and it didn’t work. Maybe need to go deeper into the boot initialisation process? Or it could be some kernel differences.

wifi150 installing126 surface6 atheros2 Posts 5Views 629
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.