Tsuwei Chen | 16 Apr 22:34 2010
Picon

timeout in zd1211rw with zotac mini-itx (geforce 9300)

Has anyone use the zd1211 usb adapter with mini-itx board based on
geforce 9300? I have been experience some annoying issues ever since I
got this motherboard. The problem is that sometime the card just
cannot be switched on. It complains about ioread32() error -110. And I
have spent a few days and try a few different combination, and here is
what I have found so far:

1, with 1 wifi adapter directly plugged into the board, the wifi
adapter works fine most of the time (have seen a couple failure, but
is hard to reproduce)
2. with 1 wifi adapter, plugged in through a USB hub, the driver
complains ioread32 error. I've try 2 USB hubs: a cheap 4-port USB
dongle and also the USB hubs built into my DELL monitor. Both showed
the same problem.
3. If I plugged in 2 wifi adapters directly to the board, more than
50% of chance one of the wifi adapter would fail during the 'ifconifg
up'.

I tried to dig our more on this. I am using kernel 2.6.24-26 (ubuntu).
I had turned on the debug message output and I have traced out that
the failure was first detected in the zd_mac_open(). Probably around
the call to zd_chip_switch_radio_on(). The error message is printed in
the zd_usb_ioread16v(), and probably indicate the driver is
experiencing a timeout while it is trying to read the register from
the adapter.

What exactly does this mean? Why adding a usb hub cause such a huge
differnce? Has anyone experienced similar problem before? Any pointer
that can help me solve this problem is appreciated.

(Continue reading)

Gábor Stefanik | 16 Apr 22:51 2010
Picon

Re: timeout in zd1211rw with zotac mini-itx (geforce 9300)

On Fri, Apr 16, 2010 at 10:34 PM, Tsuwei Chen <tsuwei@...> wrote:
> Has anyone use the zd1211 usb adapter with mini-itx board based on
> geforce 9300? I have been experience some annoying issues ever since I
> got this motherboard. The problem is that sometime the card just
> cannot be switched on. It complains about ioread32() error -110. And I
> have spent a few days and try a few different combination, and here is
> what I have found so far:
>
> 1, with 1 wifi adapter directly plugged into the board, the wifi
> adapter works fine most of the time (have seen a couple failure, but
> is hard to reproduce)
> 2. with 1 wifi adapter, plugged in through a USB hub, the driver
> complains ioread32 error. I've try 2 USB hubs: a cheap 4-port USB
> dongle and also the USB hubs built into my DELL monitor. Both showed
> the same problem.
> 3. If I plugged in 2 wifi adapters directly to the board, more than
> 50% of chance one of the wifi adapter would fail during the 'ifconifg
> up'.
>
> I tried to dig our more on this. I am using kernel 2.6.24-26 (ubuntu).

Please try a more recent kernel - 2.6.24 contains
zd1211rw-ieee80211softmac, which is no longer developed.

> I had turned on the debug message output and I have traced out that
> the failure was first detected in the zd_mac_open(). Probably around
> the call to zd_chip_switch_radio_on(). The error message is printed in
> the zd_usb_ioread16v(), and probably indicate the driver is
> experiencing a timeout while it is trying to read the register from
> the adapter.
(Continue reading)

Hin-Tak Leung | 17 Apr 00:26 2010
Picon

Re: timeout in zd1211rw with zotac mini-itx (geforce 9300)

I suspect it is just poor hardware. The more power-drawing devices you have got, the current/power
available to each can drop, and some devices are more sensitive to drop in voltage than others. That seems
to be the obvious conclusion - the more bus-powered devices plugged in, the more likely the wireless
device fails to initialise.

You probably would find that you will need a independently-powered hub (i.e. a USB hub which has its own
power-plug that you need to plug into the mains) for it to work reliably, since your motherboard doesn't
seem to be able to do it. 

--- On Fri, 16/4/10, Tsuwei Chen <tsuwei <at> gmail.com> wrote:

> From: Tsuwei Chen <tsuwei <at> gmail.com>
> Subject: [zd1211-devs] timeout in zd1211rw with zotac mini-itx (geforce 9300)
> To: zd1211-devs <at> lists.sourceforge.net
> Cc: linux-wireless <at> vger.kernel.org
> Date: Friday, 16 April, 2010, 21:34
> Has anyone use the zd1211 usb adapter
> with mini-itx board based on
> geforce 9300? I have been experience some annoying issues
> ever since I
> got this motherboard. The problem is that sometime the card
> just
> cannot be switched on. It complains about ioread32() error
> -110. And I
> have spent a few days and try a few different combination,
> and here is
> what I have found so far:
> 
> 1, with 1 wifi adapter directly plugged into the board, the
> wifi
(Continue reading)

Tsuwei Chen | 17 Apr 00:38 2010
Picon

Re: [zd1211-devs] timeout in zd1211rw with zotac mini-itx (geforce 9300)

Gábor and Hin-Tak,

Thanks for the quick reply. I thought about the current draw on the
USB bus so I did try using the hub that is built into my dell monitor
and had the same problem.

I am going to try out the 2.6.32 today. I would report back the result
once I got it.

Also, some time I notice there is an 'address leak' with da_user=1.
This happens when I unplugged the adapter. The systems seems still
holding up well. Just wonder if this would be a concern.

Thanks,
Tsuwei

On Fri, Apr 16, 2010 at 3:26 PM, Hin-Tak Leung
<hintak_leung@...k> wrote:
> I suspect it is just poor hardware. The more power-drawing devices you have got, the current/power
available to each can drop, and some devices are more sensitive to drop in voltage than others. That seems
to be the obvious conclusion - the more bus-powered devices plugged in, the more likely the wireless
device fails to initialise.
>
> You probably would find that you will need a independently-powered hub (i.e. a USB hub which has its own
power-plug that you need to plug into the mains) for it to work reliably, since your motherboard doesn't
seem to be able to do it.
>
> --- On Fri, 16/4/10, Tsuwei Chen <tsuwei@...> wrote:
>
>> From: Tsuwei Chen <tsuwei@...>
(Continue reading)

Rich Rauenzahn | 26 Apr 20:40 2010
Picon

firmware doesn't load? but files are there?

Fedora Core 12, Linux 2.6.32.11-99.fc12.x86_64 #1 SMP Mon Apr 5
19:59:38 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux

The firmware files seem to be there -- and they cmp fine with the v4.1
firmware files from sourceforge.

$ ll /lib/firmware/zd1211/
total 64
-rw-r--r-- 1 root root 4018 2009-07-29 00:09 zd1211b_ub
-rw-r--r-- 1 root root 5120 2009-07-29 00:09 zd1211b_uph
-rw-r--r-- 1 root root 5120 2009-07-29 00:09 zd1211b_uphm
-rw-r--r-- 1 root root 5120 2009-07-29 00:09 zd1211b_uphr
-rw-r--r-- 1 root root 3584 2009-07-29 00:09 zd1211b_ur
-rw-r--r-- 1 root root 4018 2009-07-29 00:09 zd1211_ub
-rw-r--r-- 1 root root 5120 2009-07-29 00:09 zd1211_uph
-rw-r--r-- 1 root root 5120 2009-07-29 00:09 zd1211_uphm
-rw-r--r-- 1 root root 5120 2009-07-29 00:09 zd1211_uphr
-rw-r--r-- 1 root root 3584 2009-07-29 00:09 zd1211_ur
[rich <at> rich-fedora trunk]$

This is after bootup...

]$ dmesg | grep zd12
zd1211rw 1-1:1.0: phy0
usbcore: registered new interface driver zd1211rw
usb 1-1: firmware: requesting zd1211/zd1211b_ub
usb 1-1: firmware: requesting zd1211/zd1211b_uphr
usb 1-1: firmware: requesting zd1211/zd1211b_ub
usb 1-1: firmware: requesting zd1211/zd1211b_uphr
zd1211rw 1-1:1.0: couldn't load firmware. Error number -110
(Continue reading)

Hin-Tak Leung | 26 Apr 22:15 2010
Picon

Re: firmware doesn't load? but files are there?

Error -110 is USB timeout. it is just an indication that the device is not responding - not enough power from
the motherboard and is a hardware rather than a software problem, is probably my guess, given recent
problem reports. 

--- On Mon, 26/4/10, Rich Rauenzahn <rrauenza <at> gmail.com> wrote:

> zd1211rw 1-1:1.0: couldn't load firmware. Error number
> -110

------------------------------------------------------------------------------
Michael Tokarev | 27 Apr 09:51 2010
Picon

Re: firmware doesn't load? but files are there?

26.04.2010 22:40, Rich Rauenzahn wrote:
[]
> This is after bootup...
>
> ]$ dmesg | grep zd12
> zd1211rw 1-1:1.0: phy0
> usbcore: registered new interface driver zd1211rw
> usb 1-1: firmware: requesting zd1211/zd1211b_ub
> usb 1-1: firmware: requesting zd1211/zd1211b_uphr
> usb 1-1: firmware: requesting zd1211/zd1211b_ub
> usb 1-1: firmware: requesting zd1211/zd1211b_uphr
> zd1211rw 1-1:1.0: couldn't load firmware. Error number -110
> [rich <at> rich-fedora trunk]$
>
> $ sudo ifup wlan0
> RTNETLINK answers: Connection timed out
>
> Determining IP information for wlan0...RTNETLINK answers: Connection timed out
>
> This is caused by the ifup:
>
> usb 1-1: firmware: requesting zd1211/zd1211b_ub
> usb 1-1: firmware: requesting zd1211/zd1211b_uphr
> usb 1-1: USB control request for firmware upload failed. Error number -110
> usb 1-1: Could not upload firmware code uph. Error number -110
> zd1211rw 1-1:1.0: couldn't load firmware. Error number -110
> usb 1-1: firmware: requesting zd1211/zd1211b_ub
> usb 1-1: firmware: requesting zd1211/zd1211b_uphr
> usb 1-1: USB control request for firmware upload failed. Error number -110
> usb 1-1: Could not upload firmware code uph. Error number -110
(Continue reading)


Gmane