[Kernel-packages] [Bug 1879633] Re: Killer 500s (QCA6390) WLAN/BT [17cb:1101] unavailable

2021-02-03 Thread Kayvee
I figured it out! Here's what I had to do: 
(copied from: 
https://wireless.wiki.kernel.org/en/users/drivers/ath11k/installation)

git clone 
git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
cd linux-firmware
sudo cp -r ath11k/ /lib/firmware/

So far it is working fine. I am able to close the laptop lid, put it to
sleep and WiFi connects automatically after the machine wakes up.

-- 
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/1879633

Title:
  Killer 500s (QCA6390) WLAN/BT [17cb:1101] unavailable

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-firmware package in Ubuntu:
  Invalid
Status in linux-oem-5.10 package in Ubuntu:
  Invalid
Status in linux-oem-5.6 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Won't Fix
Status in linux-firmware source package in Focal:
  Fix Released
Status in linux-oem-5.10 source package in Focal:
  Fix Released
Status in linux-oem-5.6 source package in Focal:
  Fix Released
Status in linux source package in Groovy:
  Won't Fix
Status in linux-firmware source package in Groovy:
  Won't Fix
Status in linux-oem-5.10 source package in Groovy:
  Invalid
Status in linux-oem-5.6 source package in Groovy:
  Invalid

Bug description:
  [SRU Justification: oem-5.6]

  [Impact]

  Qualcomm QCA6390 series not recognized due to the lack of ath11k and all
  its prerequisite drivers.

  $ lspci
  :55:00.0 Unassigned class [ff00]: Qualcomm Device [17cb:1101]
   Subsystem: Bigfoot Networks, Inc. Device [1a56:a501]

  [Fix]

  Tag ath11k-qca6390-bringup-202011301608 from ath tree
  (https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git) marks
  first stable milestone on the platform/device under development since
  v5.6-rc1. Most of the commits under this tag, ~350 commits, have been
  in vanilla kernel v5.10-rc4 except those starting from commit
  065c9528cc50 ("ath11k: add 64bit check before reading msi high addr").

  While ath11k depends on MHI bus, qrtr and qmi helpers, changes falling
  in these components are also pulled.

  Besides, tx encapsulation
  https://lore.kernel.org/linux-wireless/20200908123702.88454-1-...@nbd.name/
  and a couple more inclusive of 6 GHz capability, BSS Color were also
  pulled to satisfy API changes in mac80211/cfg80211.

  [Test Case]

  1. Install firmwares & boot from patched kernel,
  2. ath11k should be now up and running. Check with
 `sudo dmesg | grep ath11k`

  While this is going to bring massive changes to the kernel, as well as
  shared wireless stack that is not only used by ath11k but also many
  others, prebuilt kernel/firmware packages were deployed on platforms
  with and without ath11k for regression tests, and so far the results are
  positive.

  [Where problems could occur]

  ath11k and its relying parts have never been enabled in oem-5.6, so
  changes to them should have little effect on most platforms. For
  platforms equip QCA6390, this will be the first time they're probed and
  enabled, and as the driver is still under polishing, there can be
  regressions, performance lost, power consumption increase at this
  moment.

  Changes to wireless stack could also be an issue as this introduces
  interface changes to the API, so maybe DKMS packages in the wild will be
  affected.

  == SRU for U/OEM-5.10 ==

  [SRU Justification: U/OEM-5.10]

  [Impact]

  Qualcomm QCA6390 series not recognized due to the lack of ath11k
  driver.

  $ lspci
  :55:00.0 Unassigned class [ff00]: Qualcomm Device [17cb:1101]
   Subsystem: Bigfoot Networks, Inc. Device [1a56:a501]

  [Fix]

  25 additional fixes in ath tree
  (https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git), tag
  ath11k-qca6390-bringup-202011301608 to resolve issues on TGL platforms,
  and firmware updates from mainline are required.

  [Test Case]

  1. Install firmwares & boot from patched kernel,
  2. ath11k should be now up and running. Check with
     `sudo dmesg | grep ath11k`

  [Where problems could occur]

  There has been a lot patches landed in kernel since 5.7 devel cycle. The
  last bits here has merge base with mainline at v5.10-rc4, and since then
  only patches for ath11k itself has been committed.

  == Original Bug Description ==

  Qualcomm QCA6390 series not recognized due to the lack of ath11k
  driver.

  :55:00.0 Unassigned class [ff00]: Qualcomm Device [17cb:1101]
   Subsystem: Bigfoot Networks, Inc. Device [1a56:a501]

  Depending on bug 1891632 to fix Wi-Fi dead after resumed from suspend.

  ---
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  u  1842 F pulseaudio
  CasperMD5CheckResult: skip
  DistributionChannelDescriptor:
   # This is the distribution channel descriptor 

[Kernel-packages] [Bug 1879633] Re: Killer 500s (QCA6390) WLAN/BT [17cb:1101] unavailable

2021-02-03 Thread Kayvee
Thank you @kchsieh and @vicamo
I followed the steps mentioned above and installed the linux-headers-oem-20.04b 
and linux-image-oem-20.04b packages. After rebooting using the 5.10 kernel, I 
still don't see the WiFi card recognized. 

$ uname -a
Linux sgb3 5.10.0-1014-oem #15-Ubuntu SMP Wed Feb 3 14:07:18 UTC 2021 x86_64 
x86_64 x86_64 GNU/Linux

I am seeing the following in kernel log: 
$ grep 'ath11k' kernel.log 
Feb 03 14:42:38 sgb3 kernel: ath11k_pci :71:00.0: WARNING: ath11k PCI 
support is experimental!
Feb 03 14:42:38 sgb3 kernel: ath11k_pci :71:00.0: BAR 0: assigned [mem 
0xa610-0xa61f 64bit]
Feb 03 14:42:38 sgb3 kernel: ath11k_pci :71:00.0: enabling device ( -> 
0002)
Feb 03 14:42:38 sgb3 kernel: ath11k_pci :71:00.0: MSI vectors: 32
Feb 03 14:42:38 sgb3 kernel: mhi :71:00.0: Direct firmware load for 
ath11k/QCA6390/hw2.0/amss.bin failed with error -2


** Attachment added: "Kernel log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1879633/+attachment/5459476/+files/kernel.log

-- 
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/1879633

Title:
  Killer 500s (QCA6390) WLAN/BT [17cb:1101] unavailable

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-firmware package in Ubuntu:
  Invalid
Status in linux-oem-5.10 package in Ubuntu:
  Invalid
Status in linux-oem-5.6 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Won't Fix
Status in linux-firmware source package in Focal:
  Fix Released
Status in linux-oem-5.10 source package in Focal:
  Fix Released
Status in linux-oem-5.6 source package in Focal:
  Fix Released
Status in linux source package in Groovy:
  Won't Fix
Status in linux-firmware source package in Groovy:
  Won't Fix
Status in linux-oem-5.10 source package in Groovy:
  Invalid
Status in linux-oem-5.6 source package in Groovy:
  Invalid

Bug description:
  [SRU Justification: oem-5.6]

  [Impact]

  Qualcomm QCA6390 series not recognized due to the lack of ath11k and all
  its prerequisite drivers.

  $ lspci
  :55:00.0 Unassigned class [ff00]: Qualcomm Device [17cb:1101]
   Subsystem: Bigfoot Networks, Inc. Device [1a56:a501]

  [Fix]

  Tag ath11k-qca6390-bringup-202011301608 from ath tree
  (https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git) marks
  first stable milestone on the platform/device under development since
  v5.6-rc1. Most of the commits under this tag, ~350 commits, have been
  in vanilla kernel v5.10-rc4 except those starting from commit
  065c9528cc50 ("ath11k: add 64bit check before reading msi high addr").

  While ath11k depends on MHI bus, qrtr and qmi helpers, changes falling
  in these components are also pulled.

  Besides, tx encapsulation
  https://lore.kernel.org/linux-wireless/20200908123702.88454-1-...@nbd.name/
  and a couple more inclusive of 6 GHz capability, BSS Color were also
  pulled to satisfy API changes in mac80211/cfg80211.

  [Test Case]

  1. Install firmwares & boot from patched kernel,
  2. ath11k should be now up and running. Check with
 `sudo dmesg | grep ath11k`

  While this is going to bring massive changes to the kernel, as well as
  shared wireless stack that is not only used by ath11k but also many
  others, prebuilt kernel/firmware packages were deployed on platforms
  with and without ath11k for regression tests, and so far the results are
  positive.

  [Where problems could occur]

  ath11k and its relying parts have never been enabled in oem-5.6, so
  changes to them should have little effect on most platforms. For
  platforms equip QCA6390, this will be the first time they're probed and
  enabled, and as the driver is still under polishing, there can be
  regressions, performance lost, power consumption increase at this
  moment.

  Changes to wireless stack could also be an issue as this introduces
  interface changes to the API, so maybe DKMS packages in the wild will be
  affected.

  == SRU for U/OEM-5.10 ==

  [SRU Justification: U/OEM-5.10]

  [Impact]

  Qualcomm QCA6390 series not recognized due to the lack of ath11k
  driver.

  $ lspci
  :55:00.0 Unassigned class [ff00]: Qualcomm Device [17cb:1101]
   Subsystem: Bigfoot Networks, Inc. Device [1a56:a501]

  [Fix]

  25 additional fixes in ath tree
  (https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git), tag
  ath11k-qca6390-bringup-202011301608 to resolve issues on TGL platforms,
  and firmware updates from mainline are required.

  [Test Case]

  1. Install firmwares & boot from patched kernel,
  2. ath11k should be now up and running. Check with
     `sudo dmesg | grep ath11k`

  [Where problems could occur]

  There has been a lot patches landed in kernel since 5.7 devel cycle. The
  last bits here has merge base with mainline at v5.10-rc4, and since then
  only patches for ath11k itself has been 

[Kernel-packages] [Bug 1879633] Re: Killer 500s (QCA6390) WLAN/BT [17cb:1101] unavailable

2021-02-02 Thread Kayvee
Hello @andch,
I am also having similar issues. I have a XPS 13 9310, Core i7-1165g7 with 32GB 
of RAM and followed your steps to add the canonical-kernel-team ppa and install 
the two packages. That repository no longer has linux-headers-oem-20.04b but 
has linux-headers-oem-20.04. 

Here's what I have: 
linux-image-oem-20.04/groovy,now 5.8.0.42.46 amd64 [installed]
linux-headers-oem-20.04/groovy,now 5.8.0.42.46 amd64 [installed]

My XPS firmware (bios version) is 1.2.5.
After running fwupdmgr get-updates and fwupdmgr get-upgrades I do not see any 
new updates available for my machine. 

I cannot get the WiFi working. Any help is appreciated.

-- 
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/1879633

Title:
  Killer 500s (QCA6390) WLAN/BT [17cb:1101] unavailable

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-firmware package in Ubuntu:
  Invalid
Status in linux-oem-5.10 package in Ubuntu:
  Invalid
Status in linux-oem-5.6 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Won't Fix
Status in linux-firmware source package in Focal:
  Fix Released
Status in linux-oem-5.10 source package in Focal:
  Fix Released
Status in linux-oem-5.6 source package in Focal:
  Fix Released
Status in linux source package in Groovy:
  Won't Fix
Status in linux-firmware source package in Groovy:
  Won't Fix
Status in linux-oem-5.10 source package in Groovy:
  Invalid
Status in linux-oem-5.6 source package in Groovy:
  Invalid

Bug description:
  [SRU Justification: oem-5.6]

  [Impact]

  Qualcomm QCA6390 series not recognized due to the lack of ath11k and all
  its prerequisite drivers.

  $ lspci
  :55:00.0 Unassigned class [ff00]: Qualcomm Device [17cb:1101]
   Subsystem: Bigfoot Networks, Inc. Device [1a56:a501]

  [Fix]

  Tag ath11k-qca6390-bringup-202011301608 from ath tree
  (https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git) marks
  first stable milestone on the platform/device under development since
  v5.6-rc1. Most of the commits under this tag, ~350 commits, have been
  in vanilla kernel v5.10-rc4 except those starting from commit
  065c9528cc50 ("ath11k: add 64bit check before reading msi high addr").

  While ath11k depends on MHI bus, qrtr and qmi helpers, changes falling
  in these components are also pulled.

  Besides, tx encapsulation
  https://lore.kernel.org/linux-wireless/20200908123702.88454-1-...@nbd.name/
  and a couple more inclusive of 6 GHz capability, BSS Color were also
  pulled to satisfy API changes in mac80211/cfg80211.

  [Test Case]

  1. Install firmwares & boot from patched kernel,
  2. ath11k should be now up and running. Check with
 `sudo dmesg | grep ath11k`

  While this is going to bring massive changes to the kernel, as well as
  shared wireless stack that is not only used by ath11k but also many
  others, prebuilt kernel/firmware packages were deployed on platforms
  with and without ath11k for regression tests, and so far the results are
  positive.

  [Where problems could occur]

  ath11k and its relying parts have never been enabled in oem-5.6, so
  changes to them should have little effect on most platforms. For
  platforms equip QCA6390, this will be the first time they're probed and
  enabled, and as the driver is still under polishing, there can be
  regressions, performance lost, power consumption increase at this
  moment.

  Changes to wireless stack could also be an issue as this introduces
  interface changes to the API, so maybe DKMS packages in the wild will be
  affected.

  == SRU for U/OEM-5.10 ==

  [SRU Justification: U/OEM-5.10]

  [Impact]

  Qualcomm QCA6390 series not recognized due to the lack of ath11k
  driver.

  $ lspci
  :55:00.0 Unassigned class [ff00]: Qualcomm Device [17cb:1101]
   Subsystem: Bigfoot Networks, Inc. Device [1a56:a501]

  [Fix]

  25 additional fixes in ath tree
  (https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git), tag
  ath11k-qca6390-bringup-202011301608 to resolve issues on TGL platforms,
  and firmware updates from mainline are required.

  [Test Case]

  1. Install firmwares & boot from patched kernel,
  2. ath11k should be now up and running. Check with
     `sudo dmesg | grep ath11k`

  [Where problems could occur]

  There has been a lot patches landed in kernel since 5.7 devel cycle. The
  last bits here has merge base with mainline at v5.10-rc4, and since then
  only patches for ath11k itself has been committed.

  == Original Bug Description ==

  Qualcomm QCA6390 series not recognized due to the lack of ath11k
  driver.

  :55:00.0 Unassigned class [ff00]: Qualcomm Device [17cb:1101]
   Subsystem: Bigfoot Networks, Inc. Device [1a56:a501]

  Depending on bug 1891632 to fix Wi-Fi dead after resumed from suspend.

  ---
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu27