How to get Atheros AR9485 WiFi working?

tingo

Daemon

Thanks: 344
Messages: 1,880

#2
You need to show the relevant output from pciconf -lv in order for anyone to help you more. Note: relevant output is only the lines which describe the AR9485.
 

scottro

Daemon

Thanks: 441
Messages: 1,293

#3
The quick way: pciconf -lv |grep -B3 network

The B is for before, so it prints the three lines above. This shows me (on a Zenbook UX31E, the earliest one, I think) that it sees the AR9485 card. A cursory google indicates that it's not yet in head, though some people have been playing with it. I don't have the links immediately available, but I did glance at it today. So, it sees the card, but (just playing around with a live image), wasn't able to use it. (For anyone who comes across this, the 9.2-RC2 version does work out of the box with the included USB to Ethernet dongle that ships with the UX31E).

Also, when answering @tingo's request, put in all the output from pciconf, showing the card, chip and revision (rev). My machine is probably different than yours, but, as an example, my output included class, card, chip, rev, hdr, and all that may be useful.

EDIT:
https://wiki.freebsd.org/dev/ath_hal(4)/AR9300 indicates that you might need to be using CURRENT. Looking at the link that you posted, there's a link on the right, indicating that one should see the link that I have above.

[Further Edit]
Ok, I got curious and downloaded a USB image of CURRENT. I ran it as a live CD and it detected the AR9485 wireless card without problem.
 
Last edited by a moderator:
OP
OP
C

cookiemonster

New Member


Messages: 15

#4
Thanks guys, pciconf shows the following:
Code:
none2@ pci 0:4:0:0: class=0x028000 card=0x662811ad chip=0x0032168c rev=0x01 hdr=0x00
vendor = 'Atheros Communications Inc.'
device = 'AR9485 Wireless Network adapter'
class = network
This is from the 9.2-RELEASE DVD (PC-BSD version which was apparently released on the 16th of this month).

So, only 10.0-CURRENT or later will work with this chip?
 

scottro

Daemon

Thanks: 441
Messages: 1,293

#5
That appears to be the case. I only Googled for a few minutes on it, it appears that Adrian Chadd is doing the work, but so far, it's only in 10, not 9.x.
 

scottro

Daemon

Thanks: 441
Messages: 1,293

#7
Note that that seems to be for the 9285, not the 9485. It might work though as he's said the code is in HEAD. I would have to make room on the machine that has that drive, install it, and try. You've gotten me curious now, and I'm probably going to give it a try later today.
 

scottro

Daemon

Thanks: 441
Messages: 1,293

#8
Well, I gave it a try, but after building the kernel (I had to comment out one additional line, not mentioned in the 2011 post, ath_pci), I couldn't get the downloaded ath modules to build. No doubt my error, as I don't know enough about what's changed in it.
 

scottro

Daemon

Thanks: 441
Messages: 1,293

#12
A quick follow up on this. I tried again this morning, but still no luck. First, when I tried to do the compile it was looking for a /contrib/dev/ath directory. So, I checked that out as well, but failed, as did the last poster in the thread to which you linked with several lines containing a "has no member named" error, such as
Code:
...has no member named 'iv_node_ps'
So, for the moment at least, I'm giving up on my Zenbook, unless I either use the USB to Ethernet dongle, which works out of the box with 9.2, or run CURRENT on it.
 

paulfrottawa

Active Member

Thanks: 22
Messages: 241

#13
Code:
$ cd ~/ath/head/sys/modules/ath && env CFLAGS=-I~/ath/head/sys/ make
"/usr/home/paul/ath/head/sys/modules/ath/../../conf/kern.mk", line 37: Malformed conditional (${MK_FORMAT_EXTENSIONS} == "no")
"/usr/home/paul/ath/head/sys/modules/ath/../../conf/kern.mk", line 39: if-less else
"/usr/home/paul/ath/head/sys/modules/ath/../../conf/kern.mk", line 41: if-less endif
make: fatal errors encountered -- cannot continue
Also: Kernel wouldn't compile without also hashing out (#)
Code:
device         ath_pci         # Atheros pci/cardbus glue
 

Derek C Johnstone

New Member


Messages: 9

#14
Just to add my experience to this thread.
I am convering an old Asus P5G41T-MLX machine to run FreeBSD 11.1
Initally it would not find the Atheros AR8131-BL1A device.
Updating the BIOS resolved the problem
 
Top