[zd1211-devs] zd1211rw timed out on ep4out

2007-08-05 Thread Mayne
Hi!

On kernel 2.6.19.2, zd1211rw, VT82x UHCI USB 1.1 Controller (rev 0e)
1106:3038, Longshine G2 07b8:6001, the driver hangs pretty often with the 
following error messages:

usb 1-2: zd1211rw timed out on ep4out len=0/6
zd1211rw 1-2:1.0: zd_usb_ioread16v() error in usb_bulk_msg(). Error number -110
zd1211rw 1-2:1.0: zd_chip_control_leds error -110
(repeated indefinitely)

Unplugging and plugging in the device TWO times helps (for a short time). 
Seems this or similar things happen quite often on VIA-based USB 1.1 
controllers - on another machine using VIA USB 1.1, I saw similar effects, 
but there for some reason the USB layer dealt with the problem after some 
time (to the driver, a disconnect and reconnect event was shown - without 
manually interfering).

Any idea how to solve this (apart from getting a new USB controller, this 
is work in progress here ;-)?

Regards

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] zd1211 community kernel 2.6.22.1

2007-08-05 Thread Mayne
On Sun, 5 Aug 2007, Fernando Toledo wrote:

[Vendor-based driver]
 Then, i test changing these lines to get compile

The usual solution would be to find out when exactly the kernel interface 
changed and put #ifdefs around the proper places. For your iw_stats 
changes this should be straightforward - for skb-mac.raw it's probably 
better to find out what exactly happened to the field. If you do that and 
submit the patch (best send it to me directly, too) I'll include it in SF 
SVN trunk.

Regards

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] zd1211rw timed out on ep4out

2007-08-05 Thread Ulrich Kunitz
Mayne wrote:

 Hi!
 
 On kernel 2.6.19.2, zd1211rw, VT82x UHCI USB 1.1 Controller (rev 0e)
 1106:3038, Longshine G2 07b8:6001, the driver hangs pretty often with the 
 following error messages:
 
 usb 1-2: zd1211rw timed out on ep4out len=0/6
 zd1211rw 1-2:1.0: zd_usb_ioread16v() error in usb_bulk_msg(). Error number 
 -110
 zd1211rw 1-2:1.0: zd_chip_control_leds error -110
 (repeated indefinitely)
 
 Unplugging and plugging in the device TWO times helps (for a short time). 
 Seems this or similar things happen quite often on VIA-based USB 1.1 
 controllers - on another machine using VIA USB 1.1, I saw similar effects, 
 but there for some reason the USB layer dealt with the problem after some 
 time (to the driver, a disconnect and reconnect event was shown - without 
 manually interfering).

The error -110 is a timeout. It simply means that the USB
subsystem couldn't execute the USB transfer. We had comparable
issues witht the mac80211 stack and I implemented here some
controls to limit the number of USB packets to be queued for
transmission. At least in my experience this limited the -110s for
zd_chip_control_leds(). The device hangs might result from an
unsuccessful reassociation, which is sometimes requested from the
AP.

It could very well be that the support for VIA USB host
controllers is pretty weak in the kernel. I have a VIA-based USB
2.0 card in my oldest PC and it is consuming 10% of computation
time on Linux box. Beside this the systems works well. But notify
that I'm currently only developing the mac80211 driver.

Regards,

Uli

-- 
Uli Kunitz

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


[zd1211-devs] New device ID for zd1211rw driver

2007-08-05 Thread Nathan Meyers
Hello,

I'm writing to contribute a new device ID for the zd1211rw driver.

Product: ZyXEL M-202 XtremeMIMO USB Adapter
USB IDs: 0586:340a
Chip ID: zd1211b chip 0586:340a v4810 high 00-13-49 AL2230_RF pa0 S
FCC ID: SI5WUB221Z
Driver code: { USB_DEVICE(0x0586, 0x340a), .driver_info = DEVICE_ZD1211B },

I have successfully used this configuration in a WEP-encrypted
infrastructure network.

Nathan Meyers
[EMAIL PROTECTED]

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] New device ID for zd1211rw driver

2007-08-05 Thread Daniel Drake
Nathan Meyers wrote:
 I'm writing to contribute a new device ID for the zd1211rw driver.
 
 Product: ZyXEL M-202 XtremeMIMO USB Adapter
 USB IDs: 0586:340a
 Chip ID: zd1211b chip 0586:340a v4810 high 00-13-49 AL2230_RF pa0 S
 FCC ID: SI5WUB221Z
 Driver code: { USB_DEVICE(0x0586, 0x340a), .driver_info = DEVICE_ZD1211B },

Thanks for the report. It's very interesting: MIMO is the technology 
used to drive 802.11n (multiple simultaneous data throughput channels) 
but the ZD1211 hardware does not support this (it only has a single 
radio). The ZyXEL website doesn't really explain how they are using MIMO 
in this device. Just curious, do you have any ideas?

I checked the windows driver and it does seem to be just a ZD1211B, 
nothing new...

I'll submit the ID addition in a few minutes. Thanks!

Daniel

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] New device ID for zd1211rw driver

2007-08-05 Thread Nathan Meyers
Daniel Drake wrote:
 Nathan Meyers wrote:
 I'm writing to contribute a new device ID for the zd1211rw driver.

 Product: ZyXEL M-202 XtremeMIMO USB Adapter
 USB IDs: 0586:340a
 Chip ID: zd1211b chip 0586:340a v4810 high 00-13-49 AL2230_RF pa0 S
 FCC ID: SI5WUB221Z
 Driver code: { USB_DEVICE(0x0586, 0x340a), .driver_info = 
 DEVICE_ZD1211B },
 
 Thanks for the report. It's very interesting: MIMO is the technology 
 used to drive 802.11n (multiple simultaneous data throughput channels) 
 but the ZD1211 hardware does not support this (it only has a single 
 radio). The ZyXEL website doesn't really explain how they are using MIMO 
 in this device. Just curious, do you have any ideas?

The extent of my knowledge about this product is that it ran me about 
$12 last week from TigerDirect :-).

It claims to have three antennas inside its little box - pointing up, 
left, and right - with LEDs indicating which one is in use. Oddly 
enough, the same LED lights up regardless of how I orient it w.r.t. the 
AP. I also notice that all the literature calls it 802.11g - not 
802.11n. My guess is that it's a garden variety, gimmicked-up 802.11g 
desktop dongle.

Nathan


 
 I checked the windows driver and it does seem to be just a ZD1211B, 
 nothing new...
 
 I'll submit the ID addition in a few minutes. Thanks!
 
 Daniel
 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] New device ID for zd1211rw driver

2007-08-05 Thread Daniel Drake
Nathan Meyers wrote:
 Daniel Drake wrote:
 Thanks for the report. It's very interesting: MIMO is the technology 
 used to drive 802.11n (multiple simultaneous data throughput channels) 
 but the ZD1211 hardware does not support this (it only has a single 
 radio). The ZyXEL website doesn't really explain how they are using MIMO 
 in this device. Just curious, do you have any ideas?
 
 The extent of my knowledge about this product is that it ran me about 
 $12 last week from TigerDirect :-).
 
 It claims to have three antennas inside its little box - pointing up, 
 left, and right - with LEDs indicating which one is in use.

Someone should tell ZyXEL that's called antenna diversity, not MIMO :)

I wonder if they do diversity/antenna switching externally from the 
ZD1211 hardware. If they use ZD1211 functionality for diversity, it may 
explain why the current antenna never changes: our driver doesn't 
support the ZD1211 diversity features (and neither does the vendor Linux 
driver really). One interesting test would be doing the same experiment 
under windows and seeing if the lights change.

Daniel

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs