Page 1 of 7 123 ... LastLast
Results 1 to 10 of 63

Thread: QCA9377 and no wireless network adapter Ubuntu 15.04

  1. #1
    Join Date
    Nov 2015
    Beans
    5

    QCA9377 and no wireless network adapter Ubuntu 15.04

    I'm using acer e5-47G, I tried the instructions given by dr-cono in http://ubuntuforums.org/showthread.php?t=2300861&page=3 but http://filebin.ca/2LVgpjSgiT56/backp...-11-05.tar.bz2 is down so I cant wget the tar.bz2.

    for lspci
    02:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
    03:00.0 Network controller: Qualcomm Atheros Device 0042 (rev 30)

    wireless-info.txt

  2. #2
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    25,363
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: QCA9377 and no wireless network adapter Ubuntu 15.04

    I have been trying to work this out for quite some time and I'm stuck because I do not have the hardware. You will need to test for us.

    With a temporary working internet connection, by ethernet, tethered or whatever means possible, open a terminal and do:
    Code:
    sudo apt-get update
    sudo apt-get install linux-headers-generic build-essential
    wget https://www.kernel.org/pub/linux/kernel/projects/backports/2015/11/20/backports-20151120.tar.gz
    tar -zxvf backports-20151120.tar.gz
    cd backports-20151120
    make defconfig-ath10k
    make
    sudo make install
    Reboot and let us see:
    Code:
    dmesg | grep ath
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

  3. #3
    Join Date
    Nov 2015
    Beans
    5

    RE: QCA9377 and no wireless network adapter Ubuntu 15.04

    the result of sudo make install
    Code:
    Building modules, stage 2.
      MODPOST 6 modules
      INSTALL /home/chocho/backports-20151120/compat/compat.ko
    Can't read private key
      INSTALL /home/chocho/backports-20151120/drivers/net/wireless/ath/ath.ko
    Can't read private key
      INSTALL /home/chocho/backports-20151120/drivers/net/wireless/ath/ath10k/ath10k_core.ko
    Can't read private key
      INSTALL /home/chocho/backports-20151120/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
    Can't read private key
      INSTALL /home/chocho/backports-20151120/net/mac80211/mac80211.ko
    Can't read private key
      INSTALL /home/chocho/backports-20151120/net/wireless/cfg80211.ko
    Can't read private key
      DEPMOD  4.2.0-18-generic
    depmod will prefer updates/ over kernel/ -- OK!
    Note:
    You may or may not need to update your initramfs, you should if
    any of the modules installed are part of your initramfs. To add
    support for your distribution to do this automatically send a
    patch against "update-initramfs.sh". If your distribution does not
    require this send a patch with the '/usr/bin/lsb_release -i -s'
    ("Ubuntu") tag for your distribution to avoid this warning.
    
    Your backported driver modules should be installed now.
    is this okay? I'll be back I'll reboot this now.

    WOW Thank you so much!! It works now!

    Acer- E5-473G QCA9377 for future users Thank you!
    Last edited by howefield; January 11th, 2016 at 11:47 AM.

  4. #4
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    25,363
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: QCA9377 and no wireless network adapter Ubuntu 15.04

    Awesome! Glad it's working. You will have helped many searchers.

    You have compiled the driver for your current kernel version only. When Update Manager installs a later linux-image, after the required reboot, recompile the driver:
    Code:
    cd backports-20151120
    make clean
    make defconfig-ath10k
    make
    sudo make install
    Reboot and it should be working again.

    Please retain the file and these instructions for that time.
    Last edited by chili555; November 25th, 2015 at 05:57 PM.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

  5. #5
    Join Date
    Oct 2011
    Beans
    31

    Re: QCA9377 and no wireless network adapter Ubuntu 15.04

    @Chili555

    Thanks for helping people out while i was a bit busy to check the forum. Anyways, i can see that yours is a more elegant solution as we get the backport from none other than kernel.org

    Thanks again.

  6. #6
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    25,363
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: QCA9377 and no wireless network adapter Ubuntu 15.04

    Quote Originally Posted by rinfinity View Post
    @Chili555

    Thanks for helping people out while i was a bit busy to check the forum. Anyways, i can see that yours is a more elegant solution as we get the backport from none other than kernel.org

    Thanks again.
    I'm glad it's working for you all. I actually had no way to find out for sure until a test case, jettcalleja, helped us confirm it.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

  7. #7
    Join Date
    Nov 2015
    Beans
    4

    Re: QCA9377 and no wireless network adapter Ubuntu 15.04

    Hi, guys. Did all the steps described above. Still not working. Could you Heelp me out, please.

    yuriy@yuriy-Aspire-E5-573G:~$ dmesg | grep ath
    [ 2.763569] ath10k_pci 0000:03:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
    [ 3.015230] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2
    [ 3.015486] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-5.bin failed with error -2
    [ 3.015491] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-5.bin': -2
    [ 3.015504] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-4.bin failed with error -2
    [ 3.015506] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-4.bin': -2
    [ 3.015514] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-3.bin failed with error -2
    [ 3.015516] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-3.bin': -2
    [ 3.015525] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-2.bin failed with error -2
    [ 3.015527] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-2.bin': -2
    [ 3.015536] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware.bin failed with error -2
    [ 3.015538] ath10k_pci 0000:03:00.0: could not fetch firmware (-2)
    [ 3.015540] ath10k_pci 0000:03:00.0: could not fetch firmware files (-2)
    [ 3.015542] ath10k_pci 0000:03:00.0: could not probe fw (-2)


    yuriy@yuriy-Aspire-E5-573G:~$ lspci
    00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09)
    00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09)
    00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
    00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03)
    00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03)
    00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)
    00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 (rev e3)
    00:1c.2 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 (rev e3)
    00:1c.3 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #4 (rev e3)
    00:1c.4 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #5 (rev e3)
    00:1d.0 USB controller: Intel Corporation Wildcat Point-LP USB EHCI Controller (rev 03)
    00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03)
    00:1f.2 SATA controller: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] (rev 03)
    00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03)
    02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
    03:00.0 Network controller: Qualcomm Atheros Device 0042 (rev 30)
    04:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940M] (rev ff)


    yuriy@yuriy-Aspire-E5-573G:~$ lspci -nn | grep 0280
    03:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:0042] (rev 30)
    Attached Files Attached Files

  8. #8
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    25,363
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: QCA9377 and no wireless network adapter Ubuntu 15.04

    Direct firmware load for ath10k/QCA9377/hw1.0/firmware-5.bin failed with error -2
    It looks like you need some firmware. Please open a terminal and do:
    Code:
    sudo mkdir /lib/firmware/ath10k/QCA9377/
    sudo mkdir /lib/firmware/ath10k/QCA9377/hw1.0
    If it reports that the file already exists, that's fine, just continue.

    With a temporary working internet connection:
    Code:
    sudo apt-get install git
    git clone https://github.com/kvalo/ath10k-firmware.git
    cd ath10k-firmware/QCA9377/hw1.0
    sudo cp board.bin  /lib/firmware/ath10k/QCA9377/hw1.0
    sudo cp firmware-5.bin_WLAN.TF.1.0-00267-1   /lib/firmware/ath10k/QCA9377/hw1.0/firmware-5.bin
    sudo modprobe -r ath10k_pci
    sudo modprobe ath10k_pci
    Your wireless should be working; if not, try a reboot.
    Last edited by chili555; May 9th, 2016 at 12:02 AM. Reason: Typo.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

  9. #9
    Join Date
    Nov 2015
    Beans
    4

    Re: QCA9377 and no wireless network adapter Ubuntu 15.04

    chili555

    Thanks for a quick response.

    Have done all steps again. But doesn't work.
    Actually directory was present like you said and contains the same file but with different name. Not sure if it help to solve the problem.

    yuriy@yuriy-Aspire-E5-573G:/lib/firmware/ath10k/QCA9377/hw1.0$ md5sum firmware5.bin
    568690a62b5e69ec24400bf41eb07aa2 firmware5.bin


    yuriy@yuriy-Aspire-E5-573G:/lib/firmware/ath10k/QCA9377/hw1.0$ md5sum firmware-5.bin_WLAN.TF.1.0-00267-1
    568690a62b5e69ec24400bf41eb07aa2 firmware-5.bin_WLAN.TF.1.0-00267-1


    Here is all the files in directory.
    yuriy@yuriy-Aspire-E5-573G:/lib/firmware/ath10k/QCA9377/hw1.0$ ls -la
    total 1248
    drwxr-xr-x 2 root root 4096 лис 26 18:02 .
    drwxr-xr-x 3 root root 4096 лис 24 23:47 ..
    -rw-r--r-- 1 root root 8124 лис 26 18:01 board.bin
    -rw-r--r-- 1 root root 605908 лис 26 18:02 firmware5.bin
    -rw-r--r-- 1 root root 605908 лис 25 00:31 firmware-5.bin_WLAN.TF.1.0-00267-1
    -rw-r--r-- 1 root root 46142 лис 25 00:31 notice.txt_WLAN.TF.1.0-00267-1

    This command gives the same error even after the reboot

    yuriy@yuriy-Aspire-E5-573G:/lib/firmware/ath10k/QCA9377/hw1.0$ dmesg | grep ath
    [ 2.810428] ath10k_pci 0000:03:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
    [ 3.058607] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2
    [ 3.063739] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-5.bin failed with error -2
    [ 3.063746] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-5.bin': -2
    [ 3.063762] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-4.bin failed with error -2
    [ 3.063765] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-4.bin': -2
    [ 3.063799] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-3.bin failed with error -2
    [ 3.063803] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-3.bin': -2
    [ 3.063812] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-2.bin failed with error -2
    [ 3.063814] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-2.bin': -2
    [ 3.063823] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware.bin failed with error -2
    [ 3.063825] ath10k_pci 0000:03:00.0: could not fetch firmware (-2)
    [ 3.063827] ath10k_pci 0000:03:00.0: could not fetch firmware files (-2)
    [ 3.063829] ath10k_pci 0000:03:00.0: could not probe fw (-2)


    Thanks

  10. #10
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    25,363
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: QCA9377 and no wireless network adapter Ubuntu 15.04

    This is all a bit experimental. I haven't the device; I have only a slight knowledge of how these things are supposed to, but often don't, work.

    Please see: http://lists.infradead.org/pipermail...er/006403.html I think part of the problem was that the driver identified your device as HW_1_0 when it is actually a HW_1_1.
    - .id = QCA9377_HW_1_0_DEV_VERSION,
    - .name = "qca9377 hw1.0",
    + .id = QCA9377_HW_1_1_DEV_VERSION,
    + .name = "qca9377 hw1.1",
    Let's try to trick the driver. We'll make a new folder hw1.1 and copy over the firmware files. Then reboot and check dmesg.
    Code:
    sudo mkdir /lib/firmware/ath10k/QCA9377/hw1.1
    sudo cp  /lib/firmware/ath10k/QCA9377/hw1.0/*  /lib/firmware/ath10k/QCA9377/hw1.1
    Cross your fingers and reboot.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

Page 1 of 7 123 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •