Martin Maurer | 3 Jan 2009 16:52
Picon
Picon

Re: General questions on ZD1211B behaviour, for using ZD1211B in non-Linux embedded system

Hello,
 
i want to to use a ZD1211B in a non-Linux embedded system (hobbyist project, should be GPLed when working).
The system contains a uC with USB host and an USB stick (currently i have a SNU5600 from Philips).
The USB part is already working (at least i can access an usb mem stick), so now i can concentrate on ZD1211B part.
Reading in VID / PID (0471 / 1236) is also already working.
 
Can you perhaps help me with some initial steps to get ZD1211B working:
 
1) Is there meanwhile some documentation, how things are working or must existing drivers again be reverese engineered ? I saw some questions on it in the past but i think there was almost no documentation...
2) What initial steps are needed to setup operation of ZD1211B ?
3) Must i load firmware everytime ? Or only when used firmware is older than firmware in files ? Just for understanding: Is ZD1211B a RAM based device ?
4) Which firmware file must i load ? There are multiple ones (which have different names), must all of them loaded for complete software ? Is there a certain order for loading ? What does "ub", "uph", "uphm", "uphr", "ur" mean ?
5) Which source to take best as base for new development ? Look into latest linux sources or sourceforge archive ? Or somewhere else ?
6) Last, but not least: Has someone already done a similar thing, which i can take as reference ? But i haven't found something with google...
 
Regards and thanks for helping,
 
            Martin Maurer
 
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Hin-Tak Leung | 3 Jan 2009 22:18
Picon
Favicon

Re: General questions on ZD1211B behaviour, for using ZD1211B in non-Linux embedded system

Most of the answer to your questions are in the wiki pages on the zd1211 sourceforge web site.

The vendor driver is, as it says, provided by the vendor and the authoritative source of info. It does suffer
from being small-endian and 32-bitness. The latest community rewrite effort is neither on sourceforge 
nor in the released kernel source, but in wireless-testing. Visit http://linuxwireless.org/ .

Some people had done some work on using the zd1211 on embedded systems - you just haven't googled well enough.

--- On Sat, 3/1/09, Martin Maurer <capiman26061973 <at> gmx.de> wrote:

> From: Martin Maurer <capiman26061973 <at> gmx.de>
> Subject: Re: [zd1211-devs] General questions on ZD1211B behaviour, for using ZD1211B in non-Linux
embedded system
> To: "Martin Maurer" <capiman <at> clibb.de>, zd1211-devs <at> lists.sourceforge.net
> Date: Saturday, 3 January, 2009, 3:52 PM
> Hello,
> 
> i want to to use a ZD1211B in a non-Linux embedded system
> (hobbyist project, should be GPLed when working).
> The system contains a uC with USB host and an USB stick
> (currently i have a SNU5600 from Philips).
> The USB part is already working (at least i can access an
> usb mem stick), so now i can concentrate on ZD1211B part.
> Reading in VID / PID (0471 / 1236) is also already working.
> 
> Can you perhaps help me with some initial steps to get
> ZD1211B working:
> 
> 1) Is there meanwhile some documentation, how things are
> working or must existing drivers again be reverese
> engineered ? I saw some questions on it in the past but i
> think there was almost no documentation...
> 2) What initial steps are needed to setup operation of
> ZD1211B ?
> 3) Must i load firmware everytime ? Or only when used
> firmware is older than firmware in files ? Just for
> understanding: Is ZD1211B a RAM based device ? 
> 4) Which firmware file must i load ? There are multiple
> ones (which have different names), must all of them loaded
> for complete software ? Is there a certain order for loading
> ? What does "ub", "uph",
> "uphm", "uphr", "ur" mean ?
> 5) Which source to take best as base for new development ?
> Look into latest linux sources or sourceforge archive ? Or
> somewhere else ?
> 6) Last, but not least: Has someone already done a similar
> thing, which i can take as reference ? But i haven't
> found something with google...
> 
> Regards and thanks for helping,
> 
>             Martin Maurer
> ------------------------------------------------------------------------------
> _______________________________________________
> Zd1211-devs mailing list -
> http://zd1211.wiki.sourceforge.net/
> Unsubscribe:
> https://lists.sourceforge.net/lists/listinfo/zd1211-devs

------------------------------------------------------------------------------
Martin Maurer | 4 Jan 2009 20:04
Picon
Picon

Re: General questions on ZD1211B behaviour, for using ZD1211B in non-Linux embedded system

Hello Hin-Tak,

first many thanks for your answer !

> Most of the answer to your questions are in the wiki pages on the zd1211 
> sourceforge web site.

Do you mean this page http://zd1211.wiki.sourceforge.net/  ?

To be honest: I am searching for some more detailed info than the above page 
(or have i missed a page ?). What i am looking for: Which register of the 
ZD1211B has what meaning ? I am searching for a description of each bit. 
General sequences of startup / configuring / sending a packet / receiving a 
packet ? Format of USB communication ? Description of endpoints, what to do 
over which endpoint and so on. Can you point me exactly to one of the wiki 
pages which answers at least one of my question 1 to 4 ?

Or was the hint to the wiki pages to say: There is no documentation beside 
the fully open source (example) driver ? Have a look at their driver and 
make it the same way they have done it ?

Meanwhile i found the following info on solaris driver for ZD1211, a 
document which is worth reading:

http://zd1211sol.cvs.sourceforge.net/viewvc/*checkout*/zd1211sol/zdwlan/docs/zd1211.txt?revision=1.2

> The vendor driver is, as it says, provided by the vendor and the 
> authoritative source of info.
> It does suffer from being small-endian and 32-bitness. The latest 
> community rewrite effort is
> neither on sourceforge  nor in the released kernel source, but in 
> wireless-testing. Visit http://linuxwireless.org/ .

So the following (daily updated) archive could be a good start:

http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2

> Some people had done some work on using the zd1211 on embedded systems - 
> you just haven't googled well enough.

I meanwhile found at least one non-unix project:

https://sourceforge.net/projects/at90usb-zd1211/
(There only receiving is working, no sending)

Also Solaris driver i think is worth looking:
http://sourceforge.net/projects/zd1211sol/

Are there others ? Can you perhaps point me to some keywords (beside zd1211 
or zd1211b), i can use for searching ?
I already tried to avoid many OS relevant pages (linux, unix, freeBSD, 
OpenBSD, Windows...) but still too many other pages...

Regards,

         Martin

----- Original Message ----- 
From: "Hin-Tak Leung" <hintak_leung <at> yahoo.co.uk>
To: "Martin Maurer" <capiman <at> clibb.de>; <zd1211-devs <at> lists.sourceforge.net>
Sent: Saturday, January 03, 2009 10:18 PM
Subject: Re: [zd1211-devs] General questions on ZD1211B behaviour, for using 
ZD1211B in non-Linux embedded system

Most of the answer to your questions are in the wiki pages on the zd1211 
sourceforge web site.

The vendor driver is, as it says, provided by the vendor and the 
authoritative source of info. It does suffer from being small-endian and 
32-bitness. The latest community rewrite effort is neither on sourceforge 
nor in the released kernel source, but in wireless-testing. Visit 
http://linuxwireless.org/ .

Some people had done some work on using the zd1211 on embedded systems - you 
just haven't googled well enough.

--- On Sat, 3/1/09, Martin Maurer <capiman26061973 <at> gmx.de> wrote:

> From: Martin Maurer <capiman26061973 <at> gmx.de>
> Subject: Re: [zd1211-devs] General questions on ZD1211B behaviour, for 
> using ZD1211B in non-Linux embedded system
> To: "Martin Maurer" <capiman <at> clibb.de>, zd1211-devs <at> lists.sourceforge.net
> Date: Saturday, 3 January, 2009, 3:52 PM
> Hello,
>
> i want to to use a ZD1211B in a non-Linux embedded system
> (hobbyist project, should be GPLed when working).
> The system contains a uC with USB host and an USB stick
> (currently i have a SNU5600 from Philips).
> The USB part is already working (at least i can access an
> usb mem stick), so now i can concentrate on ZD1211B part.
> Reading in VID / PID (0471 / 1236) is also already working.
>
> Can you perhaps help me with some initial steps to get
> ZD1211B working:
>
> 1) Is there meanwhile some documentation, how things are
> working or must existing drivers again be reverese
> engineered ? I saw some questions on it in the past but i
> think there was almost no documentation...
> 2) What initial steps are needed to setup operation of
> ZD1211B ?
> 3) Must i load firmware everytime ? Or only when used
> firmware is older than firmware in files ? Just for
> understanding: Is ZD1211B a RAM based device ?
> 4) Which firmware file must i load ? There are multiple
> ones (which have different names), must all of them loaded
> for complete software ? Is there a certain order for loading
> ? What does "ub", "uph",
> "uphm", "uphr", "ur" mean ?
> 5) Which source to take best as base for new development ?
> Look into latest linux sources or sourceforge archive ? Or
> somewhere else ?
> 6) Last, but not least: Has someone already done a similar
> thing, which i can take as reference ? But i haven't
> found something with google...
>
> Regards and thanks for helping,
>
>             Martin Maurer
> ------------------------------------------------------------------------------
> _______________________________________________
> Zd1211-devs mailing list -
> http://zd1211.wiki.sourceforge.net/
> Unsubscribe:
> https://lists.sourceforge.net/lists/listinfo/zd1211-devs

------------------------------------------------------------------------------
Giuseppe Calà | 4 Jan 2009 20:18
Picon

Re: Sitecom WL-603 with ZD1211BU

Some news:
I have added the new usb-id (0df6:0036) to zd_usb.c (zd1211b section) and 
recompiled the kernel (2.6.27-9.19 from ubuntu repo). So the device is 
recognized correctly and works fine.

One more info:

$ dmesg | grep 'zd1211b\? chip'
[   49.410219] zd1211rw 1-4:1.0: zd1211b chip 0df6:0036 v4810 high 00-0c-f6 
AL2230_RF pa0 g--N-

so this device combines a AL2230 RF transceiver chip.

This should be enough for adding the Sitecom WL-603 bus-id in the kernel 
driver.

Regards.

------------------------------------------------------------------------------
_______________________________________________
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Ben Taylor | 4 Jan 2009 20:53
Picon

Re: General questions on ZD1211B behaviour, for using ZD1211B in non-Linux embedded system

The openbsd code is found at:

http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/usb/if_zyd.c

and a derivitive work of that is found the subversion repo:

http://svn9.cvsdude.com/kdesolaris/zyd/trunk

I used the openbsd code to extend the original zyd-0.1 code  for open solaris
that was done the by the students at Charles University in Prague, to add
zd1211b support, as well as several other radios and chipsets.

Ben

On Sun, Jan 4, 2009 at 2:04 PM, Martin Maurer <capiman26061973 <at> gmx.de> wrote:
> Hello Hin-Tak,
>
> first many thanks for your answer !
>
>> Most of the answer to your questions are in the wiki pages on the zd1211
>> sourceforge web site.
>
> Do you mean this page http://zd1211.wiki.sourceforge.net/  ?
>
> To be honest: I am searching for some more detailed info than the above page
> (or have i missed a page ?). What i am looking for: Which register of the
> ZD1211B has what meaning ? I am searching for a description of each bit.
> General sequences of startup / configuring / sending a packet / receiving a
> packet ? Format of USB communication ? Description of endpoints, what to do
> over which endpoint and so on. Can you point me exactly to one of the wiki
> pages which answers at least one of my question 1 to 4 ?
>
> Or was the hint to the wiki pages to say: There is no documentation beside
> the fully open source (example) driver ? Have a look at their driver and
> make it the same way they have done it ?
>
> Meanwhile i found the following info on solaris driver for ZD1211, a
> document which is worth reading:
>
> http://zd1211sol.cvs.sourceforge.net/viewvc/*checkout*/zd1211sol/zdwlan/docs/zd1211.txt?revision=1.2
>
>> The vendor driver is, as it says, provided by the vendor and the
>> authoritative source of info.
>> It does suffer from being small-endian and 32-bitness. The latest
>> community rewrite effort is
>> neither on sourceforge  nor in the released kernel source, but in
>> wireless-testing. Visit http://linuxwireless.org/ .
>
> So the following (daily updated) archive could be a good start:
>
> http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2
>
>> Some people had done some work on using the zd1211 on embedded systems -
>> you just haven't googled well enough.
>
> I meanwhile found at least one non-unix project:
>
> https://sourceforge.net/projects/at90usb-zd1211/
> (There only receiving is working, no sending)
>
> Also Solaris driver i think is worth looking:
> http://sourceforge.net/projects/zd1211sol/
>
> Are there others ? Can you perhaps point me to some keywords (beside zd1211
> or zd1211b), i can use for searching ?
> I already tried to avoid many OS relevant pages (linux, unix, freeBSD,
> OpenBSD, Windows...) but still too many other pages...
>
> Regards,
>
>         Martin
>
>
> ----- Original Message -----
> From: "Hin-Tak Leung" <hintak_leung <at> yahoo.co.uk>
> To: "Martin Maurer" <capiman <at> clibb.de>; <zd1211-devs <at> lists.sourceforge.net>
> Sent: Saturday, January 03, 2009 10:18 PM
> Subject: Re: [zd1211-devs] General questions on ZD1211B behaviour, for using
> ZD1211B in non-Linux embedded system
>
>
> Most of the answer to your questions are in the wiki pages on the zd1211
> sourceforge web site.
>
> The vendor driver is, as it says, provided by the vendor and the
> authoritative source of info. It does suffer from being small-endian and
> 32-bitness. The latest community rewrite effort is neither on sourceforge
> nor in the released kernel source, but in wireless-testing. Visit
> http://linuxwireless.org/ .
>
> Some people had done some work on using the zd1211 on embedded systems - you
> just haven't googled well enough.
>
> --- On Sat, 3/1/09, Martin Maurer <capiman26061973 <at> gmx.de> wrote:
>
>> From: Martin Maurer <capiman26061973 <at> gmx.de>
>> Subject: Re: [zd1211-devs] General questions on ZD1211B behaviour, for
>> using ZD1211B in non-Linux embedded system
>> To: "Martin Maurer" <capiman <at> clibb.de>, zd1211-devs <at> lists.sourceforge.net
>> Date: Saturday, 3 January, 2009, 3:52 PM
>> Hello,
>>
>> i want to to use a ZD1211B in a non-Linux embedded system
>> (hobbyist project, should be GPLed when working).
>> The system contains a uC with USB host and an USB stick
>> (currently i have a SNU5600 from Philips).
>> The USB part is already working (at least i can access an
>> usb mem stick), so now i can concentrate on ZD1211B part.
>> Reading in VID / PID (0471 / 1236) is also already working.
>>
>> Can you perhaps help me with some initial steps to get
>> ZD1211B working:
>>
>> 1) Is there meanwhile some documentation, how things are
>> working or must existing drivers again be reverese
>> engineered ? I saw some questions on it in the past but i
>> think there was almost no documentation...
>> 2) What initial steps are needed to setup operation of
>> ZD1211B ?
>> 3) Must i load firmware everytime ? Or only when used
>> firmware is older than firmware in files ? Just for
>> understanding: Is ZD1211B a RAM based device ?
>> 4) Which firmware file must i load ? There are multiple
>> ones (which have different names), must all of them loaded
>> for complete software ? Is there a certain order for loading
>> ? What does "ub", "uph",
>> "uphm", "uphr", "ur" mean ?
>> 5) Which source to take best as base for new development ?
>> Look into latest linux sources or sourceforge archive ? Or
>> somewhere else ?
>> 6) Last, but not least: Has someone already done a similar
>> thing, which i can take as reference ? But i haven't
>> found something with google...
>>
>> Regards and thanks for helping,
>>
>>             Martin Maurer
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Zd1211-devs mailing list -
>> http://zd1211.wiki.sourceforge.net/
>> Unsubscribe:
>> https://lists.sourceforge.net/lists/listinfo/zd1211-devs
>
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
>

------------------------------------------------------------------------------
Hin-Tak Leung | 5 Jan 2009 20:15
Picon
Favicon

Re: Success: zd1211rw can handle 0ace:a211

Christoph Biedl wrote:
> Hi,
> 
> I am pleased to tell the Allnet ALL0298 ALLSPORT USB WLAN Finder
> vid:pid 0ace:a211 seems to run like a charme in Linux 2.6.27.7
> after patching the sources as described in
> http://www.linuxwireless.org/en/users/Drivers/zd1211rw/AddID
> Several gigabytes were transferred using Debian lenny (testing) using an
> 11g WPA2-PSK connection.
> 
> Let me know if there are other tests that should be run.
> 
> On a side note: http://zd1211.wiki.sourceforge.net mentions that device
> as vid:pid 0ace:a215 while mine is listed as "Unknown zd1211 device".

Can you clarify whether you are using zd1211b binding or zd1211 binding? On the 
page a215 is listed for zd1211b, whereas a211 is listed for zd1211 (no-b).

------------------------------------------------------------------------------
_Oleg_ | 6 Jan 2009 21:34
Picon

Re: zd1211rw on uclinux for blackfin


Hi, Manolo!

I know reason of your problem.
I use the same configuration (Blackfin, ISP1761 and WiFI ZyXEL G202 EE with
zd1211rw driver) and
got the same error "intr period 1 uframes".
Other device: USB to Ethernet converter ADMtek ADM8515 gives the same error.
(see my bug report:
http://sourceforge.net/tracker/index.php?func=detail&aid=2485364&group_id=168333&atid=846408
)
This bug presents also in PCI driver. Therefore it is bug of isp1761 driver,
but not zd1211rw.
So I hope this bug will fixed by USB driver author.

Regards,
Oleg.

Manolo van Ee-2 wrote:
> 
> Hi,
> 
> I'm trying to use the zd1211rw driver on a blackfin processor with
> uclinux and the ISP1760 usb controller.
> When I insert a device I get the following:
> 
> Jan  1 00:21:33 blackfin user.info kernel: usb 1-1.1: new high speed USB
> device using isp1761 and address 6
> Jan  1 00:21:33 blackfin user.debug kernel: usb 1-1.1: default language
> 0x0409
> Jan  1 00:21:33 blackfin user.debug kernel: usb 1-1.1: new device
> strings: Mfr=16, Product=32, SerialNumber=0
> Jan  1 00:21:33 blackfin user.info kernel: usb 1-1.1: Product: USB2.0
> WLAN
> Jan  1 00:21:33 blackfin user.info kernel: usb 1-1.1: Manufacturer:
> ZyDAS
> Jan  1 00:21:33 blackfin user.debug kernel: usb 1-1.1: uevent
> Jan  1 00:21:33 blackfin user.debug kernel: usb 1-1.1: usb_probe_device
> Jan  1 00:21:33 blackfin user.info kernel: usb 1-1.1: configuration #1
> chosen from 1 choice
> Jan  1 00:21:33 blackfin user.debug kernel: usb 1-1.1: adding 1-1.1:1.0
> (config #1, interface 0)
> Jan  1 00:21:33 blackfin user.debug kernel: usb 1-1.1:1.0: uevent
> Jan  1 00:21:33 blackfin user.debug kernel: zd1211rw 1-1.1:1.0:
> usb_probe_interface
> Jan  1 00:21:33 blackfin user.debug kernel: zd1211rw 1-1.1:1.0:
> usb_probe_interface - got id
> Jan  1 00:21:33 blackfin user.debug kernel: usb 1-1.1: print_id()
> 0ace:1215 v4810 high
> Jan  1 00:21:33 blackfin user.debug kernel: zd1211rw 1-1.1:1.0:
> zd_netdev_alloc() netdev->flags 0x1002
> Jan  1 00:21:33 blackfin user.debug kernel: zd1211rw 1-1.1:1.0:
> zd_netdev_alloc() netdev->features 0x00000000
> Jan  1 00:21:33 blackfin user.debug kernel: usb 1-1.1: request_fw_file()
> fw name zd1211/zd1211b_ub
> Jan  1 00:21:33 blackfin user.debug kernel: usb 1-1.1: upload_firmware()
> firmware device id 0x4810 is equal to the actual de
> vice id
> Jan  1 00:21:33 blackfin user.debug kernel: usb 1-1.1: request_fw_file()
> fw name zd1211/zd1211b_uphr
> Jan  1 00:21:33 blackfin user.debug kernel: usb 1-1.1: upload_code()
> transfer size 4096
> Jan  1 00:21:34 blackfin user.debug kernel: usb 1-1.1: upload_code()
> transfer size 1024
> Jan  1 00:21:34 blackfin user.debug kernel: usb 1-1.1: upload_code()
> firmware confirm return value 0x01
> Jan  1 00:21:34 blackfin user.debug kernel: zd1211rw 1-1.1:1.0:
> zd_usb_enable_int()
> Jan  1 00:21:34 blackfin user.debug kernel: zd1211rw 1-1.1:1.0:
> zd_usb_enable_int() submit urb 002dc380
> Jan  1 00:21:34 blackfin user.debug kernel: zd1211rw 1-1.1:1.0:
> zd_chip_init_hw()
> Jan  1 00:21:34 blackfin user.warn kernel: intr period 1 uframes,
> Jan  1 00:21:34 blackfin user.debug kernel: zd1211rw 1-1.1:1.0:
> dump_cr() CR_AFTER_PNP 0x00000000
> Jan  1 00:21:35 blackfin user.debug kernel: zd1211rw 1-1.1:1.0:
> zd_usb_ioread16v() read timed out
> Jan  1 00:21:35 blackfin user.debug kernel: zd1211rw 1-1.1:1.0:
> zd_ioread32v_locked() error: zd_ioread16v_locked. Error numb
> er -110
> Jan  1 00:21:35 blackfin user.debug kernel: zd1211rw 1-1.1:1.0:
> dump_cr() error reading CR_GPI_EN. Error number -110
> Jan  1 00:21:35 blackfin user.debug kernel: zd1211rw 1-1.1:1.0:
> zd_usb_disable_int() urb 002dc380 killed
> Jan  1 00:21:35 blackfin user.debug kernel: zd1211rw 1-1.1:1.0: probe()
> couldn't initialize mac. Error number -110
> Jan  1 00:21:35 blackfin user.info kernel: usb 1-1.1: reset high speed
> USB device using isp1761 and address 6
> Jan  1 00:21:35 blackfin user.debug kernel:  usbdev1.6_ep01:
> ep_device_release called for usbdev1.6_ep01
> Jan  1 00:21:35 blackfin user.debug kernel:  usbdev1.6_ep82:
> ep_device_release called for usbdev1.6_ep82
> Jan  1 00:21:35 blackfin user.debug kernel:  usbdev1.6_ep83:
> ep_device_release called for usbdev1.6_ep83
> Jan  1 00:21:35 blackfin user.debug kernel:  usbdev1.6_ep04:
> ep_device_release called for usbdev1.6_ep04
> Jan  1 00:21:35 blackfin user.warn kernel: zd1211rw: probe of 1-1.1:1.0
> failed with error -110
> Jan  1 00:21:35 blackfin user.debug kernel: usb 1-1.1:1.0: uevent
> Jan  1 00:21:35 blackfin user.err kernel: usb 1-1.1:
> device_add(1-1.1:1.0) --> -110
> Jan  1 00:21:35 blackfin user.debug kernel: hub 1-1:1.0: state 7 ports 3
> chg 0000 evt 0002
> 
> Anybody any idea what's going wrong or where I should start looking?
> Regards,
> Manolo
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
> 

--

-- 
View this message in context: http://www.nabble.com/zd1211rw-on-uclinux-for-blackfin-tp16858107p21276038.html
Sent from the zd1211-devs mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
Manolo van Ee | 16 Jan 2009 21:25
Picon

Re: zd1211rw on uclinux for blackfin

Hi Oleg,

Thanks for notifying me even though I posted my question a long time
ago. The drivers bugtracker does not seem to be very active. I wonder if
it's going to be solved soon.

Do you have any ideas about how to fix this?
Regards,
Manolo

-----Original Message-----
From: _Oleg_ <strelkov <at> macdel-electronics.ru>
To: zd1211-devs <at> lists.sourceforge.net
Subject: Re: [zd1211-devs] zd1211rw on uclinux for blackfin
Date: Tue, 6 Jan 2009 12:34:29 -0800 (PST)

Hi, Manolo!

I know reason of your problem.
I use the same configuration (Blackfin, ISP1761 and WiFI ZyXEL G202 EE with
zd1211rw driver) and
got the same error "intr period 1 uframes".
Other device: USB to Ethernet converter ADMtek ADM8515 gives the same error.
(see my bug report:
http://sourceforge.net/tracker/index.php?func=detail&aid=2485364&group_id=168333&atid=846408
)
This bug presents also in PCI driver. Therefore it is bug of isp1761 driver,
but not zd1211rw.
So I hope this bug will fixed by USB driver author.

Regards,
Oleg.

Manolo van Ee-2 wrote:
> 
> Hi,
> 
> I'm trying to use the zd1211rw driver on a blackfin processor with
> uclinux and the ISP1760 usb controller.
> When I insert a device I get the following:
> 
> Jan  1 00:21:33 blackfin user.info kernel: usb 1-1.1: new high speed USB
> device using isp1761 and address 6
> Jan  1 00:21:33 blackfin user.debug kernel: usb 1-1.1: default language
> 0x0409
> Jan  1 00:21:33 blackfin user.debug kernel: usb 1-1.1: new device
> strings: Mfr=16, Product=32, SerialNumber=0
> Jan  1 00:21:33 blackfin user.info kernel: usb 1-1.1: Product: USB2.0
> WLAN
> Jan  1 00:21:33 blackfin user.info kernel: usb 1-1.1: Manufacturer:
> ZyDAS
> Jan  1 00:21:33 blackfin user.debug kernel: usb 1-1.1: uevent
> Jan  1 00:21:33 blackfin user.debug kernel: usb 1-1.1: usb_probe_device
> Jan  1 00:21:33 blackfin user.info kernel: usb 1-1.1: configuration #1
> chosen from 1 choice
> Jan  1 00:21:33 blackfin user.debug kernel: usb 1-1.1: adding 1-1.1:1.0
> (config #1, interface 0)
> Jan  1 00:21:33 blackfin user.debug kernel: usb 1-1.1:1.0: uevent
> Jan  1 00:21:33 blackfin user.debug kernel: zd1211rw 1-1.1:1.0:
> usb_probe_interface
> Jan  1 00:21:33 blackfin user.debug kernel: zd1211rw 1-1.1:1.0:
> usb_probe_interface - got id
> Jan  1 00:21:33 blackfin user.debug kernel: usb 1-1.1: print_id()
> 0ace:1215 v4810 high
> Jan  1 00:21:33 blackfin user.debug kernel: zd1211rw 1-1.1:1.0:
> zd_netdev_alloc() netdev->flags 0x1002
> Jan  1 00:21:33 blackfin user.debug kernel: zd1211rw 1-1.1:1.0:
> zd_netdev_alloc() netdev->features 0x00000000
> Jan  1 00:21:33 blackfin user.debug kernel: usb 1-1.1: request_fw_file()
> fw name zd1211/zd1211b_ub
> Jan  1 00:21:33 blackfin user.debug kernel: usb 1-1.1: upload_firmware()
> firmware device id 0x4810 is equal to the actual de
> vice id
> Jan  1 00:21:33 blackfin user.debug kernel: usb 1-1.1: request_fw_file()
> fw name zd1211/zd1211b_uphr
> Jan  1 00:21:33 blackfin user.debug kernel: usb 1-1.1: upload_code()
> transfer size 4096
> Jan  1 00:21:34 blackfin user.debug kernel: usb 1-1.1: upload_code()
> transfer size 1024
> Jan  1 00:21:34 blackfin user.debug kernel: usb 1-1.1: upload_code()
> firmware confirm return value 0x01
> Jan  1 00:21:34 blackfin user.debug kernel: zd1211rw 1-1.1:1.0:
> zd_usb_enable_int()
> Jan  1 00:21:34 blackfin user.debug kernel: zd1211rw 1-1.1:1.0:
> zd_usb_enable_int() submit urb 002dc380
> Jan  1 00:21:34 blackfin user.debug kernel: zd1211rw 1-1.1:1.0:
> zd_chip_init_hw()
> Jan  1 00:21:34 blackfin user.warn kernel: intr period 1 uframes,
> Jan  1 00:21:34 blackfin user.debug kernel: zd1211rw 1-1.1:1.0:
> dump_cr() CR_AFTER_PNP 0x00000000
> Jan  1 00:21:35 blackfin user.debug kernel: zd1211rw 1-1.1:1.0:
> zd_usb_ioread16v() read timed out
> Jan  1 00:21:35 blackfin user.debug kernel: zd1211rw 1-1.1:1.0:
> zd_ioread32v_locked() error: zd_ioread16v_locked. Error numb
> er -110
> Jan  1 00:21:35 blackfin user.debug kernel: zd1211rw 1-1.1:1.0:
> dump_cr() error reading CR_GPI_EN. Error number -110
> Jan  1 00:21:35 blackfin user.debug kernel: zd1211rw 1-1.1:1.0:
> zd_usb_disable_int() urb 002dc380 killed
> Jan  1 00:21:35 blackfin user.debug kernel: zd1211rw 1-1.1:1.0: probe()
> couldn't initialize mac. Error number -110
> Jan  1 00:21:35 blackfin user.info kernel: usb 1-1.1: reset high speed
> USB device using isp1761 and address 6
> Jan  1 00:21:35 blackfin user.debug kernel:  usbdev1.6_ep01:
> ep_device_release called for usbdev1.6_ep01
> Jan  1 00:21:35 blackfin user.debug kernel:  usbdev1.6_ep82:
> ep_device_release called for usbdev1.6_ep82
> Jan  1 00:21:35 blackfin user.debug kernel:  usbdev1.6_ep83:
> ep_device_release called for usbdev1.6_ep83
> Jan  1 00:21:35 blackfin user.debug kernel:  usbdev1.6_ep04:
> ep_device_release called for usbdev1.6_ep04
> Jan  1 00:21:35 blackfin user.warn kernel: zd1211rw: probe of 1-1.1:1.0
> failed with error -110
> Jan  1 00:21:35 blackfin user.debug kernel: usb 1-1.1:1.0: uevent
> Jan  1 00:21:35 blackfin user.err kernel: usb 1-1.1:
> device_add(1-1.1:1.0) --> -110
> Jan  1 00:21:35 blackfin user.debug kernel: hub 1-1:1.0: state 7 ports 3
> chg 0000 evt 0002
> 
> Anybody any idea what's going wrong or where I should start looking?
> Regards,
> Manolo
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
> 

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
Stephen Ho | 18 Jan 2009 05:21
Picon

tp-link WN322G

Hi,

I have just got this particular usb wifi dongle. It seems the driver 
just failed with RF MAXIM_NEW_RF 0x8 is not supported. But I am sure 
there is a uw2453 rf inside it, 'cos I have cracked it open. Is there 
anyway to force the RF driver to use? or I have to modify the code and 
compile the driver?

I am running Ubuntu Server with kernel 2.6.22-15-server

Actual error message. "zd1211rw 5-5:1.0: RF MAXIM_NEW_RF 0x8 is not 
supported"

Thanks for your help.

Best regards,
Stephen Ho

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_Oleg_ | 18 Jan 2009 23:32
Picon

Re: zd1211rw on uclinux for blackfin


Hi, Manolo,

I found the same error "intr period 1 uframes" in ISP1761 PCI demo board
from NXP
(ST-NXP Wireless) under x86 Linux. Therefore I hope to get support.

Other idea is use for Blackfin kernel >= 2.6.26.
This version includes new IS1760 USB Host Driver. 
(see
http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=4376
)
I downloaded svn Blackfin uClinux (2.6.28) and are going to test with my USB
to LAN converter and 
WiFI ZyXEL G202 EE with zd1211rw driver.
I can inform you about results.
What is your Blackfin kernel version?

Regards,
Oleg.

Manolo van Ee-2 wrote:
> 
> Hi Oleg,
> 
> Thanks for notifying me even though I posted my question a long time
> ago. The drivers bugtracker does not seem to be very active. I wonder if
> it's going to be solved soon.
> 
> Do you have any ideas about how to fix this?
> Regards,
> Manolo
> 
> 

--

-- 
View this message in context: http://www.nabble.com/zd1211rw-on-uclinux-for-blackfin-tp16858107p21534032.html
Sent from the zd1211-devs mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword

Gmane