LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-03-2010, 06:20 PM   #1
free_f0x
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Rep: Reputation: 0
Angry 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 
.
 
Old 03-19-2010, 05:52 AM   #2
stowcz
LQ Newbie
 
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
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

Last edited by stowcz; 03-19-2010 at 06:31 AM.
 
Old 03-21-2010, 07:27 AM   #3
free_f0x
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by free_f0x View Post
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
 
Old 07-16-2010, 08:53 PM   #4
free_f0x
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Lightbulb [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 thrff Fragment thrff
Power Managementff
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 thrff Fragment thrff
Power Managementff
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
 
  


Reply

Tags
chipset, driver



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding out which driver a nic is using and it's chipset pgb205 Linux - Hardware 3 03-26-2009 08:48 PM
intel video chipset driver problem alenD Linux - Hardware 3 08-03-2007 05:23 PM
Help a Noob! VIA chipset driver help - video levi_s SUSE / openSUSE 3 03-06-2007 10:58 AM
Intel Graphic driver for 855 GM/GME chipset problem trucdang Linux - Hardware 1 07-04-2006 01:30 AM
nVIDIA chipset driver problems gobeavs Linux - Software 2 10-27-2004 08:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration