Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Qualcomm Atheros QCA9565/ AR9565, UBUNTU 12.04

  1. #1
    Join Date
    Sep 2013
    Beans
    2

    Qualcomm Atheros QCA9565/ AR9565, UBUNTU 12.04

    I had purchased a Dell Inspiron 14 3421 LAPTOP, My WiFi details are
    Qualcomm Atheros QCA 95665/ AR9565 wireless network adapter[168c:0036] (rev 01).
    I have installed Ubuntu12.04 LTS , but WiFi driver is not detected.
    I had contacted DELL Support center on phone, They had suggested to install
    a genuine Windows version which is only supported by them
    Please help me to find out a driver.
    Thanks in advance
    Anoop

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

    Re: Need a Dell Driver for Qualcomm Atheros QCA9565/ AR9565 FoOr UBUNTU 12.04

    Please check here: http://ubuntuforums.org/showthread.php?t=2103062 Post #1 describes your device, Ubuntu 12.04 and includes the solution.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

  3. #3
    Join Date
    Sep 2013
    Beans
    2

    Re: Need a Dell Driver for Qualcomm Atheros QCA9565/ AR9565 FoOr UBUNTU 12.04

    It worked like a CHARM
    Brief of what i did for further reference.

    sudo apt-get install linux-headers-generic build-essential

    https://www.kernel.org/pub/linux/ker...kports/stable/
    Downloaded and extracted; compat-drivers-3.9-rc4-2-s.tar.bz2

    cd Desktop/compat-drivers-3.9-rc4-2-s
    sudo su
    ./scripts/driver-select ath9k
    make



    I got one error after this command, the error was
    error: redefinition of ‘kref_get_unless_zero’
    include/linux/kref.h:47:32: note: previous definition of ‘kref_get_unless_zero’ was here


    Then i did this in one of file

    open the file .../compat-wireless-2012-12-18/include/linux/compat-3.8.h in your favourite editor,
    find the kref_get_unless_zero function (telling from your error message, it should be on line 47) and comment it out. In case you have no idea what I'm talking about: Comment this code


    static inline int __must_check kref_get_unless_zero(struct kref *kref)
    {
    return atomic_add_unless(&kref->refcount, 1, 0);
    }

    then

    carry on with

    make
    make install
    exit


    after a reboot , my wifi is working like a charm.....

    Thanks
    Anoop

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

    Re: Need a Dell Driver for Qualcomm Atheros QCA9565/ AR9565 FoOr UBUNTU 12.04

    Awesome! Great job. You will have compiled the driver for your currently running kernel only. When Update Manager installs a later linux-image, after reboot, re-compile:
    Code:
    cd compat-wireless-3.6.6-1-snpc
    sudo su
    make clean
    ./scripts/driver-select ath9k
    make
    make install
    modprobe ath9k
    exit
    The change to compat-3.8.h need not be repeated.

    Please mark the thread Solved: https://wiki.ubuntu.com/UnansweredPo.../SolvedThreads
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

  5. #5
    Join Date
    Nov 2013
    Beans
    4

    Unhappy Re: Need a Dell Driver for Qualcomm Atheros QCA9565/ AR9565 FoOr UBUNTU 12.04

    Quote Originally Posted by chili555 View Post
    Awesome! Great job. You will have compiled the driver for your currently running kernel only. When Update Manager installs a later linux-image, after reboot, re-compile:
    Code:
    cd compat-wireless-3.6.6-1-snpc
    sudo su
    make clean
    ./scripts/driver-select ath9k
    make
    make install
    modprobe ath9k
    exit
    The change to compat-3.8.h need not be repeated.

    Please mark the thread Solved: https://wiki.ubuntu.com/UnansweredPo.../SolvedThreads
    I have the same problem driver for Qualcomm Atheros QCA9565/ AR9565 is not instaled, but when I perform the quoted commands I get stuck at make command,

    Here the code:
    Code:
    choda@Lappy:~$ cd compat-wireless-3.6.6-1-snpc/
    choda@Lappy:~/compat-wireless-3.6.6-1-snpc$ sudo su
    [sudo] password for choda:
    root@Lappy:/home/choda/compat-wireless-3.6.6-1-snpc# make clean
    make[1]: Entering directory `/usr/src/linux-headers-3.2.0-55-generic'
      CLEAN   /home/choda/compat-wireless-3.6.6-1-snpc
      CLEAN   /home/choda/compat-wireless-3.6.6-1-snpc/.tmp_versions
    make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-55-generic'
    root@Lappy:/home/choda/compat-wireless-3.6.6-1-snpc# ./scripts/driver-select ath9kProcessing new driver-select request...
    Backup exists: Makefile.bk
    Backup exists: Makefile.bk
    Backup exists: Makefile.bk
    Backup exists: Makefile.bk
    Backup exists: Makefile.bk
    Backup exists: drivers/net/wireless/Makefile.bk
    Backup exists: drivers/net/wireless/ath/Makefile.bk
    Backup exists: net/wireless/Makefile.bk
    Backup exists: drivers/ssb/Makefile.bk
    Backup exists: drivers/bcma/Makefile.bk
    Backup exists: drivers/misc/eeprom/Makefile.bk
    Backup exists: Makefile.bk
    root@Lappy:/home/choda/compat-wireless-3.6.6-1-snpc# make
    ./scripts/gen-compat-autoconf.sh /home/choda/compat-wireless-3.6.6-1-snpc/.config /home/choda/compat-wireless-3.6.6-1-snpc/config.mk > include/linux/compat_autoconf.h
    make -C /lib/modules/3.2.0-55-generic/build M=/home/choda/compat-wireless-3.6.6-1-snpc modules
    make[1]: Entering directory `/usr/src/linux-headers-3.2.0-55-generic'
      CC [M]  /home/choda/compat-wireless-3.6.6-1-snpc/compat/main.o
    In file included from /home/choda/compat-wireless-3.6.6-1-snpc/include/linux/compat-2.6.h:64:0,
                     from <command-line>:0:
    /home/choda/compat-wireless-3.6.6-1-snpc/include/linux/compat-3.4.h:32:21: error: redefinition of ‘kmalloc_array’
    include/linux/slab.h:243:21: note: previous definition of ‘kmalloc_array’ was here
    make[3]: *** [/home/choda/compat-wireless-3.6.6-1-snpc/compat/main.o] Error 1
    make[2]: *** [/home/choda/compat-wireless-3.6.6-1-snpc/compat] Error 2
    make[1]: *** [_module_/home/choda/compat-wireless-3.6.6-1-snpc] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-55-generic'
    make: *** [modules] Error 2
    This is my first time working in Ubuntu and I'm already stuck

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

    Re: Need a Dell Driver for Qualcomm Atheros QCA9565/ AR9565 FoOr UBUNTU 12.04

    Would you mind just confirming a few things?
    Code:
    lspci -nn | grep 0280
    sudo dpkg -s build-essential | head -n5
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

  7. #7
    Join Date
    Nov 2013
    Beans
    4

    Re: Need a Dell Driver for Qualcomm Atheros QCA9565/ AR9565 FoOr UBUNTU 12.04

    Code:
    choda@Lappy:~$ lspci -nn | grep 0280
    08:00.0 Network controller [0280]: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter [168c:0036] (rev 01)
    Code:
    choda@Lappy:~$ sudo dpkg -s build-essential | head -n5
    [sudo] password for choda:
    Package: build-essential
    Status: install ok installed
    Priority: optional
    Section: devel
    Installed-Size: 37
    I disabled wireless connection in upper right corner and since then I don't have option to enable it again.

    While looking for solution on internet I found this command, maybe it can help..

    Code:
    choda@Lappy:~$ sudo lshw -C network
      *-network              
           description: Ethernet interface
           product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller
           vendor: Realtek Semiconductor Co., Ltd.
           physical id: 0
           bus info: pci@0000:07:00.0
           logical name: eth0
           version: 05
           serial: 74:86:7a:6c:7e:56
           size: 10Mbit/s
           capacity: 100Mbit/s
           width: 64 bits
           clock: 33MHz
           capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
           configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl_nic/rtl8105e-1.fw latency=0 link=no multicast=yes port=MII speed=10Mbit/s
           resources: irq:43 ioport:2000(size=256) memory:c1404000-c1404fff memory:c1400000-c1403fff
      *-network UNCLAIMED
           description: Network controller
           product: QCA9565 / AR9565 Wireless Network Adapter
           vendor: Qualcomm Atheros
           physical id: 0
           bus info: pci@0000:08:00.0
           version: 01
           width: 64 bits
           clock: 33MHz
           capabilities: pm msi pciexpress bus_master cap_list
           configuration: latency=0
           resources: memory:c1500000-c157ffff memory:9fb00000-9fb0ffff
    Thanks for help

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

    Re: Need a Dell Driver for Qualcomm Atheros QCA9565/ AR9565 FoOr UBUNTU 12.04

    I may have found it! In the changelog for 3.6.8 here:
    compat: Backport kmalloc_array()
    Therefor, please try to compile this package instead: http://www.orbit-lab.org/kernel/comp...1-snpc.tar.bz2
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

  9. #9
    Join Date
    Nov 2013
    Beans
    4

    Re: Need a Dell Driver for Qualcomm Atheros QCA9565/ AR9565 FoOr UBUNTU 12.04

    Nope, that file won't do the trick

    Code:
    root@Lappy:/home/choda/compat-wireless-3.6.8-1-snpc# make
    ./scripts/gen-compat-autoconf.sh /home/choda/compat-wireless-3.6.8-1-snpc/.config /home/choda/compat-wireless-3.6.8-1-snpc/config.mk > include/linux/compat_autoconf.h
    make -C /lib/modules/3.2.0-55-generic/build M=/home/choda/compat-wireless-3.6.8-1-snpc modules
    make[1]: Entering directory `/usr/src/linux-headers-3.2.0-55-generic'
      CC [M]  /home/choda/compat-wireless-3.6.8-1-snpc/compat/main.o
    In file included from /home/choda/compat-wireless-3.6.8-1-snpc/include/linux/compat-2.6.h:64:0,
                     from <command-line>:0:
    /home/choda/compat-wireless-3.6.8-1-snpc/include/linux/compat-3.4.h:32:21: error: redefinition of ‘kmalloc_array’
    include/linux/slab.h:243:21: note: previous definition of ‘kmalloc_array’ was here
    make[3]: *** [/home/choda/compat-wireless-3.6.8-1-snpc/compat/main.o] Error 1
    make[2]: *** [/home/choda/compat-wireless-3.6.8-1-snpc/compat] Error 2
    make[1]: *** [_module_/home/choda/compat-wireless-3.6.8-1-snpc] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-55-generic'
    make: *** [modules] Error 2

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

    Re: Need a Dell Driver for Qualcomm Atheros QCA9565/ AR9565 FoOr UBUNTU 12.04

    Greater love for the forum hath no Chili than he installeth 12.04 LTS on an old harddrive and compile the driver. It compiles for me with a couple of warnings and NO errors. I am mystified.
    chili@ThinkT60:~/Desktop/compat-wireless-3.6.8-1-snpc$ modinfo drivers/net/wireless/ath/ath9k/ath9k.ko
    filename: drivers/net/wireless/ath/ath9k/ath9k.ko
    license: Dual BSD/GPL
    description: Support for Atheros 802.11n wireless LAN cards.
    author: Atheros Communications
    srcversion: 4ADBC452D2F0E3C7755CB89
    alias: platform:qca955x_wmac
    alias: platform:ar934x_wmac
    alias: platform:ar933x_wmac
    alias: platform:ath9k
    alias: pci:v0000168Cd00000036sv*sd*bc*sc*i*
    alias: pci:v0000168Cd00000037sv*sd*bc*sc*i*
    <snip>
    May I assume you did do this step before you did 'make?'
    Code:
    ./scripts/driver-select ath9k
    If you didn't or you are unsure, please do:
    Code:
    cd /home/choda/compat-wireless-3.6.8-1-snpc
    make clean
    ./scripts/driver-select ath9k
    make
    sudo make install
    Weird.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

Page 1 of 2 12 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
  •