How to install Qualcomm Atheros AR9565 wireless drivers?

I purchased an HP laptop with the Qualcomm Atheros AR9565 (QCWB335) wireless adapter. I understand that this adapter is currently not supported on Ubuntu 12.04 and there is no way to get wireless access.

I installed compat-wireless-3.6.6-1 ath9k driver and it didn’t work, lshw -C network still showed *-network UNCLAIMED after reset.

How can I figure out when Ubuntu will have driver for AR9565? Is there a workaround to get wireless working somehow?

Here is Solutions:

We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.

Solution 1

Your device is covered in this package:

The files with extra letters, in this case snpc, are pre-patched to add newer devices and, sometimes, features. Yours is a good example.

Solution 2

Here’s one way to solve this. I myself had the same problem as mentioned here. I followed two posts on ubuntuforum by anoop-n2 and chili555, and kind of did a mix of things, which can be outlined as follows:

You need to have linux-headers-generic and build-essential installed, try

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

which will turn out to be of the newest version if those are already there.

The following should be done in a terminal as root:

sudo -i
tar xvf compat-drivers-3.9-rc4-2-s.tar.bz2
cd compat-drivers-3.9-rc4-2-s/
./scripts/driver-select ath9k

Now this will probably give the following error:

error: redefinition of ‘kref_get_unless_zero’
include/linux/kref.h:47:32: note: previous definition of ‘kref_get_unless_zero’ was here

In this case, open the header file, and find the entire block of the function:

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

Next comment out the entire block of the function using line comment (put // in front of each line) or block comment in c as,

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

then type the following commands one by one:

make install

Then load the driver using

modprobe ath9k

or reboot the system. Afterwards the wifi should be working.

Solution 3

The compat-wireless package will probably require adding your to the pci.c file as well as some other changes, similar to this:

Did you do that? Learn your with:

    lspci -nn | grep 0280

There may be a version of compat-wireless that includes your device. If you’ll post the details, we’ll be happy to assist you.

Solution 4

I was able to fix this issue by running the following commands.

sudo apt-get autoclean
sudo apt-get update
sudo apt-get dist-upgrade

What I found that this upgrades the kernel from to

Hope that helps…

Solution 5

I would try to use Linux Mint, as I was having problems with this chip-set also in my Debian dist. One of the people suggested Mint and it came up working on the first install, not just wifi, but all the communication stuff. Maybe time to switch distro’s!

I did resolve my problems with a backport and now that it’s installed I have no problems with the AR9565 set. Might look at available backports to see if there is a hint about support there.

It is cheap to download and burn a DVD with Mint live on it to just boot and see if it’s supported, instead of banging your head. I’m confident that it will support yours, because it supports mine! Also, anyone you speak with will understand that the chip-set is supported somewhere in the Linux world and not spend half of your time debating if it’s supported or not. Plus it’s nice warm willies to have it come up and work after all the work you put into it!

Solution 6

Qualcomm Atheros QCA8172 on Lenovo G505 – Ubuntu 13.04 works perfectly on Lenovo G505 – make sure you do a clean install of Ubuntu 13.04 vs a ‘re-install’. Wi-Fi/LAN keyboard mouse everything works perfectly.

I’d spent all day looking for drivers, but the ones included in ubuntu 13.04 already support Qualcomm Atheros QCA8172 network driver card. Cheers

Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from or, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply