Hello, I had problems with the zd1211 driver (versions r80 and r74). I have three USB WLAN sticks with zd1211 chip set. Two of them are "WL-430U" (Fiber line) whose serial number and MAC address differ only by 1. The third stick is a SITECOM WL-113.
One of the WL-430 was always working. The other two could not be started. Here is the syslog: Based on www.zydas.com.tw driver version 2.5.0.0 Based on www.zydas.com.tw driver version 2.5.0.0 usb 1-8: reset high speed USB device using ehci_hcd and address 6 usb 1-8: reset high speed USB device using ehci_hcd and address 6 Release Ver = 4330 Release Ver = 4330 zd1211:bulk out: wMaxPacketSize = 200 zd1211:bulk in: wMaxPacketSize = 200 zd1211:interrupt in: wMaxPacketSize = 40 zd1211:interrupt in: int_interval = 1 zd1211:interrupt out: wMaxPacketSize = 40 EEPORM Ver = 4330 EEPORM Ver = 4330 zd1211: usb_control_msg 1 fail: FFFFFFE0 zd1211_Download_IncludeFile failed zd1211: probe of 1-8:1.0 failed with error -5 zd1211: probe of 1-8:1.0 failed with error -5 usbcore: registered new driver zd1211 usbcore: registered new driver zd1211 I have no idee why one stick did always work: zd1211 - http://zd1211.ath.cx/ - r74 zd1211 - http://zd1211.ath.cx/ - r74 Based on www.zydas.com.tw driver version 2.5.0.0 Based on www.zydas.com.tw driver version 2.5.0.0 usb 1-8: reset high speed USB device using ehci_hcd and address 9 usb 1-8: reset high speed USB device using ehci_hcd and address 9 Release Ver = 4330 Release Ver = 4330 zd1211:bulk out: wMaxPacketSize = 200 zd1211:bulk in: wMaxPacketSize = 200 zd1211:interrupt in: wMaxPacketSize = 40 zd1211:interrupt in: int_interval = 1 zd1211:interrupt out: wMaxPacketSize = 40 EEPORM Ver = 4330 EEPORM Ver = 4330 zd1211:USB Download Boot code success zd1211:MAC address = xx:xx:xx:xx:xx:xx zd1211:AddrEntryTable = f7d4 zd1211:RF_Mode = 0000000d (I tried it with both versions) I "solved it" by patching the driver: diff -ur zd1211-driver-r80/src/zd1211.c zd1211-driver-r80-new/src/zd1211.c --- zd1211-driver-r80/src/zd1211.c 2006-06-16 12:35:59.000000000 +0200 +++ zd1211-driver-r80-new/src/zd1211.c 2006-06-21 19:38:01.000000000 +0200 @@ -3166,7 +3166,9 @@ if (result < 0) { printk(KERN_ERR "zd1211: usb_control_msg 1 fail: %02X\n", result); - goto exit; +#if 0 + goto exit; +#endif } Why is this happening? Why is it working by simply ignoring the error message? Now I can see in the log, that the call to the download function of the firmware is still failing, but the USB stick is working: zd1211 - http://zd1211.ath.cx/ - r80 zd1211 - http://zd1211.ath.cx/ - r80 Based on www.zydas.com.tw driver version 2.5.0.0 Based on www.zydas.com.tw driver version 2.5.0.0 usb 1-8: reset high speed USB device using ehci_hcd and address 5 usb 1-8: reset high speed USB device using ehci_hcd and address 5 Release Ver = 4330 Release Ver = 4330 zd1211:bulk out: wMaxPacketSize = 200 zd1211:bulk in: wMaxPacketSize = 200 zd1211:interrupt in: wMaxPacketSize = 40 zd1211:interrupt in: int_interval = 1 zd1211:interrupt out: wMaxPacketSize = 40 EEPORM Ver = 4330 EEPORM Ver = 4330 zd1211: usb_control_msg 1 fail: FFFFFFE0 zd1211: usb_control_msg 1 fail: FFFFFFE0 zd1211:USB Download Boot code success zd1211:MAC address = xx:xx:xx:xx:xx:xx zd1211:AddrEntryTable = f7d4 zd1211:RF_Mode = 0000000d # uname -a Linux host 2.6.16-gentoo-r9 #4 SMP Sun Jun 18 15:38:27 CEST 2006 i686 Intel(R) Pentium(R) D CPU 3.00GHz GNU/Linux It would be nice if somebody could explain this behavior to me. Perhaps I was also able to help. I have googled for this error but didn't find any helpful results. Best regards, Joachim All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs