waqar sadiq | 13 Aug 2008 08:35
Picon
Favicon

Development effort

AoA,
Can any one give me a rough estimate that how much
effort is involved in developing a USB driver for this
1211 chip for an embedded host? Ofcourse the USB
host/802.11 stacks and HW drivers are already
availble.
If someone claims that it would take him/her just 3/4
months to write a complete driver for this chip then
would it be really possible?

Regards
Waqar

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Kari Kallio | 13 Aug 2008 10:38
Picon

zd1211 and 802.11a for kernel 2.6.24 or newer

Hello

Is there any workable patch for vendor 2.22 driver and kernel 2.6.24 or newer?
I try driver ZD1211LnxDrv_2_22_0_0__2_6_24.tar.gz first, but it doesn't work.

<dmesg>
zd1211: failed intr_urb
Calling zd1211_InitSetup fails
zd1211: probe of 5-5:1.0 failed with error -5
</dmesg>

So I try to fix it by changing usb_fill_bulk_urb functions to usb_fill_int_urb 
and so on, and now it register driver, but ethernet hwaddress is  
00:00:00:00:00:00. And now I have no idea what to do :)

I also try ZD1211LnxDrv_2_22_0_0.working-on-2.6.25.1-but-ugly.diff patch and 
it works as well as my modified driver, it load the driver, but mac is same  
00:00:00:00:00:00 :).

I know there is zd1211rw driver and it works fine, but I really need 802.11a 
and kernel 2.6.24 or newer.

--

-- 
kari.markos <at> gmail.com

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
(Continue reading)

Hin-Tak Leung | 13 Aug 2008 15:10
Picon

Re: zd1211 and 802.11a for kernel 2.6.24 or newer

--- On Wed, 13/8/08, Kari Kallio <kari.markos <at> gmail.com> wrote:
<snipped>
> I also try
> ZD1211LnxDrv_2_22_0_0.working-on-2.6.25.1-but-ugly.diff
> patch and 
> it works as well as my modified driver, it load the driver,
> but mac is same  
> 00:00:00:00:00:00 :).

I have recently upgraded to 2.6.26.2 and the same patch works fine.

Maybe you have a zd1211 chip (rather than the b chip)? 802.11a is a bit old.
and what vid/pid do you have, exactly?

Send instant messages to your online friends http://uk.messenger.yahoo.com 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Kari Kallio | 13 Aug 2008 16:58
Picon

Re: zd1211 and 802.11a for kernel 2.6.24 or newer

On Wednesday 13 August 2008 16:10:14 Hin-Tak Leung wrote:
> > ZD1211LnxDrv_2_22_0_0.working-on-2.6.25.1-but-ugly.diff
> > patch and
> > it works as well as my modified driver, it load the driver,
> > but mac is same
> > 00:00:00:00:00:00 :).
>
> I have recently upgraded to 2.6.26.2 and the same patch works fine.
>
> Maybe you have a zd1211 chip (rather than the b chip)? 802.11a is a bit
> old. and what vid/pid do you have, exactly?

I have two different wlan sticks, one regular A-Link 802.11b/g (vid/pid 
0ace:1215) and the second one is 802.11a/b/g stick from a small company.
Both are with ZD1211B chip (I open these and check it) and these also works 
fine on 2.6.18 kernel.

I add mac address by modifying zd1205.c (line 6293...) and after that I can 
set ethX up, also "iwconfig ethX" display settings and I can change SSID and 
so on, but "iwlist ethX scanning" doesn't do anything except this appear to 
the dmesg:

[30535.380635] jiffies = 8769102, lastSetBusy = 8764972, HZ=250
[30535.473084] ZD1211_TX_BUSY is locked over 5 seconds
[30535.473093] jiffies = 8769127, lastSetBusy = 8764972, HZ=250
[30535.569815] ZD1211_TX_BUSY is locked over 5 seconds
[30535.569825] jiffies = 8769152, lastSetBusy = 8764972, HZ=250
[30535.662237] ZD1211_TX_BUSY is locked over 5 seconds
[30535.662248] jiffies = 8769177, lastSetBusy = 8764972, HZ=250
[30535.764299] Wait too long to start Scanning
(Continue reading)


Gmane