Re: [Kernel-packages] [Bug 1436940] Re: Qualcomm Atheros QCA6164 802.11ac Wireless Network Adapter [168c:0041] is not supported

2016-04-24 Thread Patrick Lacasse
I upgraded to Ubuntu 16.04 LTS (4.4.0-21-generic) and my wifi now works out
of the box.
I was using a usb-wifi since I bought my Lenovo Yoga 3 and I'm very happy
because the builtin wifi card is much better.

This bug is solved for me!

However, I can't tell if the firmware I copied last month are used or
not.


2016-04-22 19:14 GMT-04:00 Miles Krell :

> ** Description changed:
>
> - This card remains unsupported out-of-the-box by the ath10k_pci kernel
> - module.  At this point, it looks like kvalo's ath10k-firmware repo just
> - needs to be pulled in.
> + The firmware for this card isn't included with Ubuntu.  The firmware
> + provided in /lib/firmware/ath10k/QCA6174 in Ubuntu 16.04 crashes when
> + used with this card.  This included firmware is likely for the QCA6174
> + instead of this card, the QCA6164.
> +
> + Yes, you read that right: the files for the QCA6164 need to be a folder
> + called QCA6174 in order for the card to work.  Running "modprobe
> + ath10k_pci" shows that the ath10k_pci module looks for firmware in a
> + folder called QCA6174, but not in any folder called QCA6164.
> +
> + It seems that before this issue can be resolved, the ath10k_pci module
> + must be changed so that it recognizes firmware for both the QCA6164 and
> + QCA6174, in separate folders.
>
>
> ---
>
>   HOW TO GET THIS CARD TO WORK:
>
> - As of February 26, 2016, this has become rather simple.
> + 1) Use a kernel that supports this card
>
> - According to the Linux Wireless wiki, support was added in kernel 4.2
> - Your kernel is probably fine, but if it's older than 4.2, see
> + According to WikiDevi, support for this card was added in kernel 4.3.
> + If you're running Ubuntu 16.04 LTS or above, your kernel is fine; skip
> + to the next step.  If you're running Ubuntu 15.10 or below, see
>   https://wiki.ubuntu.com/Kernel/MainlineBuilds for info on installing a
> - newer one.
> + newer kernel.  Alternatively, you can use backports.  This is a lot more
> + work, but if you really need to keep using an older kernel for some
> + reason, there are some guides to installing backports in the comments
> + below.
>
> - 1) Get the latest firmware from https://github.com/kvalo/ath10k-
> - firmware/archive/master.zip
> + 2) Get rid of the firmware folder for this card that's included with
> + Ubuntu:
>
> - 2) Unzip this file, and copy the contents of ath10k-firmware-master to
> - /lib/firmware/ath10k.
> + sudo rm -r /lib/firmware/ath10k/QCA6174/
>
> - 3) Rename two of the firmware files like so:
> - cd /lib/firmware/QCA6174/hw2.1
> + 3) Download the latest firmware:
> +
> + wget https://github.com/kvalo/ath10k-firmware/archive/master.zip
> +
> + 4) Unzip the downloaded file.  Inside the ath10k-firmware-master folder
> + is a folder named QCA6174.  Copy the QCA6174 folder to
> + /lib/firmware/ath10k:
> +
> + unzip master.zip
> + sudo cp -r ath10k-firmware-master/QCA6174/ /lib/firmware/ath10k/
> +
> + 5) Rename two of the firmware files like so:
> +
> + cd /lib/firmware/ath10k/QCA6174/hw2.1/
>   sudo mv firmware-5.bin_SW_RM.1.1.1-00157-QCARMSWPZ-1 firmware-5.bin
> - cd /lib/firmware/QCA6174/hw3.0
> + cd /lib/firmware/ath10k/QCA6174/hw3.0/
>   sudo mv firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1 firmware-4.bin
>
> - 4) Reboot your computer.  Run "lshw -C network" to see if your card is
> - recognized.
> + 6) Reboot your computer.  Run "lshw -C network" to see if your card is
> + recognized.  You can delete the files you downloaded earlier:
>
> - If you created a "/lib/modprobe.d/ath10k.conf" file earlier to disable
> - otp, you can remove it.  I did, and the card still works fine.
> + cd ~
> + rm master.zip
> + rm -r ath10k-firmware-master/
>
> - Last updated Match 26, 2016
> + Verified to work on Ubuntu 16.04 LTS (with kernel 4.4.0-21-generic)
> +
> + Last updated April 22, 2016
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1436940
>
> Title:
>   Qualcomm Atheros QCA6164 802.11ac Wireless Network Adapter [168c:0041]
>   is not supported
>
> Status in linux package in Ubuntu:
>   Confirmed
> Status in linux-firmware package in Ubuntu:
>   Confirmed
> Status in linux source package in Vivid:
>   Confirmed
> Status in linux source package in Wily:
>   Confirmed
>
> Bug description:
>   The firmware for this card isn't included with Ubuntu.  The firmware
>   provided in /lib/firmware/ath10k/QCA6174 in Ubuntu 16.04 crashes when
>   used with this card.  This included firmware is likely for the QCA6174
>   instead of this card, the QCA6164.
>
>   Yes, you read that right: the files for the QCA6164 need to be a
>   folder called QCA6174 in order for the card to work.  Running
>   "modprobe ath10k_pci" shows that the ath10k_pci module looks for
>   firmware in a folder called QCA6174, but not in any folder called

Re: [Kernel-packages] [Bug 1436940] Re: Atheros wifi 168c:0041(QCA6174) is not supported

2015-10-10 Thread Patrick Lacasse
Gauri,

  Is your problem related to my previous comment?
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1436940/comments/14

2015-10-09 10:40 GMT-04:00 Gauri :

> Jeremy,
>
>  I could not locate header files in the git repository from where I
> downloaded the kernel source. After searching on web I have installed
> the header files using this source:
>
> http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.3-rc4-unstable/
>
> o/p of ls /usr/src/ | grep 4.3 now shows these headers installed:
> linux-headers-4.3.0-040300rc4
> linux-headers-4.3.0-040300rc4-generic
>
> Still couldn't see "enable wifi" option after clicking networks icon. Is
> there anything else that I need to do in order to get my wifi card
> working?
>
> Thanks in advance!
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1436940
>
> Title:
>   Atheros wifi 168c:0041(QCA6174) is not supported
>
> Status in linux package in Ubuntu:
>   Confirmed
> Status in linux source package in Vivid:
>   Confirmed
> Status in linux source package in Wily:
>   Confirmed
>
> Bug description:
>   The atheros wireless device (168c:0041) isn't supported by the
>   ath10k_pci kernel driver.
>
>   Found in several laptop models:
>
>   Lenovo Z70
>   Lenovo G50-45
>   Lenovo G50-80
>   Lenovo Edge 15
>   Lenovo Yoga 3 11
>   Lenovo Flex 3-1470
>   Samsung ATIV Book 9 NP930X2K
>
>   ProblemType: BugDistroRelease: Ubuntu 15.04
>   Package: linux-image-3.19.0-9-generic 3.19.0-9.9
>   ProcVersionSignature: Ubuntu 3.19.0-9.9-generic 3.19.1
>   Uname: Linux 3.19.0-9-generic x86_64
>   ApportVersion: 2.16.2-0ubuntu3
>   Architecture: amd64
>   AudioDevicesInUse:
>USERPID ACCESS COMMAND
>/dev/snd/controlC0:  nicholas   1695 F pulseaudio
>/dev/snd/controlC1:  nicholas   1695 F pulseaudio
>   CurrentDesktop: Unity
>   Date: Thu Mar 26 09:47:16 2015
>   HibernationDevice: RESUME=UUID=5b068cd8-e60a-49b9-a88e-1581bb6b3dc1
>   InstallationDate: Installed on 2015-03-25 (1 days ago)
>   InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64
> (20141022.1)
>   IwConfig:
>eth0  no wireless extensions.
>
>lono wireless extensions.
>   Lsusb:
>Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
>Bus 001 Device 004: ID 0cf3:e300 Atheros Communications, Inc.
>Bus 001 Device 003: ID 5986:0652 Acer, Inc
>Bus 001 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129
> Card Reader Controller
>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>   MachineType: LENOVO 80E5
>   ProcFB: 0 inteldrmfb
>   ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-9-generic
> root=UUID=e52867c5-0b50-42fb-8288-f30765f926c5 ro quiet splash vt.handoff=7
>   RelatedPackageVersions:
>linux-restricted-modules-3.19.0-9-generic N/A
>linux-backports-modules-3.19.0-9-generic  N/A
>linux-firmware1.143SourcePackage: linux
>   UpgradeStatus: Upgraded to vivid on 2015-03-26 (0 days ago)
>   dmi.bios.date: 06/20/2014
>   dmi.bios.vendor: LENOVO
>   dmi.bios.version: B0CN69WW
>   dmi.board.asset.tag: NO Asset Tag
>   dmi.board.name: Lenovo G50-80
>   dmi.board.vendor: LENOVO
>   dmi.board.version: 31900058 WIN
>   dmi.chassis.asset.tag: NO Asset Tag
>   dmi.chassis.type: 10
>   dmi.chassis.vendor: LENOVO
>   dmi.chassis.version: Lenovo G50-80
>   dmi.modalias:
> dmi:bvnLENOVO:bvrB0CN69WW:bd06/20/2014:svnLENOVO:pn80E5:pvrLenovoG50-80:rvnLENOVO:rnLenovoG50-80:rvr31900058WIN:cvnLENOVO:ct10:cvrLenovoG50-80:
>   dmi.product.name: 80E5
>   dmi.product.version: Lenovo G50-80
>   dmi.sys.vendor: LENOVO
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1436940/+subscriptions
>

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

Title:
  Atheros wifi 168c:0041(QCA6174) is not supported

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Vivid:
  Confirmed
Status in linux source package in Wily:
  Confirmed

Bug description:
  The atheros wireless device (168c:0041) isn't supported by the
  ath10k_pci kernel driver.

  Found in several laptop models:

  Lenovo Z70
  Lenovo G50-45
  Lenovo G50-80
  Lenovo Edge 15
  Lenovo Yoga 3 11
  Lenovo Flex 3-1470
  Samsung ATIV Book 9 NP930X2K

  ProblemType: BugDistroRelease: Ubuntu 15.04
  Package: linux-image-3.19.0-9-generic 3.19.0-9.9
  ProcVersionSignature: Ubuntu 3.19.0-9.9-generic 3.19.1
  Uname: Linux 3.19.0-9-generic x86_64
  ApportVersion: 2.16.2-0ubuntu3
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  nicholas   1695 F pulseaudio
   /dev/snd/controlC1:  nicholas   1695 F pulseaudio
  CurrentDesktop: Unity
  Date: Thu Mar 26 09:47:16 2015
  HibernationDevice: 

[Kernel-packages] [Bug 1436940] Re: Atheros wifi 168c:0041(QCA6164) is not supported

2015-07-19 Thread Patrick Lacasse
I have the same issue with my new lenovo yoga 3 14.

$lspci -nn | tail -n1
02:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:0041] (rev 20)

$ cat /sys/devices/virtual/dmi/id/product_version
Lenovo Yoga 3 14

I also have no rfkill switch, which means that my wireless was hard blocked.
I added my product version into the ideapad-laptop module from 
git://kernel.ubuntu.com/ubuntu/ubuntu-vivid.git (see attached patch).

Now it is no more hard blocked
$ rfkill list
0: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: no

But still not usable.

I'm willing to test anything you propose.

** Patch added: Add Lenovo Yoga 3 14 id to no_hw_rfkill_list.
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1436940/+attachment/4431155/+files/ideapad-laptop.c.LenovoYoga314.patch

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

Title:
  Atheros wifi 168c:0041(QCA6164) is not supported

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Vivid:
  Confirmed
Status in linux source package in Wily:
  Confirmed

Bug description:
  The atheros wireless device (168c:0041) isn't supported by the
  ath10k_pci kernel driver.

  Found in several laptop models:

  Lenovo G50-80
  Lenovo Edge 15
  Lenovo Z70
  Lenovo G50-45
  Lenovo Flex 3-1470

  ProblemType: BugDistroRelease: Ubuntu 15.04
  Package: linux-image-3.19.0-9-generic 3.19.0-9.9
  ProcVersionSignature: Ubuntu 3.19.0-9.9-generic 3.19.1
  Uname: Linux 3.19.0-9-generic x86_64
  ApportVersion: 2.16.2-0ubuntu3
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  nicholas   1695 F pulseaudio
   /dev/snd/controlC1:  nicholas   1695 F pulseaudio
  CurrentDesktop: Unity
  Date: Thu Mar 26 09:47:16 2015
  HibernationDevice: RESUME=UUID=5b068cd8-e60a-49b9-a88e-1581bb6b3dc1
  InstallationDate: Installed on 2015-03-25 (1 days ago)
  InstallationMedia: Ubuntu 14.10 Utopic Unicorn - Release amd64 (20141022.1)
  IwConfig:
   eth0  no wireless extensions.

   lono wireless extensions.
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 004: ID 0cf3:e300 Atheros Communications, Inc.
   Bus 001 Device 003: ID 5986:0652 Acer, Inc
   Bus 001 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card 
Reader Controller
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: LENOVO 80E5
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-9-generic 
root=UUID=e52867c5-0b50-42fb-8288-f30765f926c5 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.19.0-9-generic N/A
   linux-backports-modules-3.19.0-9-generic  N/A
   linux-firmware1.143SourcePackage: linux
  UpgradeStatus: Upgraded to vivid on 2015-03-26 (0 days ago)
  dmi.bios.date: 06/20/2014
  dmi.bios.vendor: LENOVO
  dmi.bios.version: B0CN69WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: Lenovo G50-80
  dmi.board.vendor: LENOVO
  dmi.board.version: 31900058 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo G50-80
  dmi.modalias: 
dmi:bvnLENOVO:bvrB0CN69WW:bd06/20/2014:svnLENOVO:pn80E5:pvrLenovoG50-80:rvnLENOVO:rnLenovoG50-80:rvr31900058WIN:cvnLENOVO:ct10:cvrLenovoG50-80:
  dmi.product.name: 80E5
  dmi.product.version: Lenovo G50-80
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1436940/+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