Results 11 to 18 of 18
I have the same card (TL-WN422G)
Code:
$ lsusb -d 0cf3:1006
Bus 002 Device 003: ID 0cf3:1006 Atheros Communications, Inc.
using kubuntu/ubuntu 9.10 and followed your instructions
installed linux-ckports-modules-2.6.31-14-generic sudo ...
- 11-17-2009 #11Just Joined!
- Join Date
- Nov 2009
- Posts
- 4
I have the same card (TL-WN422G)
using kubuntu/ubuntu 9.10 and followed your instructionsCode:$ lsusb -d 0cf3:1006 Bus 002 Device 003: ID 0cf3:1006 Atheros Communications, Inc.
- installed linux-ckports-modules-2.6.31-14-generic
- sudo modprobe -i zd1211rw
- echo "0cf3 1006 FFFFFFFF FFFFFFFF 0 0 1" | sudo tee -a /sys/bus/usb/drivers/zd1211rw/new_id
Since I plugged the usb stick, dmesg showed
Running iwconfig doesn't show my new card. It does, however, show the old card that stopped working a month ago.Code:[ 130.152120] usb 2-3: new high speed USB device using ehci_hcd and address 3 [ 130.301235] usb 2-3: configuration #1 chosen from 1 choice [ 170.199547] usbcore: registered new interface driver zd1211rw [ 177.329270] usb 2-3: reset high speed USB device using ehci_hcd and address 3 [ 182.481239] usb 2-3: read over firmware interface failed: -110 [ 182.592291] usb 2-3: reset high speed USB device using ehci_hcd and address 3 [ 182.741076] zd1211rw: probe of 2-3:1.0 failed with error -110 [ 897.597060] CE: hpet increasing min_delta_ns to 15000 nsec
- 11-17-2009 #12
Unfortunately, I can find very little information on this card and driver, beyond what I've already suggested.
You might give it a go with ndiswrapper instead.
https://help.ubuntu.com/community/Wi...er/Ndiswrapper
- 11-17-2009 #13Just Joined!
- Join Date
- Nov 2009
- Posts
- 4
I'll try, but i don't have ideal experience with ndiswrapper.
Am i correct that
means the zd1211rw driver tried to take care of the device?Code:[ 182.481239] usb 2-3: read over firmware interface failed: -110
-110 means probably -ETIMEDOUT but it makes no sense to me. This is not related to loading firmware from disk, is it?
- 11-17-2009 #14
Yes, it looks like the driver was recognized and paired with the device. This device also requires extra firmware, which Ubuntu provides.
zd1211rw - Linux Wireless
This seems similar to your problem.
Nabble - zd1211-devs - PN15G firmware upload problems
This is about the only reference I could find to "read over firmware..." It's the patch to the driver and includes that error output. Perhaps someone with more knowledge of code can better decipher the problem.
[PATCH] zd1211rw: Defer firmware load until first ifupCode:+/* Read data from device address space using "firmware interface" which does + * not require firmware to be loaded. */ +int zd_usb_read_fw(struct zd_usb *usb, zd_addr_t addr, u8 *data, u16 len) +{ + int r; + struct usb_device *udev = zd_usb_to_usbdev(usb); + + r = usb_control_msg(udev, usb_rcvctrlpipe(udev, 0), + USB_REQ_FIRMWARE_READ_DATA, USB_DIR_IN | 0x40, addr, 0, + data, len, 5000); + if (r < 0) { + dev_err(&udev->dev, + "read over firmware interface failed: %d\n", r); + return r; + } else if (r != len) { + dev_err(&udev->dev, + "incomplete read over firmware interface: %d/%d\n", + r, len); + return -EIO; + } + + return 0;
You may also be able to build the old zd1211 driver. All the info I could find on it is pretty out of date though. (Which makes sense, as it was discontinued and the community developed zd1211rw took over.)
https://help.ubuntu.com/community/Wi...sterMode#ZyDAS ZD1211
- 11-17-2009 #15Just Joined!
- Join Date
- Nov 2009
- Posts
- 4
Can it be recognized only because i did beforwards:
?Code:echo "0cf3 1006 FFFFFFFF FFFFFFFF 0 0 1" | sudo tee -a /sys/bus/usb/drivers/zd1211rw/new_id
I also found zd_usb_read_fw function myself (this lead me to -ETIMEDOUT), but does not give me a clue, what does it means, what really happens. Should I enable kernel debugging? Will it give more information in dmesg?
(In /boot/config-2.6.31-14-generic (presumably the config for my current 2.6.31-14-generic ubuntu kernel) there is CONFIG_DEBUG_KERNEL=y.)
The patch "[PATCH] zd1211rw: Defer firmware load until first ifup" was included in kernel v2.6.23-rc1, and it's naturally also in my kernel (tag 'Ubuntu-2.6.31-14.48' in Ubuntu kernel repo).
- 11-17-2009 #16
I don't have any direct experience with this card and I simply cannot find any useful information on the web.
I encourage you to file a bug report, probably with the upstream developers over Ubuntu.
Download - Linux Wireless
You could try other distros, and see if they work better.
Or unfortunately, you may be stuck with ndiswrapper. It really isn't too hard to use.
There is a GUI front end called ndisgtk as well.
Activating Wi-Fi Cards Under Ubuntu Linux Using ndisgtk
NdisWrapper: The Ultimate Guide - LinuxQuestions.org
- 11-17-2009 #17Just Joined!
- Join Date
- Nov 2009
- Posts
- 4
Thank you for all the help. A while ago I started discussion on linux-wireless mailing list (at kernel.org; search for 0cf3:1006 or WN422G in the archives) and they suggested
I haven't checked the windows drivers yet, so can't confirm i have "v2". Anyway I won't be copying the list here any further, so i encourage anyone interested in my story (or just having similar deviceIf 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
[...]
At this moment a new driver called ath9k_htc is under (early) development:
wireless.kernel.org/en/users/Drivers/ath9k_htc
to digg the linux-wireless recent archives.
As to the ndiswrapper. I know it's not hard, I have already used it on different machine with different card. Maybe it's due to particular windows driver in use, but i see way too often oopses with 'ndis' somewhere in the stacktrace
- 11-17-2009 #18
That's good to know. Everything I could find on this card suggested it was still zd1211.
I don't normally suggest ndiswrapper, but I couldn't find an alternative. And I guess that's why - it hasn't been released.
Thanks for the heads up!


Reply With Quote
