Comment 95 for bug 1520343

Revision history for this message
Alex Tu (alextu) wrote : Re: [Bug 1520343] Re: Qualcomm Atheros wireless card [168c:003e] (rev 32) not supported

just found the latest firmware is already in xenial-proposed
linux-firmware (1.157.15) xenial; urgency=medium

  * QCA6174A XR cannot find any WiFi AP (LP: #1728523)
    - ath10k: QCA6174 hw3.0: update board-2.bin
    - ath10k: QCA6174 hw3.0: update board-2.bin
    - ath10k: QCA6174 hw3.0: update board-2.bin

  * Intel 9260/9462/9560 firmware support (LP: #1734243)
    - iwlwifi: add firmware version 33 for new 9000 series
    - linux-firmware: Add firmware file for Intel Bluetooth 9560
    - linux-firmware: Add firmware file for Intel Bluetooth 9260

  * Bluetooth mouse and keyboard connects, works for a few seconds, then
    doesn't react (LP: #1729389)
    - linux-firmware: Update firmware patch for Intel Bluetooth,8260
    - linux-firmware: Update firmware file for Intel Bluetooth 8265
    - linux-firmware: Update firmware patch for Intel Bluetooth 8260

 -- Seth Forshee <email address hidden> Tue, 12 Dec 2017 08:26:17 -0600

On Sun, Dec 17, 2017 at 5:18 AM, Wren Turkal <email address hidden> wrote:
> The latest firmware is not included in the linux-firmware package on
> artful. Is this intended? I see that it is only included in the latest
> LTS and bionic.
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1520343
>
> Title:
> Qualcomm Atheros wireless card [168c:003e] (rev 32) not supported
>
> Status in HWE Next:
> New
> Status in OEM Priority Project:
> Triaged
> Status in linux-firmware package in Ubuntu:
> Confirmed
>
> Bug description:
> ---------------------------------------------------------------
>
> STATUS 2016-03-17:
>
> ==========
> WARNING: You need at least kernel 4.5.0 for the following new fix to work, else refer to the old method described in post #22
> ==========
>
> The support for this card has now been merged to
> https://github.com/kvalo/ath10k-firmware. The repository now contains
> the required board.bin, board-2.bin and firmware-4.bin files for the
> card to initialize and connect to a bgn-access point (5GHz (ac-
> protocol) is still untested, feel free to modify this if you can
> confirm it works). Here are the new commands to get you online:
>
> sudo mkdir -p /lib/firmware/ath10k/QCA6174/hw3.0/
>
> sudo rm /lib/firmware/ath10k/QCA6174/hw3.0/* 2> /dev/null
>
> sudo wget -O /lib/firmware/ath10k/QCA6174/hw3.0/board.bin
> https://github.com/kvalo/ath10k-
> firmware/blob/master/QCA6174/hw3.0/board.bin?raw=true
>
> sudo wget -O /lib/firmware/ath10k/QCA6174/hw3.0/board-2.bin
> https://github.com/kvalo/ath10k-
> firmware/blob/master/QCA6174/hw3.0/board-2.bin?raw=true
>
> sudo wget -O /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin
> https://github.com/kvalo/ath10k-
> firmware/blob/master/QCA6174/hw3.0/firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1?raw=true
>
> Reboot or reload the ath10k_pci module and you should be able to
> connect!
>
> ---------------------------------------------------------------
>
> STATUS 2015-12-22:
>
> Currently there is a fix for this problem in post #22 (originally post
> #19, but reposted due to command typos!) which seems to have fixed the
> issue for many. This bug is unique to revision 32 of the card
> [168c:003e], fixes for older revisions don't seem to work.
>
> There are a couple of issues regarding the fix for some people (not
> all):
>
> 1. Wireless works, but network throughput stops some time after
> connecting to access point
>
> 2. Bluetooth communications take a noticeable performance hit when
> transferring something over WiFi
>
> ---------------------------------------------------------------
>
> Original description:
>
> I have recently installed Ubuntu 15.10 (64-bit) alongside Windows 10 on an Acer Aspire VN7-792G-76ZH and discovered, that the Qualcomm wireless card doesn't work in it or 16.04.
> The card has the device id 168c:003e as many other cards, for example the Qualcomm Atheros Killer (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1383184), but it has a newer revision number (32) and the suggested fixes work only partially and the wireless is unusable.
>
> The computer has just been released this summer and is Intel Skylake
> -based.
>
> I've tried the patch from bug 1383184, which has a fix for the card revision 20:
> Make the directory /lib/firmware/ath10k/QCA6174/hw3.0/ and put in the patch files:
> board.bin
> firmware-4.bin
> notice_ath10k_firmware-4.txt
>
> ath10k_pci succeeds in loading the firmware, but it seems that the
> firmware is not working correctly:
>
> dmesg | grep ath
> [ 5.452683] ath10k_pci 0000:07:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
> [ 5.678420] ath10k_pci 0000:07:00.0: Direct firmware load for ath10k/cal-pci-0000:07:00.0.bin failed with error -2
> [ 5.678773] ath10k_pci 0000:07:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/board-pci-168c:003e:11ad:0807.bin failed with error -2
> [ 5.678781] ath10k_pci 0000:07:00.0: failed to load spec board file, falling back to generic: -2
> [ 5.679445] ath10k_pci 0000:07:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
> [ 5.679453] ath10k_pci 0000:07:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
> [ 7.802316] ath10k_pci 0000:07:00.0: qca6174 hw3.2 (0x05030000, 0x00340aff, 168c:003e:11ad:0807 fallback) fw WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 htt 3.26 wmi 4 cal otp max_sta 32
> [ 7.802329] ath10k_pci 0000:07:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
> [ 8.200607] ath: EEPROM regdomain: 0x6c
> [ 8.200614] ath: EEPROM indicates we should expect a direct regpair map
> [ 8.200619] ath: Country alpha2 being used: 00
> [ 8.200621] ath: Regpair used: 0x6c
> [ 8.216605] ath10k_pci 0000:07:00.0 wlp7s0: renamed from wlan0
> [ 13.462029] ath10k_pci 0000:07:00.0: failed to enable dynamic BW: -11
> [ 16.461416] ath10k_pci 0000:07:00.0: could not suspend target (-11)
> [ 24.760062] ath10k_pci 0000:07:00.0: failed to enable dynamic BW: -11
> [ 27.759534] ath10k_pci 0000:07:00.0: could not suspend target (-11)
> [ 36.046205] ath10k_pci 0000:07:00.0: failed to set arp ac override parameter: -11
> [ 39.045729] ath10k_pci 0000:07:00.0: could not suspend target (-11)
> [ 47.344304] ath10k_pci 0000:07:00.0: failed to enable dynamic BW: -11
> [ 50.343794] ath10k_pci 0000:07:00.0: could not suspend target (-11)
> [ 58.630534] ath10k_pci 0000:07:00.0: failed to enable dynamic BW: -11
> [ 61.629936] ath10k_pci 0000:07:00.0: could not suspend target (-11)
> [ 69.920624] ath10k_pci 0000:07:00.0: failed to enable dynamic BW: -11
> [ 72.920132] ath10k_pci 0000:07:00.0: could not suspend target (-11)
> [ 81.206812] ath10k_pci 0000:07:00.0: failed to enable dynamic BW: -11
> [ 84.206218] ath10k_pci 0000:07:00.0: could not suspend target (-11)
> ...
>
> Then it just constantly prints the last two messages on and on.
> I can weirdly enough see the card in iwconfig:
> wlp7s0 IEEE 802.11abgn ESSID:off/any
> Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
> Retry short limit:7 RTS thr:off Fragment thr:off
> Power Management:off
>
> And I can see the wireless-icon in the toolbar, but scanning for
> access points or trying to connect to one doesn't work.
>
> This is the furthest I've gotten. I suspect this card needs a new
> firmware in ath10k?
>
> ---
> ApportVersion: 2.19.2-0ubuntu6
> Architecture: amd64
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: dennis 1230 F.... pulseaudio
> CurrentDesktop: GNOME
> DistroRelease: Ubuntu 16.04
> HibernationDevice: RESUME=UUID=bed7757a-3749-4efb-9e9f-0ce8129bfbb9
> InstallationDate: Installed on 2015-11-11 (15 days ago)
> InstallationMedia: Ubuntu-GNOME 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151110)
> Lsusb:
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 001 Device 003: ID 04f2:b520 Chicony Electronics Co., Ltd
> Bus 001 Device 002: ID 04ca:3016 Lite-On Technology Corp.
> Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> MachineType: Acer Aspire VN7-792G
> Package: linux (not installed)
> ProcFB: 0 inteldrmfb
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-19-generic.efi.signed root=UUID=bdadfbdf-2233-46de-b804-c88712e6c518 ro ipv6.disable=1 i915.preliminary_hw_support=1
> ProcVersionSignature: Ubuntu 4.2.0-19.23-generic 4.2.6
> RelatedPackageVersions:
> linux-restricted-modules-4.2.0-19-generic N/A
> linux-backports-modules-4.2.0-19-generic N/A
> linux-firmware 1.153
> Tags: xenial
> UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
> Uname: Linux 4.2.0-19-generic x86_64
> UpgradeStatus: No upgrade log present (probably fresh install)
> UserGroups: adm bumblebee cdrom dip lpadmin plugdev sambashare sudo
> _MarkForUpload: True
> dmi.bios.date: 09/25/2015
> dmi.bios.vendor: Insyde Corp.
> dmi.bios.version: V1.02
> dmi.board.asset.tag: No Asset Tag
> dmi.board.name: Aspire VN7-792G
> dmi.board.vendor: Acer
> dmi.board.version: V1.02
> dmi.chassis.asset.tag: No Asset Tag
> dmi.chassis.type: 10
> dmi.chassis.vendor: Acer
> dmi.chassis.version: V1.02
> dmi.modalias: dmi:bvnInsydeCorp.:bvrV1.02:bd09/25/2015:svnAcer:pnAspireVN7-792G:pvrV1.02:rvnAcer:rnAspireVN7-792G:rvrV1.02:cvnAcer:ct10:cvrV1.02:
> dmi.product.name: Aspire VN7-792G
> dmi.product.version: V1.02
> dmi.sys.vendor: Acer
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/hwe-next/+bug/1520343/+subscriptions