TP-Link TL-WN821N

Have the above USB Wireless adaptor. Info:
UDI: /org/freedesktop/Hal/devices/usb_device_cf3_1002_12345_if0

From dmesg:
usb 1-4: configuration #1 chosen from 1 choice
usb 1-4: New USB device found, idVendor=0cf3, idProduct=1002
usb 1-4: New USB device strings: Mfr=16, Product=32, SerialNumber=48
usb 1-4: Product: USB2.0 WLAN
usb 1-4: Manufacturer: ATHER
usb 1-4: SerialNumber: 12345

From what I have read, this is supported by the latest drivers, and in the latest kernel…
As I don’t have the latest kernel (2.6.27.29-0.1-default) I have downloaded the latest drivers and firmware(ar9170) and installed (I think!) successfully. But, I think it is supposed to give me an ar9170usb driver(??), but this doesn’t exist. There appears to be no real howto for this (that I can find).
Where can I find the actual driver…?

Thanks,
John.

knowing about one’s system is normally helpful;

run this script

Benutzeranleitung/Usersguide von/of collectNWData | collectNWData.sh

and post the results back to the forum;

(the script may even give you the answer …)

the script is safe and has been used many times on this forum; it is written by framp in Germany

Well, no sign of wireless except for in the lsusb…
NWCollect
No drivers etc being loaded…
Help. :’(

Thanks, John

On 10/22/2009 04:26 AM, hornetster wrote:
>
> Well, no sign of wireless except for in the lsusb…
> ‘NWCollect’ (http://dl.getdropbox.com/u/2512459/NWData221009.txt)
> No drivers etc being loaded…
> Help. :’(

Have you installed the compat-wireless package for your kernel? It was
not clear what you did when you said you downloaded the “latest drivers”.

Yes, I did install the relevant compat-wireless package, and it all seemed to install OK.
John.

On 10/22/2009 04:36 PM, hornetster wrote:
>
> Yes, I did install the relevant compat-wireless package, and it all
> seemed to install OK.

I don’t understand why the driver is not loading. Please run the
following command and post the output:


find /lib/modules  -name  "ar9170*.ko"

I think ar9170usb.ko is the correct driver.

Running find /lib/modules -name “ar9170*.ko” gives no output…
I’m back home, so versions are:
john@boss:~> uname -r
2.6.27.29-0.1-default

The Compat stuff I installed was: compat-wireless-2.6.30.tar.bz2
Just did a full search of the PC, and there is no file ar9170* at all - except the firmware…

John.

On 10/23/2009 01:16 AM, hornetster wrote:
>
> Running find /lib/modules -name “ar9170*.ko” gives no output…
> I’m back home, so versions are:
> -john@boss:~> uname -r
> 2.6.27.29-0.1-default-
> The Compat stuff I installed was: -compat-wireless-2.6.30.tar.bz2-
> Just did a full search of the PC, and there is no file ar9170* at all -
> except the firmware…

That certainly explains why the driver is not loading. That version of
compat-wireless is too old. You should either get the current
“bleeding-edge” version or the correct compat-wireless package for
your kernel. If I remember correctly, it is located in the Packman
repository. I’m running 11.2 now and cannot check the 11.1 repos.

config.mk:

a) compat-wireless STABLE(2.6.30)

# Activate AR9170 support only on kernel >= 2.6.29.
# The needed USB poison feature was added in this kernel release.
ifeq ($(shell test $(KERNEL_SUBLEVEL) -ge 29 && echo yes),yes)
CONFIG_AR9170_USB=m
CONFIG_AR9170_LEDS=y
endif

b) compat-wireless “bleeding edge” (2.6.32-rcX)

ifndef CONFIG_COMPAT_WIRELESS_28
CONFIG_AR9170_USB=m
CONFIG_AR9170_LEDS=y
endif

Now I am getting REALLY confused. If I download the bleeding Edge, there is still no usb driver:

boss:/home/Software/wireless/compat-wireless-2009-10-24/scripts # ./driver-select
Usage: ./driver-select <driver-name> | <driver-group-name> | restore ]
Supported drivers:
ath5k
ath9k
ar9170
zd1211rw
Supported group drivers:
atheros < ath5k ath9k ar9170 zd1211rw >
ath < ath5k ath9k ar9170 >
intel < iwl3945 iwlagn ipw2100 ipw2200 >
iwlwifi < iwl3945 iwlagn >
rtl818x < rtl8180 rtl8187 >
wl12xx < wl1251 (SPI and SDIO) wl1271 >
Restoring compat-wireless:
restore: you can use this option to restore compat-wireless to the original state

If I try and install through Yast, I get:
nothing provides kernel(default:vmlinux) = f30985aa0d58b1bd needed by compat-wireless-kmp-default-20080615_2
but:
boss:/home/john # uname -r
2.6.27.29-0.1-default

What next?
BTW, appreciate all the assistance! :slight_smile:
Thanks, John.

Of course there is none, my last post shows you the reason.

Sorry, did I misread your post? I thought you said to download the latest bleeding edge, which I did :

*If I download the bleeding Edge, there is still no usb driver:

boss:/home/Software/wireless/compat-wireless-2009-10-24/scripts # ./driver-select
Usage: ./driver-select <driver-name> | <driver-group-name> | restore ]
Supported drivers:
ath5k
ath9k
ar9170
zd1211rw
Supported group drivers:
atheros < ath5k ath9k ar9170 zd1211rw >
ath < ath5k ath9k ar9170 >
intel < iwl3945 iwlagn ipw2100 ipw2200 >
iwlwifi < iwl3945 iwlagn >
rtl818x < rtl8180 rtl8187 >
wl12xx < wl1251 (SPI and SDIO) wl1271 >
Restoring compat-wireless:
restore: you can use this option to restore compat-wireless to the original state

And also tried the repos:
If I try and install through Yast, I get:
nothing provides kernel(default:vmlinux) = f30985aa0d58b1bd needed by compat-wireless-kmp-default-20080615_2
but:
boss:/home/john # uname -r
2.6.27.29-0.1-default

What didn’t I do?

Thanks, John.

Yes.

No, it doesn’t.

The _only_chance to get your driver on 2.6.27 would be compat-wireless from the driver:/wireless repo.

I’m sure I read this in a post:
“You should either get the current
“bleeding-edge” version or the correct compat-wireless package for
your kernel.”
… but that’s OK…

So that leaves the other part of my previous post:
And also tried the repos:
If I try and install through Yast, I get:
nothing provides kernel(default:vmlinux) = f30985aa0d58b1bd needed by compat-wireless-kmp-default-20080615_2
but:
boss:/home/john # uname -r
2.6.27.29-0.1-default

While trying to install “compat-wireless-kmp-default” from the repo: Driver:wireless/openSUSE_11.1…

As I said “what next”??

Thanks, John.

Certainly not, the name of the package shows me, it is not from that repo.

Yes, Larry posted that IIRC and unfortunately he was wrong on that point.

My first answer was mainly for him and for people reading this thread later to clarify that little mistake.

compat-wireless-kmp-default-2.6.30.9_2.6.27.7_9.1-1.1.x86_64 requires kernel(default:drivers_pcmcia) = a3774│

Am I getting close?

I’m sorry, akoellh, but perhaps the whole misunderstanding is the fact that I didn’t have a clue what your first post was supposed to convey…
*config.mk:

a) compat-wireless STABLE(2.6.30)

Code:

Activate AR9170 support only on kernel >= 2.6.29.

The needed USB poison feature was added in this kernel release.

ifeq ($(shell test $(KERNEL_SUBLEVEL) -ge 29 && echo yes),yes)
CONFIG_AR9170_USB=m
CONFIG_AR9170_LEDS=y
endif

b) compat-wireless “bleeding edge” (2.6.32-rcX)

Code:

ifndef CONFIG_COMPAT_WIRELESS_28
CONFIG_AR9170_USB=m
CONFIG_AR9170_LEDS=y
endif*

Maybe a little more explanation would help… to me those two responses ( a) and b) ) look the same?
I’m sorry, probably if I understood the “code” references, I wouldn’t need to be here…
Thanks, John.

Closer but not quite there.

Choosing the correct kmp-package for your installation - openSUSE Forums

OK, I’ll bite… :frowning:
So, if I can’t get a version for my kernel…
(My kernel: 2.6.27.29-0.1-default
Available version: compat-wireless-kmp-default-2.6.30.9_2.6.27.7_9.1-1.1.x86_64.rpm)
How do I get around that?? If I google my kernel, I get nothing…
Thanks, John.

sigh

Have a look into the “11.1-update” subfolder.