Hi Devs,

I hope someone can shed some light on why I am seeing these errors.

When using the standard zd1211rw, mac802111 & cfg80211 drivers that come with fedora 14 (2.6.35.13-91) i am able to run my zd1211-based device perfectly without a glitch over a 10m UTP usb extension. I can even run airodump-ng for days on end without a glitch (of course no packet injection or signal level feedback).

However when I try to use the compat-wireless-2011-05-26 or compat-wireless-2011-04-22 drivers I receive firmware timeout errors. Please see /var/log/message output below:

Using stock Fedora 14 2.6.35.13-91 drivers: (works ok)

May 29 17:14:28 rf kernel: [ 7296.240037] usb 2-2: new full speed USB device using ohci_hcd and address 5
May 29 17:14:28 rf kernel: [ 7296.417134] usb 2-2: not running at top speed; connect to a high speed hub
May 29 17:14:28 rf kernel: [ 7296.432140] usb 2-2: New USB device found, idVendor=07b8, idProduct=6001
May 29 17:14:28 rf kernel: [ 7296.432213] usb 2-2: New USB device strings: Mfr=16, Product=32, SerialNumber=0
May 29 17:14:28 rf kernel: [ 7296.432322] usb 2-2: Product: USB2.0 WLAN
May 29 17:14:28 rf kernel: [ 7296.432379] usb 2-2: Manufacturer: wug2670
May 29 17:14:29 rf kernel: [ 7296.738492] cfg80211: Calling CRDA to update world regulatory domain
May 29 17:14:29 rf kernel: [ 7296.995070] usb 2-2: reset full speed USB device using ohci_hcd and address 5
May 29 17:14:29 rf kernel: [ 7297.010274] cfg80211: World regulatory domain updated:
May 29 17:14:29 rf kernel: [ 7297.010346]     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
May 29 17:14:29 rf kernel: [ 7297.010457]     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 29 17:14:29 rf kernel: [ 7297.010519]     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
May 29 17:14:29 rf kernel: [ 7297.010583]     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
May 29 17:14:29 rf kernel: [ 7297.010646]     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 29 17:14:29 rf kernel: [ 7297.010709]     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 29 17:14:29 rf kernel: [ 7297.235267] zd1211rw 2-2:1.0: phy0
May 29 17:14:29 rf kernel: [ 7297.235405] usbcore: registered new interface driver zd1211rw
May 29 17:14:30 rf kernel: [ 7297.977792] cfg80211: Calling CRDA for country: AU
May 29 17:14:30 rf kernel: [ 7297.999546] cfg80211: Regulatory domain changed to country: AU
May 29 17:14:30 rf kernel: [ 7297.999619]     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
May 29 17:14:30 rf kernel: [ 7297.999727]     (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
May 29 17:14:30 rf kernel: [ 7297.999789]     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2300 mBm)
May 29 17:14:30 rf kernel: [ 7297.999852]     (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2300 mBm)
May 29 17:14:30 rf kernel: [ 7297.999914]     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
May 29 17:14:31 rf kernel: [ 7298.945539] zd1211rw 2-2:1.0: firmware version 4605
May 29 17:14:31 rf kernel: [ 7299.005554] zd1211rw 2-2:1.0: zd1211 chip 07b8:6001 v4330 full 00-12-0e AL2230_RF pa0 g----
May 29 17:14:31 rf kernel: [ 7299.010584] cfg80211: Calling CRDA for country: DE
May 29 17:14:31 rf kernel: [ 7299.026125] cfg80211: Current regulatory domain intersected:
May 29 17:14:31 rf kernel: [ 7299.026198]     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
May 29 17:14:31 rf kernel: [ 7299.026309]     (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
May 29 17:14:31 rf kernel: [ 7299.026371]     (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
May 29 17:14:31 rf kernel: [ 7299.026431]     (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
May 29 17:14:31 rf kernel: [ 7299.071672] ADDRCONF(NETDEV_UP): wlan0: link is not ready

Using compat-wireless-2011-04-22 (firmware upload fails):

May 29 17:09:47 rf kernel: [ 7015.122044] usb 2-2: new full speed USB device using ohci_hcd and address 4
May 29 17:09:47 rf kernel: [ 7015.299130] usb 2-2: not running at top speed; connect to a high speed hub
May 29 17:09:47 rf kernel: [ 7015.314138] usb 2-2: New USB device found, idVendor=07b8, idProduct=6001
May 29 17:09:47 rf kernel: [ 7015.314210] usb 2-2: New USB device strings: Mfr=16, Product=32, SerialNumber=0
May 29 17:09:47 rf kernel: [ 7015.314317] usb 2-2: Product: USB2.0 WLAN
May 29 17:09:47 rf kernel: [ 7015.314374] usb 2-2: Manufacturer: wug2670
May 29 17:09:48 rf kernel: [ 7015.784541] cfg80211: Calling CRDA to update world regulatory domain
May 29 17:09:48 rf kernel: [ 7016.323803] cfg80211: World regulatory domain updated:
May 29 17:09:48 rf kernel: [ 7016.323875] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
May 29 17:09:48 rf kernel: [ 7016.323988] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 29 17:09:48 rf kernel: [ 7016.324155] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
May 29 17:09:48 rf kernel: [ 7016.324269] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
May 29 17:09:48 rf kernel: [ 7016.324378] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 29 17:09:48 rf kernel: [ 7016.324487] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 29 17:09:48 rf kernel: [ 7016.425051] usb 2-2: reset full speed USB device using ohci_hcd and address 4
May 29 17:09:48 rf kernel: [ 7016.609866] zd1211rw 2-2:1.0: phy0
May 29 17:09:48 rf kernel: [ 7016.612213] usbcore: registered new interface driver zd1211rw
May 29 17:09:49 rf kernel: [ 7017.026556] udev[8907]: renamed network interface wlan%d to wlan0
May 29 17:09:49 rf kernel: [ 7017.498004] cfg80211: Calling CRDA for country: AU
May 29 17:09:49 rf kernel: [ 7017.539227] cfg80211: Regulatory domain changed to country: AU
May 29 17:09:49 rf kernel: [ 7017.539299] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
May 29 17:09:49 rf kernel: [ 7017.539410] cfg80211:     (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
May 29 17:09:49 rf kernel: [ 7017.539519] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2300 mBm)
May 29 17:09:49 rf kernel: [ 7017.539627] cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2300 mBm)
May 29 17:09:49 rf kernel: [ 7017.539736] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
May 29 17:09:50 rf kernel: [ 7018.020584] ohci_hcd 0000:00:03.0: leak ed cb972100 (#04) state 2
May 29 17:09:57 rf kernel: [ 7025.061672] usb 2-2: USB control request for firmware upload failed. Error number -110
May 29 17:09:57 rf kernel: [ 7025.061794] usb 2-2: Could not upload firmware code uph. Error number -110
May 29 17:09:57 rf kernel: [ 7025.061872] zd1211rw 2-2:1.0: couldn't load firmware. Error number -110



There are no other usb device plugged into this pc to cause a conflict:
[root@rf ~]# lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 005: ID 07b8:6001 D-Link Corp. 802.11bg
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I know I am pushing usb to its limits using a 10 meter UTP cable, but I'm still curious as to why one driver works fine, and another driver fails?


Thanks for any help/tips/ideas etc.

Regards, 

Rohan.