OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Security and Networking => Topic started by: ztep on August 09, 2006, 11:25:21 am

Title: Help With Sparklan 802.11g Cf Card
Post by: ztep on August 09, 2006, 11:25:21 am
Hi,    

After reading the message from hyperaesthetic I have bought a sparklan WCFM-1000 CF card (802.11g - 54Mbps).

I have compiled the driver from the source successfully and copied them to my Zaurus C3100 (cacko 1.23 ROM).

I have added a file /etc/pcmcia/sparklan.conf with this content (following the instructions in the source code):

Code: [Select]
device "cf8385"
  class "network" module "cf8385"

card "SparkLAN WCFM-100 802.11g 54Mbps"
        manfid 0x02df, 0x8103
        bind "cf8385"

With this configuration, the card is recognized and the module is loaded. But the card is classified by the network applet as a LAN card.  

Anyway, with this configuration there is a network interface called 'eth0' with wireless extensions. I have used the command line (iwconfig, etc) to connect the zaurus with my 802.11g only AP at 54 Mbps. (although sometimes the zaurus is blocked when the card is extracted)

The question is: how can I configure the network applet to detect the card as a wifi card?

I have tried changing the class to 'sparklan' and adding a /etc/pcmcia/sparklan file with the same content that /etc/pcmcia/spectrum, that is:

Code: [Select]
#!/bin/sh
#
export WIRELESS_USE=$0
./network $*
exit $?

This time the network applet does not recognize the card as a network one (neither wifi nor lan).

Searching in the forum I have read that there was a similar problem with spectrum cards before cacko v1.23. But I cannot find what is the solution.

Someone knows how to solve it?

Thanks

Meantime, I will test if other things like WEP, WPA, etc work with this card
Title: Help With Sparklan 802.11g Cf Card
Post by: sidmoraes on August 09, 2006, 02:53:46 pm
Quote
[code]
device "cf8385"
  class "network" module "cf8385"

card "SparkLAN WCFM-100 802.11g 54Mbps"
        manfid 0x02df, 0x8103
        bind "cf8385"

Change 'class "network"' to 'class "hostap"', and be happy.

Can you send to me this module?

I am trying to purchase this card, but nobody send to my country. Did you can send to me? How can you do?
Title: Help With Sparklan 802.11g Cf Card
Post by: ztep on August 11, 2006, 04:51:55 am
Quote
Change 'class "network"' to 'class "hostap"', and be happy.

Can you send to me this module?

I am trying to purchase this card, but nobody send to my country. Did you can send to me? How can you do?

Perhaps I have been too optimist,  the driver has problems when suspend/resume cicles. I'm looking in the source code.

About changing the class to 'hostap', it doesn't work: The network is conected (I can do a ping on console), but the applet remains saying  'Initialiting...' and I cannot use netfront because it said that the network is not connected.

When I'll solve the problems (perhaps I should say 'if I'll solve' but I'm still optimist), I'll post a ipk with the module and configuration files.

Regards,
ztep
Title: Help With Sparklan 802.11g Cf Card
Post by: ztep on August 24, 2006, 04:13:14 am
After 2 weeks of work (partial time), I haven't solved the problems with the card suspend/resume.
The compiled driver only works in limited situations and never with the network applet.

My knowledge of linux drivers is too limited, so I must conclude that I cannot solve this problem.

I'll wait until someone with more knowledge or experience will work on this driver.
Title: Help With Sparklan 802.11g Cf Card
Post by: mikekostousov on November 03, 2006, 08:56:53 pm
Did you get wpa worked?
Title: Help With Sparklan 802.11g Cf Card
Post by: ztep on November 06, 2006, 02:48:49 am
Quote
Did you get wpa worked?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=145539\"][{POST_SNAPBACK}][/a][/div]
As i told in my previous message, I leave this project without exit.
Title: Help With Sparklan 802.11g Cf Card
Post by: ephesians521 on February 25, 2007, 10:32:48 am
Quote
Change 'class "network"' to 'class "hostap"', and be happy.

Can you send to me this module?

I am trying to purchase this card, but nobody send to my country. Did you can send to me? How can you do?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=137983\"][{POST_SNAPBACK}][/a][/div]

This card is also available under a different label at www.meritline.com ...  currently $35(US).  Don't know what shipping to Brazil would be.

Rick
C3200 (Cacko )
Title: Help With Sparklan 802.11g Cf Card
Post by: distortion on March 06, 2007, 05:46:40 am
ztep, could you give a few details on your driver?
Is it compiled from the source supplied by sparklan?
I am guessing it is compiled using the sharp kernel source?
I am also guessing it is a firmware loader and not a complete driver?
If you can clarify these and any other points you had in building the driver it would be a big help as I am about to try the same.
Thanks,
Stan
Title: Help With Sparklan 802.11g Cf Card
Post by: ephesians521 on March 07, 2007, 11:53:52 pm
Quote
ztep, could you give a few details on your driver?
Is it compiled from the source supplied by sparklan?
I am guessing it is compiled using the sharp kernel source?
I am also guessing it is a firmware loader and not a complete driver?
If you can clarify these and any other points you had in building the driver it would be a big help as I am about to try the same.
Thanks,
Stan
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155531\"][{POST_SNAPBACK}][/a][/div]

I just purchased this card myself.  It appears to be a real driver ... just like for the other Marvell chips - but I'm having some difficulty compiling it.  Still not sure if it's a configuration issue in the Makefile or system.

For those that are having a hard time.. attached is the driver from the sparklan site.  Note: I haven't found any statement of what licence it is yet.
Title: Help With Sparklan 802.11g Cf Card
Post by: sdjf on March 12, 2007, 10:30:10 am
AFAIK, nothing is going to work properly with the Qtopia applets unless you tell Qtopia what you are doing by sending qcop messages to the Network channel.

See what I wrote in another thread about commandline connections:

https://www.oesf.org/forums/index.php?showtopic=21828 (https://www.oesf.org/forums/index.php?showtopic=21828)

Also, get qcoptest as a tool to monitor and debug what is going on.  URLs for it's home page and downloads is in my writeup at http://www.sdjf.esmartdesign.com/ipks/qcoptest.html (http://www.sdjf.esmartdesign.com/ipks/qcoptest.html)


It sounds like you need to make sure Qtopia knows what kind of card you have.  I would use whatever GUI your ROM provides for making sure of this, in addition to whatever other code you need to write.

On my totally different Sharp ROM, that is called "Internet Wizard", and it sets up a config file for Qtopia's network applet to access.

HTH,
sdjf
Title: Help With Sparklan 802.11g Cf Card
Post by: qaz on April 18, 2007, 01:11:07 pm
Hello, I just got one of those damn cards   (Pretec). I am trying to compile driver native on pdaxii3, an it is no-go. Ztep, can you give some tips how did you menage to compile driver?

Thanks
Title: Help With Sparklan 802.11g Cf Card
Post by: ztep on April 30, 2007, 05:57:33 am
Quote
Hello, I just got one of those damn cards   (Pretec). I am trying to compile driver native on pdaxii3, an it is no-go. Ztep, can you give some tips how did you menage to compile driver?

Thanks
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159205\"][{POST_SNAPBACK}][/a][/div]

All my tries were using Cacko kernel and sharp developement system. So I cannot help you.
Title: Help With Sparklan 802.11g Cf Card
Post by: sdjf on April 30, 2007, 11:13:06 am
Same issue has come up at tyrannozaurus, and Antikx offered to compile driver for
another CF card from "Pretec" which must support 802.11g and WPA.

I'll tell Antikx about this oesf thread. The tyrannozaurus one is:

 http://www.tyrannozaurus.com/?q=node/792 (http://www.tyrannozaurus.com/?q=node/792)

sdjf
Title: Help With Sparklan 802.11g Cf Card
Post by: Ritalin on May 01, 2007, 01:33:56 pm
Hi!

I just bought a new WLAN card for the CF slot of my Zaurus C3200 which I use these days with Cacko 1.23

The card is from "Pretec" and should support 802.11g and WPA.

The company mailed me the driver some days ago but it still needs to be compiled against the kernel. I mailed it to Anton Maslovsky, but he has no time to work on this.

I put the zip-file with all the necessary descriptions and sources in the empty (never used) directory of my homepage:

http://home.arcor.de/oliver.zimmermann/driver_linux.zip (http://home.arcor.de/oliver.zimmermann/driver_linux.zip)

Please feel free to download it and to play with it. I would be glad if anybody would come up with the kernel modules needed for the various distributions (most favourably Cacko).

Cheers Oliver
Title: Help With Sparklan 802.11g Cf Card
Post by: flowersrj on August 01, 2007, 09:37:34 pm
Hi,

Any update on getting the complied driver?

 I have this card too and would like to use with a sl-5500...

Rich
Title: Help With Sparklan 802.11g Cf Card
Post by: sdjf on August 03, 2007, 04:34:38 pm
Rich, I believe you have to get a driver compatble with your model and ROM.  No guarantees they will work otherwise.  I think Antikx gave up, running into compilation errors he could not resolve, although I am not positive.  But he has a Cxxxx not an sl5xxx and uses pdaXrom.  which rom is on your Z now?

sdjf
Title: Help With Sparklan 802.11g Cf Card
Post by: zthird on April 03, 2009, 06:47:35 pm
you might want to look here http://projects.linuxtogo.org/projects/marvell8385/ (http://projects.linuxtogo.org/projects/marvell8385/)
Title: Help With Sparklan 802.11g Cf Card
Post by: pelrun on April 03, 2009, 08:13:43 pm
Why did you resurrect five different threads, all years old, just to say the exact same thing? Bad doggy, no biscuit.