TP-LINK TL-WN322G usb wireless device not work, ID 0cf3:1006, Ubuntu 10.04

Bug #578267 reported by vagrale
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 0cf3:1006 Atheros Communications, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

version
Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2

uname -a
2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:27:30 UTC 2010 i686 GNU/Linux

I tasted with Ubuntu 10.04 LTS and doesn' t work!

Revision history for this message
vagrale (vagrale) wrote :
Revision history for this message
vagrale (vagrale) wrote :
Revision history for this message
vagrale (vagrale) wrote :
Revision history for this message
vagrale (vagrale) wrote :

if needed more information, send me command-line and I gave the report!

tags: added: kj-triage
Revision history for this message
vagrale (vagrale) wrote :

I found a solution and it works fine!
I run these commands

cd /tmp
wget http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2
tar xjvf compat-wireless-2.6.tar.bz2
sudo apt-get install build-essential checkinstall
cd compat-wireless-*
./scripts/driver-select ath9k_htc
make
sudo checkinstall

In the question that it will do, press y and Enter - after we write ath9k_htc and press 2 times Enter -
and for the last question that it will do just press Enter

all these commands we can replace with the .deb archive where i upload.
- The .deb archive works only in kernel 2.6.32-22-generic and Ubuntu 32bit -

Then reboot our system, and after reboot we must download the firmware ar9271.fw from here http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=blob_plain;f=ar9271.fw;hb=HEAD
and put it on folder firmware
/lib/firmware/

Then works fine!

Thanks to logari81 where made the .deb archive!

Revision history for this message
vagrale (vagrale) wrote :

I made a .deb archive for kernel 2.6.32-23-generic and Ubuntu 32bit

Revision history for this message
vagrale (vagrale) wrote :

A .deb archive for kernel 2.6.32-24-generic and Ubuntu 32bit

summary: - TP-LINK TL-WN322G usb wireless device not work, Ubuntu 10.04
+ TP-LINK TL-WN322G usb wireless device not work, ID 0cf3:1006, Ubuntu
+ 10.04
Revision history for this message
vagrale (vagrale) wrote :

I tasted to Ubuntu Maverick Meerkat 10.10 Alpha2
and works great, out of the box!

Revision history for this message
BetaBrain (marcosupernova) wrote :

thanks for the work,
I can not work to my TP-Link WN722N.
the chip set to be identical to others on jaunty kernel "rub" it worked.
following the steps from "vagrale.
I installed "lucid" but the procedure did not work.
I have serious difficulties to run the driver (Bus 002 Device 011: ID 0cf3: 9271 Atheros Communications, Inc.)

I tried with kernels rub 2.6.32.23/24 backports installed but nothing

Revision history for this message
BetaBrain (marcosupernova) wrote :

 i can't get to work my TP-Link WN722N.
Bus 002 Device 011: ID 0cf3:9271 Atheros Communications, Inc
sorry my bad English
I tested your procedure vanagre about lucid but does not work.

Lucid kernel 2.6.32.23/24 test does not work
kernel-2.6.35-generic 020635rc5 test does not work

 i tried to compile the module with compat-wireless but there are some problems compiling the bt modules and the kernel doesn't start anymore after reboot

Revision history for this message
vagrale (vagrale) wrote :

If you see here http://linuxwireless.org/en/users/Drivers/ath9k_htc/devices ath9k_htc support your chipset,
and must be work! The deb packages, works only in 32bit system, and i write for which kernel work!
Try with Ubuntu Maverick Meerkat 10.10 Alpha2, boot from livecd,not install it, and test it if it works there!

Revision history for this message
zandgreen (zandgreen) wrote :

vagrale:

hello, i had a problem installing "compat-wireless-2010-06_27-1_i386.deb". It replaced the UUID of the HDD in 'grub.cfg' with a wrong one supposedly one of yours. After the install when I attempt to reboot the GRUB gives a fatal error of unknown device.
Had to load from Live CD and modify /boot/grub/grub.cfg .

After a number of attempts I still cannot get the device 'ID 0cf3:1006 Atheros' loaded. So far I succeeded to install 'compat-wireless' with 'ath9k_htc' option according to your instruction and copied 'ar9271.fw' to the proper directory. I tried with 2.6.32-24 and 2.6.34 kernels.

Revision history for this message
vagrale (vagrale) wrote :

@zandgreen
yes you have right! For some reason has problem!

If you had solved your problem,
please test this .deb package, i think it 's οκ! I tasted for 2 pc.

Works for kernel 2.6.32-24-generic and 32bit system

If you don' t have solve your problem, tell me to try to fix it!

Revision history for this message
zandgreen (zandgreen) wrote :

<== TL-WN422G v.2.4 ID 0cf3:1006 ==>

Finally i could start the device with the latest 'compat-wireless':
http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2010-08-04.tar.bz2

and a fresh hardware ar9271 version:
http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=blob_plain;f=ar9271.fw;hb=HEAD

Revision history for this message
vagrale (vagrale) wrote :

if someone want to do all this, i think, is better way to try it with the follow six commands,
because the .deb packages have got problem after reboot for some users, i don' t know why.

cd /tmp
wget -O compat-wireless.tar.bz2 http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2
tar xjvf compat-wireless.tar.bz2
cd compat-wireless-*
./scripts/driver-select ath9k_htc
make && sudo make install

then reboot - and after reboot download the firmware ar9271.fw

this works for all kernels!

Thanks for your help zandgreen!

Revision history for this message
oliwek (oliwek2) wrote :

just for info, TP-Link TL-WN722N (or TL-WN722NC) works now out of the box in Ubuntu 10.10 ; as mentioned above, it sports the same AR9271 chipset from Atheros.
Monitor mode also working (tested briefly with airodump-ng)

Revision history for this message
vagrale (vagrale) wrote :

TL-WN322G (v3.0) with chipset:
Bus 001 Device 006: ID 0cf3:1006 Atheros Communications, Inc.
works out of the box in Ubuntu Maverick 10.10.

For Ubuntu Lucid 10.04 LTS and oldest, must be install the driver ath9k_htc.
A easy workaround is the ath9k_htc-installer see here: http://ubuntuforums.org/showthread.php?t=1564278

Brad Figg (brad-figg)
tags: added: acpi-apic
Revision history for this message
Etienne Goyer (etienne-goyer-outlands) wrote :

The ath9k_htc module is available in the linux-backports-modules-wireless-compat-2.6.35-lucid-generic (or something) package. My TL-WN322G works perfectly fine in lucid once installed.

Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

vagrale, thank you for reporting this and helping make Ubuntu better. This bug report is being closed due to your last comment regarding this being fixed via compat-wireless. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in linux (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.