You are not logged in.

#1 2011-08-05 16:06:42

nexxx
Member
From: Wolfsberg
Registered: 2010-09-15
Posts: 22

[Solved] ar9170usb loaded but WIFI not working

Hi,

I bought today my new USB WIFI adapter (TP-Link TL-WN822N), but its not working.
ar9170usb module is loaded correctly, but wlan0 doesnt.

dmesg| grep ar9170usb
[    3.007214] usbcore: registered new interface driver ar9170usb
lsmod | grep ar9170usb
ar9170usb              49413  0 
mac80211              211662  5 ar9170usb,carl9170,rt2800lib,rt2x00usb,rt2x00lib
ath                    14355  2 ar9170usb,carl9170
cfg80211              146369  5 ar9170usb,carl9170,rt2x00lib,mac80211,ath
usbcore               142192  9 ar9170usb,carl9170,rt2800usb,rt2x00usb,rt2870sta,usbhid,xhci_hcd,ehci_hcd
lsusb
Bus 001 Device 003: ID 0cf3:1002 Atheros Communications, Inc. TP-Link TL-WN821N v2 [Atheros AR9001U-(2)NG]

Any ideas?

Last edited by nexxx (2011-08-08 07:23:16)

Offline

#2 2011-08-05 16:41:58

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [Solved] ar9170usb loaded but WIFI not working

There are two drivers for this chip (one was removed in kernel 3.0). You have both loaded, which causes a mess. Blacklist ar9170usb, so that only carl9170 will be loaded. Also, for some reason you have Ralink drivers loaded too, that potentially causes conflicts too.

Offline

#3 2011-08-05 18:22:17

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: [Solved] ar9170usb loaded but WIFI not working

I tried your blacklisting method as I have the same type of chip in my usb dongle.  However, after blacklisting the arl9170usb driver, my internet fails.  Blacklisting the other module doesn't seem to do much but my connection to the net still works after doing so.

Offline

#4 2011-08-07 02:30:35

coolbooks2
Member
Registered: 2009-02-12
Posts: 19

Re: [Solved] ar9170usb loaded but WIFI not working

I have the same adapter as well. I discovered blacklisting ath9k, ath5k, arusb_lnx  and ar9170usb causes the right driver to be loaded. The first two may not be needed I had a atheros chip in that pc as well so it required those to blacklisted. The wiki says to blacklist ar9170usb and arusb_lnx. With just ar9170usb blacklisted the adpater will connect but be extremly slow. With the old driver ar9170usb only G connections will work. Hope this helps.

Offline

#5 2011-08-08 06:58:44

nexxx
Member
From: Wolfsberg
Registered: 2010-09-15
Posts: 22

Re: [Solved] ar9170usb loaded but WIFI not working

Solved my problem by blacklisting "carl9170", so only "ar9170usb" module is loaded.
Blacklisting "ar9170usb" did not work here!

Thanks


EDIT:
After update to Kernel 3.0 the ar9170usb module was removed. Now its not working anymore.
When i load the carl9170 module,  it says
[    2.979833] usb 3-1: firmware not found.

Do I need any additional firmware?

Last edited by nexxx (2011-08-08 07:19:49)

Offline

#6 2011-08-08 07:20:13

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [Solved] ar9170usb loaded but WIFI not working

OK for now - but as already advised, ar9170usb has been removed from the next kernel version, so you will need to reconfigure again when you get that upgrade.

Offline

#7 2011-08-08 07:23:01

nexxx
Member
From: Wolfsberg
Registered: 2010-09-15
Posts: 22

Re: [Solved] ar9170usb loaded but WIFI not working

So...shame on me...

After installing the carl1970 FW from AUR its working...

Offline

#8 2011-08-08 07:27:01

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [Solved] ar9170usb loaded but WIFI not working

Yes - it appears the linux-firmware pacakge is lagging behind the linux package here. Use either linux-firmware-git or carl9170-fw, both in the AUR, until the official package catches up.

Offline

#9 2011-10-11 11:03:55

Dehir
Member
From: Finland
Registered: 2009-11-08
Posts: 28

Re: [Solved] ar9170usb loaded but WIFI not working

I had problems i guess QOS with carl9170 while playing various online games. The situation went better while i upgraded to 1.9.4 beta firmware. I dont get any disconnects anymore. So if you get disconnected once a while id suggest that try latest firmware available.

Offline

Board footer

Powered by FluxBB