LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   TP-WN722n [ AR9271 Chipset ] + ath_htc driver PROBLEM . (http://www.linuxquestions.org/questions/linux-hardware-18/tp-wn722n-%5B-ar9271-chipset-%5D-ath_htc-driver-problem-793005/)

free_f0x 03-03-2010 07:20 PM

TP-WN722n [ AR9271 Chipset ] + ath_htc driver PROBLEM .
 
well , guys here is my first post here i wish it can be solved :) .
problem :
TP-WN722n usb wireless adaptor when i check the *.inf file it seem to be Atheros AR9271 chipset inside .by making a deep google i knew that the chipset is supported under the driver ath9k_htc http://linuxwireless.org/en/users/Drivers/ath9k_htc .
i followed too many code patches but nothing works . this is what i think its little closer http://forum.ubuntuusers.de/topic/tl.../#post-2373174 .

any help ? any suggestions ?

i tried ndiswrapper the output was " invalid driver ! "

PS : my linux knowledge is meduim few year of using linux .

my kernel is 2.6.31.5-127.fc12.x86_64

lsusb

PHP Code:

Bus 002 Device 003ID 03f0:171d Hewlett-Packard Wireless (Bluetooth WLAN) Interface [Integrated Module]
Bus 002 Device 002ID 09da:000a A4 Tech Co., Ltd Port Mouse
Bus 002 Device 001
ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 009
ID 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen
Bus 001 Device 008
ID 08ff:1600 AuthenTecIncAES1600
Bus 001 Device 007
ID 0c45:62c0 Microdia Sonix USB 2.0 Camera
Bus 001 Device 001
ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 006
ID 125f:289a A-DATA Technology Co., Ltd
Bus 001 Device 003ID 04b4:6560 Cypress Semiconductor CorpCY7C65640 USB-2.0 "TetraHub"
Bus 001 Device 002ID 0cf3:9271 Atheros CommunicationsInc

dmesg

PHP Code:

Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 2.6.31.5
-127.fc12.x86_64 (mockbuild@x86-4.fedora.phx.redhat.com) (gcc version 4.4.2 20091027 (Red Hat 4.4.2-7) (GCC) ) #1 SMP Sat Nov 7 21:11:14 EST 2009
ACPIPCI Interrupt Link [LUS2enabled at IRQ 23
  alloc irq_desc 
for 23 on node 0
  alloc kstat_irqs on node 0
ehci_hcd 0000
:00:0b.1PCI INT B -> Link[LUS2] -> GSI 23 (levelhigh) -> IRQ 23
ehci_hcd 0000
:00:0b.1setting latency timer to 64
ehci_hcd 0000
:00:0b.1EHCI Host Controller
ehci_hcd 0000
:00:0b.1: new USB bus registeredassigned bus number 1
ehci_hcd 0000
:00:0b.1debug port 1
ehci_hcd 0000
:00:0b.1cache line size of 64 is not supported
ehci_hcd 0000
:00:0b.1irq 23io mem 0xc0005000
ehci_hcd 0000
:00:0b.1USB 2.0 startedEHCI 1.00
usb usb1
: New USB device foundidVendor=1d6bidProduct=0002
usb usb1
: New USB device stringsMfr=3Product=2SerialNumber=1
usb usb1
ProductEHCI Host Controller
usb usb1
ManufacturerLinux 2.6.31.5-127.fc12.x86_64 ehci_hcd
usb usb1
SerialNumber0000:00:0b.1
usb usb1
configuration #1 chosen from 1 choice
hub 1-0:1.0USB hub found
hub 1
-0:1.08 ports detected
ohci_hcd
USB 1.1 'Open' Host Controller (OHCIDriver
ACPI
PCI Interrupt Link [LUS0enabled at IRQ 22
  alloc irq_desc 
for 22 on node 0
  alloc kstat_irqs on node 0
fuse init 
(API version 7.12)
SELinuxinitialized (dev fusetype fuse), uses genfs_contexts
wlan0
authenticate with AP 00:13:64:e4:c1:e5
wlan0
authenticated
wlan0
associate with AP 00:13:64:e4:c1:e5
wlan0
RX AssocResp from 00:13:64:e4:c1:e5 (capab=0x451 status=0 aid=2)
wlan0associated
ADDRCONF
(NETDEV_CHANGE): wlan0link becomes ready
SELinux
initialized (dev sdb1type vfat), uses genfs_contexts
wlan0
no IPv6 routers present 

.

stowcz 03-19-2010 06:52 AM

Instalation ar9271 with ndiswrapper
 
Welcome!
Sorry for my English.
Log in to the terminal as root
Using ndiswrapper to install the driver CDs
code in a terminal:
ndiswrapper -i / path to file. inf
code in a terminal:
ndiswrapper -l
the terminal displays the name of the driver is installed
code in a terminal:
ndiswrapper -a 0cf3:9271 name of the driver is installed
code in a terminal:
ndiswrapper -ma
code in a terminal:
modprobe ndiswrapper
code in a terminal
reboot

free_f0x 03-21-2010 08:27 AM

Quote:

Originally Posted by free_f0x (Post 3884725)
well , guys here is my first post here i wish it can be solved :) .
problem :
TP-WN722n usb wireless adaptor when i check the *.inf file it seem to be Atheros AR9271 chipset inside .by making a deep google i knew that the chipset is supported under the driver ath9k_htc http://linuxwireless.org/en/users/Drivers/ath9k_htc .
i followed too many code patches but nothing works . this is what i think its little closer http://forum.ubuntuusers.de/topic/tl.../#post-2373174 .

any help ? any suggestions ?

i tried ndiswrapper the output was " invalid driver ! "

PS : my linux knowledge is meduim few year of using linux .

my kernel is 2.6.31.5-127.fc12.x86_64

lsusb
[/PHP] .

anyway thank u very much for trying to help :)

free_f0x 07-16-2010 09:53 PM

[solved]
 
First go to http://files.iniza.org/ath9k_htc/ and download compat-wirelessy (for ubuntu the first version of compat wireless)
Than uncompress it and place it in the folder compat-wireless, as an example my case: /home/kcdtv/Escritorio/compat-wireless-2010-03-19

open a terminal and write

cd /home/kcdtv/Escritorio/compat-wireless-2010-03-19
sudo make
sudo make install

The terminal sayed after that you should unload the drivers for bluetooth and wireless. do so so and then load ath9k_htc

Now that compat-wireless is installed we have to download the firmware and copy it to he folowing directory:
/lib/firmware
you can get the firmware at the following adress: http://git.kernel.org/?p=linux/kerne...9dc18991ec833c
In order to copy the firmware you can write, like in my case, the following line (escritorio means desktop in spanish):
sudo cp -r /home/kcdtv/Escritorio/ar9271.fw /lib/firmware
Now you have done the job...

kcdtv@kcdtv-laptop:~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11bg Mode:Managed Frequency:2.462 GHz
Access Point: Not-Associated Bit Rate:0 kb/s Tx-Power=20 dBm
Sensitivity=8/0
Retry limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

wlan0 IEEE 802.11bgn ESSID:"JAZZTEL_xx"
Mode:Managed Frequency:2.462 GHz Access Point: 00:1A:2B:51:7B:xx
Bit Rate=1 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=29/70 Signal level=-81 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

As you can see, the eth1 is the IPW2200BG, and the wlan0 is the Atheros and is associated.


http://forum.aircrack-ng.org/index.p...&topic=6334.15


All times are GMT -5. The time now is 10:57 AM.