My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
TLWN322GPlus  
Updated Mar 18, 2010 by fly...@zju.edu.cn

support TLWN322G+ in current kernel

Introduction

how to add TLWN322G+ into kernel

Details

verify the chip type: the log is shown when usb wlan card is inserted.

usb 1-1: new full speed USB device using s3c2410-ohci and address 2
usb 1-1: New USB device found, idVendor=0cf3, idProduct=1006
usb 1-1: New USB device strings: Mfr=16, Product=32, SerialNumber=48
usb 1-1: Product: USB2.0 WLAN
usb 1-1: Manufacturer: ATHEROS
usb 1-1: SerialNumber: 12345
usb 1-1: configuration #1 chosen from 1 choice

you can find the vendor id is 0x0cf3, and product id is 0x1006, the manufacturer is Atheros. so we should focus on atheros chipset.

then I found the drivers/net/wireless/ath/ar9170/usb.c contains such vendor id, but the latest produce id is 0x1002. so have to modify code to support 0x1006.

then the log shows that ar9170usb wants to load ar9170.fw firmware from /lib/firmware

insmod ar9170usb.ko
usb 1-1: reset full speed USB device using s3c2410-ohci and address 2
usb 1-1: firmware: requesting ar9170.fw

Oops, where can i get the right firmware? google it, then found such website:http://linuxwireless.org/en/users/Drivers/ar9170

insmod ar9170usb.ko
usb 1-1: reset full speed USB device using s3c2410-ohci and address 3
usb 1-1: firmware: requesting ar9170.fw
usb 1-1: USB setup failed (-110).
ar9170usb: probe of 1-1:1.0 failed with error -110
usbcore: registered new interface driver ar9170usb

If you take a look at the vendor's windows driver for TP-LINK WN422G v2, it becomes obvious that the device does not use the ZyDAS zd1211/ Atheros 5007UG cipset, but has switched to the new Atheros AR9271 chipset (which technically is a 150 MBit/s 802.11n "lite" chipset family) instead.

%ATHER.DeviceDesc.9271% = ATHER_DEV_9271.ndi, USB\VID_0CF3&PID_9271
%ATHER.DeviceDesc.7010% = ATHER_DEV_7010.ndi, USB\VID_0CF3&PID_7010
%ATHER.DeviceDesc.1006% = ATHER_DEV_1006.ndi, USB\VID_0CF3&PID_1006

http://wireless.kernel.org/en/users/Drivers/ath9k_htc

http://git.kernel.org/

  1. configuration: Device Drivers-->Network device support-->Wireless LAN-->ZyDAS ZD1211/ZD1211B USB-wireless support
  2. insmod /lib/zd1211rw.ko
  3. download firmware zd1211b_ub and zb1211b_uphr to /lib/firmware/zd1211/ from http://sourceforge.net/projects/zd1211/files/zd1211-firmware/
Powered by Google Project Hosting