Personnaz Aurelien | 1 May 2006 08:40
Picon
Favicon

test of zd1211 on netgear wgt634u with openwrt

Hello,

I just want to  tell you my  observations of the current zd1211 driver if it can be useful. (Sorry I am french and my english is far from perfection so please forgive my mistakes ^^)
I have added the driver to the openwrt SDK to use it on a netgear wgt634u router (version r74).
The client mode is working fine with or without WEP key. We have added a big monodirectionnal antenna on it and the power supplied by the key is far enough to connect to an access point a 300 meters. We will soon try it for a 10 kilometers long connection ( critical test :p).
Ad-hoc mode is working too and works fine with OLSR ( mesh wifi protocol ).

The AP mode doesn't seem to really work.  The power from the antenna seems to by really weak ( I had to put the antenna at 10 cm from my computer to connect... not sure it is a power problem but seems to be ). Also the connection was working for 6 or 7 pings and after no way to reconnect. I finally found that if I give it again which channel to use, the connection is coming back. So with a little script setting the channel every 4 or 5 seconds the connection was working (very weird...).
So maybe it was just a configuration problem but I finally decided to put the main antenna of the router in master mode and the zd1211 in client, and it's working perfectly.

So thank you very much for your work and I hope those observations will be useful.
Bye,
Aurélien.

PS: if you want to see where we are doing that look at http://tibtec.org
Jan Henrik Sylvester | 1 May 2006 17:32
Picon

Re: How to build on Debian Sarge?

Sami Sandqvist wrote:
 > > Jan Henrik Sylvester wrote:
 > > I have been trying to build r74 on Debian Sarge (which is a fresh
 > > install, since I am very new to this).
 > >
 > > I got kernel-sources for 2.6 and made a symbolic link:
 > > /lib/modules/2.6.8-2-386/build to /usr/src/kernler-source-2.6.8/
 > >
 > > Make of r74 fails horribly -- many syntax errors etc. (See below.)
 >
 > In Debian, you don't need the full kernel sources to compile an
 > external module. You should install the correct kernel-headers
 > package instead. For example, if you are using
 > kernel-image-2.6.8-2-686, you should install
 > kernel-headers-2.6.8-2-686. Remove the link you
 > mention above before installing it, the kernel-headers
 > package should have the proper link.
 >
 > Somewhere around 2.6.15 the packages were renamed to
 > linux-image-2.6.x and linux-headers-2.6.x. If you are using
 > 2.6.8, you may have to compile an older version of zd1211
 > or upgrade your kernel. IIRC, the latest versions required a
 > bleeding edge kernel.

I have removed the full kernel source and installed the headers instead 
(though I doubt that this was necessary). The package did not create the 
link /lib/modules/2.6.8-2-386/build that the r74 make is missing. Thus, 
I recreated it myself.

Since I would like to stay with stable Sarge, I will not upgrade my 
kernel. Which version of zd1211 do you suggest? With kernel headers in 
place, is there anything I should do besides make after downloading and 
untaring of the version that you will suggest?

Thanks
Jan Henrik

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Ulrich Kunitz | 1 May 2006 22:27
Picon

zd1211rw: ZD1211B with AL2230 RF supported now

Hello,

the zd1211rw driver rewrite project supports now also ZD1211B
chips. Special thanks go to Timothy Legge from Canada, who sent me
the USB WLAN stick with the ZD1211B. The device package is
definitely targeted to the Canadian market, but I'm still
wondering, why the EEPROM says the regulatory domain is ETSI. It
looks like that regulatory domains are somehow ignored by the
distributor channels.

Tim's ZD1211B is quite a performer: 2,3 MByte/s maximum
speed for receiving a 20 MByte file. The device uses an AL2230 RF.
Given the fact, that it is my only ZD1211B at this point in time,
no other RFs are supported with the AL2230 RF just now.

So if you own a ZD1211B with a AL2230 RF, you can help us by
testing the driver. The source can be found as usual under my git tree at

http://www.deine-taler.de/zd1211/zd1211.git

Please make sure to copy the needed firmware files into
/lib/firmware/zd1211. You may download the binaries from

http://sourceforge.net/project/showfiles.php?group_id=129083

Use a recent kernel with softmac support. I use John Linvilles
wireless-2.6 git-tree. Others are working with recent stock
Linus-kernels. More information can be found in the README file of
the driver.

Please check whether the USB vendor and product id is in the
usb_ids table at the start of zd_usb.c. The devices in the table
are known to be working with zd1211rw.

Qualified bug reports and patches sent to this mailing list are always welcome.

Cheers,

Uli

PS: The project web page is at http://zd1211.ath.cx/wiki/DriverRewrite

--

-- 
Ulrich Kunitz - kune <at> deine-taler.de

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Christiaan Welvaart | 2 May 2006 00:12
Picon

zd1211rw on sitecom WL113 report

hi,

I tested the zd1211rw driver on linux/ppc (an iBook) for a
"Sitecom WL-113" device. It works (:
USB id: 0df6:9071
chip id string:
zd1211 chip 0df6:9071 v4330 high 00-0c-f6 AL2230_RF pa0 ---

no encryption tested yet.
(The driver based on zydas code doesn't seem to receive packets, it 
complains about bogus packet length or similar - DHCP/unencrypted, and WPA 
login sequence.)

     Christiaan

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Daniel Drake | 2 May 2006 00:41
Picon
Favicon

Re: zd1211rw on sitecom WL113 report

Christiaan Welvaart wrote:
> I tested the zd1211rw driver on linux/ppc (an iBook) for a
> "Sitecom WL-113" device. It works (:
> USB id: 0df6:9071
> chip id string:
> zd1211 chip 0df6:9071 v4330 high 00-0c-f6 AL2230_RF pa0 ---
> 
> no encryption tested yet.
> (The driver based on zydas code doesn't seem to receive packets, it 
> complains about bogus packet length or similar - DHCP/unencrypted, and 
> WPA login sequence.)

Thanks, thats good news! I added this to my tree.

Daniel

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Xu Nakajima | 3 May 2006 10:30
Picon
Favicon

iwevent an zd1211

Hello, 

  I had modprobed succesfully the zd1211  wireless
driver (*** NOT the rewrite dirver***) and ran
"iwconfig wlan0 mode Ad-Hoc essid homenet" and
"ifconfig wlan0 up".I had ran iwevent; it says
"Waiting for Wireless Events from interfaces..."
Than I ran "iwconfig wlan0 essid homenetTest" from a
different console on the same machine but I don't see
anything in the iwevent console. why? Accrding 
to man iwevent it should had dispalyed this event of
changing essid by using iwconfig .What should I do to
see events in the "iwevent" console ? 
I must add that there is no other station when I try 
this  (is it necessary for iwevent?)

   I must admit that I have no experience trying 
iwevent with other wireless cards so it could be 
something silly which I am missing.

Regards,
Xu 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Sami Sandqvist | 3 May 2006 13:59
Picon
Picon
Favicon

Re: How to build on Debian Sarge?


Jan Henrik Sylvester wrote:
> 
> Since I would like to stay with stable Sarge, I will not upgrade my 
> kernel. Which version of zd1211 do you suggest? With kernel headers in 
> place, is there anything I should do besides make after downloading and 
> untaring of the version that you will suggest?
> 

I had 2.6.8 in my mythtv box. I think i used r59 with it. You should
try some newer releases to see which ones compile with 2.6.8.
Maybe the developers can tell you what to use or you could read
the list archives. r59 is new enough to use unpatched wpasupplicant
with -Dwext. I've had weird stalls with every version, but it is probably 
because of the crappy USB hw in my mythtv box.

Regarding the installation, I just "make install" at home. If you want
to do things the fancy way, you could make Debian packages with
"checkinstall -D make install" or use module-assistant with the
zd1211-source package in unstable. Checkinstall is worth looking
into if you want to keep your system clean.
--
View this message in context: http://www.nabble.com/Re%3A-How-to-build-on-Debian-Sarge--t1537404.html#a4208774
Sent from the zd1211-devs forum at Nabble.com.

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Daniel Drake | 3 May 2006 17:20
Picon
Favicon

The phantom disconnection problem

Hi,

Thumbs up to the ZyDAS engineers, who have been responsive via email.

I asked them about the problem which many of us have seen using ZD1211 
on Linux, where after some unspecified amount of time, the device stops 
working, and the kernel logs suggest the device has been disconnected. 
Unplugging and replugging the device is enough to get things working again.

I have seen this once myself (with zd1211rw), however I am not 100% sure 
it was the same thing, since I don't trust the USB extension cable that 
I am using.

ZyDAS informed me that they suspect at least one of the causes for the 
bug is reading the contents of /proc/bus/usb/devices (or running lsusb, 
or running any other program which lists the devices attached to your 
USB bus) during network transfer.

Firstly, I'm looking for information from people who have seen this bug 
(the disconnections) with either driver with any form of regularity. If 
you are one of these people, please reply to this mail, telling me:

  - How often you see these (days, weeks, months apart?)
  - Which kernel version you use and have been using recently

Secondly, I'm looking for people to see if they can reproduce this 
problem, regardless of whether they have seen it before or not. To do this:

1. Connect to your network using ZD1211
2. Generate as much network traffic as possible, i.e. start downloading 
a large file from a local machine, or upload one, or even do both at the 
same time
3. Run "cat /proc/bus/usb/devices"
4. If this doesn't cause immediate disconnect, repeat step 3 many times 
(say up to 100?) in quick succession. Try and break the poor thing.
5. Let me know how you get on (either outcome)

If anyone can reproduce this relatively easily, we can patch the Linux 
kernel with a workaround for these devices.

Thanks.
Daniel

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
gerator | 3 May 2006 17:16
Picon

Kernel Panic with zd1211 compiled for arm9


Hi!

I am testing a wireless adapter based on zd1211 on an embedded arm-based
platform. I have compiled the driver for arm9 with the toolchain from
emdebian.

I load the driver and configure essid and wep key without problems. But when
I start a ping (from or against) the kernel oppses after some time. I have
discovered that this behavior only reproduces when wep secutity is enabled.

Either /proc/ksyms or /proc/modules are empty.

This is the kernel oops:

Unable to handle kernel paging request at virtual address 0010010d
pgd = c0004000
[0010010d] *pgd=00000000
Internal error: Oops: 17 [#1]
Modules linked in: zd1211_driver
CPU: 0
PC is at zd1205_start_ru+0x5c/0xf8 [zd1211_driver]
LR is at 0xc3f38ee8
pc : [<bf003010>]    lr : [<c3f38ee8>]    Not tainted
sp : c0207bd8  ip : 00100100  fp : c0207bec
r10: 00000002  r9 : 00000002  r8 : 000000d0
r7 : c3f9dfe0  r6 : c3f38000  r5 : 000012bd  r4 : c3f38000
r3 : 00100100  r2 : c340402b  r1 : 00000068  r0 : c3f38000
Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  Segment kernel
Control: C000717F  Table: 22CEC000  DAC: 00000017
Process swapper (pid: 0, stack limit = 0xc0206198)
Stack: (0xc0207bd8 to 0xc0208000)
7bc0:                                                       c34040ff
c3f38000
7be0: c0207c10 c0207bf0 bf02690c bf002fc4 00000002 c3f36010 00000000
c3f38000
7c00: c3f9dfe0 c0207c5c c0207c14 bf027acc bf0268fc c0207c3c 00000068
c340402b
7c20: 000000c8 00000003 c3f9dfe0 c3f38ee8 c010c620 c3f38000 c3cd85c0
c3c2d4c8
7c40: c0207d68 c5100000 00000000 00000002 c0207c74 c0207c60 bf027c04
bf0277dc
7c60: c0207d68 c3cd85c0 c0207c8c c0207c78 c014977c bf027b60 c3c2d400
c3cd85c0
7c80: c0207cac c0207c90 c01547e8 c0149760 c3f9d400 ffc060c0 c3cd85c0
c3c2d4c8
7ca0: c0207ce0 c0207cb0 c0155df8 c015473c c0207d68 c3c2d400 c3c2d400
00000000
7cc0: 00000000 00000017 c0207d68 c0207de4 c024da20 c0207cf4 c0207ce4
c014a500
7ce0: c0155bd4 c3cc2200 c0207d18 c0207cf8 c0020970 c014a4d0 c024decc
00000017
7d00: c0207d68 c3c2d800 c0207d68 c0207d34 c0207d1c c0020bb0 c0020934
ffffffff
7d20: fefff000 00000017 c0207d64 c0207d38 c0020c54 c0020b58 c0020c14
c3d9dbe0
7d40: ffffffff fefff000 00000017 c3c2d800 c3c5e3e0 c0207de8 c0207dc4
c0207d68
7d60: c001f964 c0020c14 c0317b60 c0307600 00000078 c0307600 00000000
c3d9dbe0
7d80: c3e25410 c3c2d800 c3c5e3e0 c0207de4 c0207de8 c0207dc4 00000001
c0207db0
7da0: c0164cfc c0164de4 80000013 ffffffff 00000000 00000001 c0207e60
c0207dc8
7dc0: c01a3878 c0164d4c c3c2d800 c0207dd8 c0137cb8 c016a71c c3e25418
c3d9dbe0
7de0: c0207dec de00000a 0100000a 00000000 00000018 c0207e80 41129200
c024da20
7e00: c0207e30 c0207e10 c0020970 c0137bb4 c024df00 00000018 c0207e80
0000c3bc
7e20: c024df00 c0207e4c c0207e34 c0020bfc c0029300 ffffffff c3d9dbe0
c3c2d800
7e40: 00000608 c3c2d800 0000c3bd c0260ef8 00000040 c0207e78 c0207e64
c01a39c4
7e60: c01a3284 c3d9dbe0 c026118c c0207e98 c0207e7c c016abcc c01a38c8
c3c2d800
7e80: c0260f14 00000008 c0207ec8 c0207ec4 c0207e9c c016acd0 c016aa28
c0260fd0
7ea0: c0260f14 c0260ef8 0000c3bc c020c47c 41129200 c024da20 c0207eec
c0207ec8
7ec0: c016ae40 c016ac34 000000ec 00000005 c02555e0 c0206000 0000000a
c02555a0
7ee0: c0207f10 c0207ef0 c00391dc c016adc0 ffffffff fefff000 00000018
c0267b1c
7f00: c0207f54 c0207f20 c0207f14 c0039368 c0039190 c0207f50 c0207f24
c0020d30
7f20: c0039334 c0207f60 c0207f34 ffffffff fefff000 00000018 c0267b1c
2001c81c
7f40: 2001c7ec c0207fa8 c0207f54 c001f964 c0020c14 c001cc60 c0338000
00000000
7f60: 60000013 c002157c c0206000 c0257d6c c0267b1c 2001c81c 41129200
2001c7ec
7f80: c0207fa8 c0207fac c0207f9c c00215bc c00215c8 60000013 ffffffff
c0207fc0
7fa0: c0207fac c0021618 c002158c c0007175 c024d5dc c0207fd0 c0207fc4
c001f024
7fc0: c00215e0 c0207ff4 c0207fd4 c00087f0 c001f010 c00082e4 c024fba8
c0007175
7fe0: c024fb1c c0209c84 00000000 c0207ff8 20008094 c0008688 00000000
00000000
Backtrace:
[<bf002fb4>] (zd1205_start_ru+0x0/0xf8 [zd1211_driver]) from [<bf02690c>]
(zd1211_submit_rx_urb+0x20/0x10c [zd1211_driver])
 r4 = C3F38000
[<bf0268ec>] (zd1211_submit_rx_urb+0x0/0x10c [zd1211_driver]) from
[<bf027acc>] (zd1211_rx_isr+0x300/0x384 [zd1211_driver])
 r7 = C3F9DFE0  r6 = C3F38000  r5 = 00000000  r4 = C3F36010
[<bf0277cc>] (zd1211_rx_isr+0x0/0x384 [zd1211_driver]) from [<bf027c04>]
(zd1211_rx_comp_cb+0xb4/0xc8 [zd1211_driver])
[<bf027b50>] (zd1211_rx_comp_cb+0x0/0xc8 [zd1211_driver]) from [<c014977c>]
(usb_hcd_giveback_urb+0x2c/0x74)
 r5 = C3CD85C0  r4 = C0207D68
[<c0149750>] (usb_hcd_giveback_urb+0x0/0x74) from [<c01547e8>]
(finish_urb+0xbc/0xe8)
 r5 = C3CD85C0  r4 = C3C2D400
[<c015472c>] (finish_urb+0x0/0xe8) from [<c0155df8>] (ohci_irq+0x234/0x350)
 r7 = C3C2D4C8  r6 = C3CD85C0  r5 = FFC060C0  r4 = C3F9D400
[<c0155bc4>] (ohci_irq+0x0/0x350) from [<c014a500>] (usb_hcd_irq+0x40/0x84)
[<c014a4c0>] (usb_hcd_irq+0x0/0x84) from [<c0020970>] (__do_irq+0x4c/0x88)
 r4 = C3CC2200
[<c0020924>] (__do_irq+0x0/0x88) from [<c0020bb0>] (do_level_IRQ+0x68/0xbc)
 r8 = C0207D68  r7 = C3C2D800  r6 = C0207D68  r5 = 00000017
 r4 = C024DECC
[<c0020b48>] (do_level_IRQ+0x0/0xbc) from [<c0020c54>]
(asm_do_IRQ+0x50/0x14c)
 r6 = 00000017  r5 = FEFFF000  r4 = FFFFFFFF
[<c0020c04>] (asm_do_IRQ+0x0/0x14c) from [<c001f964>] (__irq_svc+0x24/0x60)
[<c0164d3c>] (__kfree_skb+0x0/0xc4) from [<c01a3878>]
(arp_process+0x604/0x630)
 r5 = 00000001  r4 = 00000000
[<c01a3274>] (arp_process+0x0/0x630) from [<c01a39c4>] (arp_rcv+0x10c/0x154)
[<c01a38b8>] (arp_rcv+0x0/0x154) from [<c016abcc>]
(netif_receive_skb+0x1b4/0x20c)
 r5 = C026118C  r4 = C3D9DBE0
[<c016aa18>] (netif_receive_skb+0x0/0x20c) from [<c016acd0>]
(process_backlog+0xac/0x18c)
 r7 = C0207EC8  r6 = 00000008  r5 = C0260F14  r4 = C3C2D800
[<c016ac24>] (process_backlog+0x0/0x18c) from [<c016ae40>]
(net_rx_action+0x90/0x170)
[<c016adb0>] (net_rx_action+0x0/0x170) from [<c00391dc>]
(__do_softirq+0x5c/0xd0)
 r8 = C02555A0  r7 = 0000000A  r6 = C0206000  r5 = C02555E0
 r4 = 00000005
[<c0039180>] (__do_softirq+0x0/0xd0) from [<c0039368>] (irq_exit+0x44/0x4c)
 r8 = C0207F54  r7 = C0267B1C  r6 = 00000018  r5 = FEFFF000
 r4 = FFFFFFFF
[<c0039324>] (irq_exit+0x0/0x4c) from [<c0020d30>] (asm_do_IRQ+0x12c/0x14c)
[<c0020c04>] (asm_do_IRQ+0x0/0x14c) from [<c001f964>] (__irq_svc+0x24/0x60)
[<c002157c>] (default_idle+0x0/0x54) from [<c0021618>] (cpu_idle+0x48/0x64)
[<c00215d0>] (cpu_idle+0x0/0x64) from [<c001f024>] (__init_end+0x24/0x2c)
 r5 = C024D5DC  r4 = C0007175
[<c001f000>] (__init_end+0x0/0x2c) from [<c00087f0>]
(start_kernel+0x178/0x1c0)
[<c0008678>] (start_kernel+0x0/0x1c0) from [<20008094>] (0x20008094)
Code: e153000e 0a000017 e253c000 0a000019 (e5dc200d)
 <0>Kernel panic - not syncing: Aiee, killing interrupt handler!

The board has 64MB RAM and no swap support into the kernel. 

Thanks for your help in advance.
--
View this message in context: http://www.nabble.com/Kernel-Panic-with-zd1211-compiled-for-arm9-t1550664.html#a4212205
Sent from the zd1211-devs forum at Nabble.com.

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Ulrich Kunitz | 3 May 2006 21:44
Picon

Re: Kernel Panic with zd1211 compiled for arm9

Hi,

maybe you try the zd1211rw driver from the driver rewrite project,
it requires a recent kernel though. It definitely supports several
architectures. Currently it runs on x86, x86-64 and PPC32, so I
would expect it to run on ARM too. 

Here is the URL for starters: http://zd1211.ath.cx/wiki/DriverRewrite

Uli

--

-- 
Ulrich Kunitz - kune <at> deine-taler.de

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Gmane