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

2021-03-09 Thread Morgan Touverey Quilling
Hi, thanks for your answer!

In fact, XPS 15 9500 *have* a QCA6390, but only the i9 version (which I
have).

So I've made progress: it appears I had both software and hardware problems 
since it also stopped working in Windows.
Sometimes the card is gone (not appearing in the devices manager), and when I 
reboot it's back (or not).

That introduced a big confusion variable when I tried different
solutions yesterday, because indeed the card was just disconnected (or
appeared so to the system).

So, right now it's back online, and I've got it working now (with linux-
oem-20.04b and linux-firmware=1.187.9 from focal)!

Or at least, partially. *Like other people in this thread*, I get stack
traces and errors in the kernel log (attached). Connection to a hotspot
can't be done or lasts for a second or so, and it makes the system
unstable.

Is there a known solution (I can't find one here), should I open a new
bug report for this, or is there already one?

** Attachment added: "kernel.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1879633/+attachment/5475148/+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:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
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:
  TL;DR

  To bring up QCA6390, aka. AX500s, on Ubuntu 20.04 Focal, please first
  update your system BIOS to the latest version available.

  And then you will need both kernel (either oem-5.6, or oem-5.10, or
  generic-5.11) and firmware with ath11k support:

  [kernel]

  1. oem-5.6 >= 5.6.0-1039.43

    $ sudo apt-get install linux-oem-20.04

    linux-oem-20.04 meta package may upgrade to v5.10 soon, but it will
  still support ath11k.

  2. oem-5.10 >= 5.10.0-1010.11 (recommended)

    $ sudo apt-get install linux-oem-20.04b

    This meta package may cease to exist after 5.10 oem kernel
  transition. Use linux-oem-20.04 then.

  3. linux-generic-5.11

# Enable ppa:canonical-kernel-team/bootstrap for Hirsute:
    $ sudo apt-add-repository ppa:canonical-kernel-team/bootstrap
    $ sudo sed -e 's,focal,devel,' -i 
/etc/apt/sources.list.d/ppa-canonical-kernel-team-ubuntu-bootstrap-focal.list
    $ sudo mv 
/etc/apt/sources.list.d/ppa-canonical-kernel-team-ubuntu-bootstrap-focal.list 
/etc/apt/sources.list.d/ppa-canonical-kernel-team-ubuntu-bootstrap-devel.list

    $ sudo apt-get update
    $ sudo apt-get install $(apt-cache search linux-modules-extra-5.11 | awk 
'{print $1}')

# Then rename the list to prevent unexpected upgrades:
$ sudo mv 
/etc/apt/sources.list.d/ppa-canonical-kernel-team-ubuntu-bootstrap-devel.list 
/etc/apt/sources.list.d/ppa-canonical-kernel-team-ubuntu-bootstrap-devel.list_
$ sudo apt update

  [firmware]

  Version 1.187.7 or newer is needed. So just do:

    $ sudo apt-get install linux-firmware

  Then reboot and check if wireless is now working. If doesn't, please
  file a new bug instead.

  == previous SRU justification header ==

  [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 | 

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

2021-03-08 Thread Morgan Touverey Quilling
Hi @vicamo, I virtually tried every method in this thread, notably methods 2 
and 3 exposed in the summary, and also virtually every other method I could 
find on the web, including those ones:
 - 
https://mukaiguy.medium.com/adding-wifi-drivers-to-ubuntu-linux-for-dells-xps-15-9500-with-ax500-f535fb42db70
 - 
https://askubuntu.com/questions/1280328/ubuntu-20-04-killer-ax500s-dbs-drivers-support
 (all answers)

But with no success at all.
My laptop is a XPS 9500 running on **Groovy**.

In the end it never worked even if I had all the necessary and up-to-
date firmware files in /lib/firmware/ath11k/, a 5.10+ kernel (custom or
from the focal/hirsute repos), and an up-to-date BIOS.

I've never had any line mentioning the Wifi card in the kernel logs. I'm
quite desperate :)

I must mention that it works on Windows so that's not a hardware issue.

Thanks in advance, I could use any ideas...

** Attachment added: "kernel.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1879633/+attachment/5474651/+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:
  Fix Released
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:
  TL;DR

  To bring up QCA6390, aka. AX500s, on Ubuntu 20.04 Focal, please first
  update your system BIOS to the latest version available.

  And then you will need both kernel (either oem-5.6, or oem-5.10, or
  generic-5.11) and firmware with ath11k support:

  [kernel]

  1. oem-5.6 >= 5.6.0-1039.43

    $ sudo apt-get install linux-oem-20.04

    linux-oem-20.04 meta package may upgrade to v5.10 soon, but it will
  still support ath11k.

  2. oem-5.10 >= 5.10.0-1010.11 (recommended)

    $ sudo apt-get install linux-oem-20.04b

    This meta package may cease to exist after 5.10 oem kernel
  transition. Use linux-oem-20.04 then.

  3. linux-generic-5.11

# Enable ppa:canonical-kernel-team/bootstrap for Hirsute:
    $ sudo apt-add-repository ppa:canonical-kernel-team/bootstrap
    $ sudo sed -e 's,focal,devel,' -i 
/etc/apt/sources.list.d/ppa-canonical-kernel-team-ubuntu-bootstrap-focal.list
    $ sudo mv 
/etc/apt/sources.list.d/ppa-canonical-kernel-team-ubuntu-bootstrap-focal.list 
/etc/apt/sources.list.d/ppa-canonical-kernel-team-ubuntu-bootstrap-devel.list

    $ sudo apt-get update
    $ sudo apt-get install $(apt-cache search linux-modules-extra-5.11 | awk 
'{print $1}')

# Then rename the list to prevent unexpected upgrades:
$ sudo mv 
/etc/apt/sources.list.d/ppa-canonical-kernel-team-ubuntu-bootstrap-devel.list 
/etc/apt/sources.list.d/ppa-canonical-kernel-team-ubuntu-bootstrap-devel.list_
$ sudo apt update

  [firmware]

  Version 1.187.7 or newer is needed. So just do:

    $ sudo apt-get install linux-firmware

  Then reboot and check if wireless is now working. If doesn't, please
  file a new bug instead.

  == previous SRU justification header ==

  [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