Help - Search - Members - Calendar
Full Version: Network Applet Documentation
OESF Forums > Distros, Development, and Model Specific Forums > Everything Development > Qt/Qtopia
dproldan
Hello

I have, surprisingly, been able to compile the zd1211 driver for a USB stick I have for use with Cacko on my SL-C1000.

It works perfectly, loading the module when I insert the stick, and I can connect to my WEP wireless lan with a little script I wrote calling ifconfig and iwconfig.

The problem is that the Newtork applet in Cacko doesn't realize that a network device has been inserted, it doesn't give me the option to tap the "connect" button.

It shouldn't be a big problem, but the mail application says that no connection is active, even if I can surf the web with Opera.

Is there some kind of documentation explaining how the network applet works? Where does it look for a network device? any Qtopia guru can help?

Thank you

dproldan
zmiq2
As a workaorund, you can try this:

in order to make your qtopia environment know that youare connected, type the command in a console:

# qcop QPE/Network 'up()'

and then the email program should work.

HTH
dougeeebear
dproldan,
I would be interested in that driver and script if it would work with the stock sharp rom 1.01 JP on SL-C1000.
Would you mind sharing, and how do you install it?

Thanks, Doug
dproldan
Gracias zmiq2, that command didn't work for me, I will try later with more time. The qcop hint was very helpful anyway.

dougeeebear

I made a ipk with the driver, the script and an icon for launching it. I have only tested it with Cacko 1.23 in a SL-C1000, use it at your own risk ph34r.gif

After installing, edit the file /opt/QtPalmtop/bin/zd1211script and modify all the YOUR_ESSID, YOUR_WEP_KEY, YOUR_IP, YOUR_NETMASK and YOUR_GATEWAY with your own data.

You can now plug the USB stick, its LED should turn on for a few seconds and turn off. You will probably need a powered USB hub.

Tap the Initialize USB Wifi in the Network tab, and you should be connected in a couple of seconds.

Let me know it you can make it work!

Daniel
zmiq2
Hi Daniel,

maybe with quotes?:

qcop "QPE/Network" "up()"
ldrolez
QUOTE(dproldan @ Jul 23 2006, 11:30 AM)
Hello

  I have, surprisingly, been able to compile the zd1211 driver for a USB stick I have for use with Cacko on my SL-C1000.
*

Hi !

What's your USB stick model ? I've tried two USB sticks but, the power consumption is too high for the Zaurus so they don't work properly... :-(
Cheers,
Ludovic.
patrickcptsang
QUOTE(dproldan @ Jul 23 2006, 05:30 PM)
Hello

  I have, surprisingly, been able to compile the zd1211 driver for a USB stick I have for use with Cacko on my SL-C1000.
*


Would you be kind enough to also compile for zd1211b (for Cacko/Sharp ROM) since it's much easier to find zd1211b dongles now! smile.gif
I'm about to buy such a dongle if the driver is available!

Source: http://www.atheros.com/RD/ZyDAS/web_driver...2_15_0_0.tar.gz

Or, kindly tell me how you compile the zd1211 driver biggrin.gif
(since I've tried but obviously unsuccessful! sad.gif )

Many thanks!
ldrolez
QUOTE(dproldan @ Jul 24 2006, 11:09 PM)
  Let me know it you can make it work!


No luck for me :-(
My device ids are 0ace:1211.
I can't associate to any network and 'iwlist scan' returns nothing.
Also 'iwconfig wlan0 channel 11' gives me an 'invalid argument' error.
The only clues I have are 'Tx status: -110' log messages in the console.

Do you have the module with debug enabled ?

Cheers,

Ludovic.
scholbert
Hi there,

QUOTE(ldrolez @ Sep 7 2006, 07:25 AM)
QUOTE(dproldan @ Jul 24 2006, 11:09 PM)
  Let me know it you can make it work!


No luck for me :-(
My device ids are 0ace:1211.
I can't associate to any network and 'iwlist scan' returns nothing.
Also 'iwconfig wlan0 channel 11' gives me an 'invalid argument' error.
The only clues I have are 'Tx status: -110' log messages in the console.

Do you have the module with debug enabled ?

Cheers,

Ludovic.
*



These are my experiences with a Yakumo Quickwlan USB 54 (zd1211b).
I first started with the original driver from atheros webpage, but i wasn't able to get it compiled for 2.4.20 cacko.
So i took the the source code from ldrolez's webpage. Thanks for that, ldrolez!
After i modified the Makefile to fit to my environment, it compiled well using the cacko toolchain and the cacko 2.4.20 kernel sources.
Result -> zd1211b.o biggrin.gif
Then i took the Yakumo USB stick, grabbed my C3100 and gave it a try.
When the device was connected directly to usb port of z the 5V USB voltage dropped to 2.6V. So this is not a suitable solution.
Although the voltage dropped that low i was able to scan for wireless network.
Connecting failed!

Next i made some measurements of the power consumption of the stick on an embedded device with stabilized 5V.
Without a driver loaded it consumed about 65mA.
After loading the driver the power consumption rised to ~180mA.
During network scan it again rised up to ~195mA.
All values refer to stabilized 5V.

I'm sure these values can be taken for similar sticks (using the ZD1211b).
I will do further experiments and post it here if you like smile.gif .

@dproldan:
Which sources did you use?
As long as there are difficulties with attachments in here, would you please post the scripts directly, to verify my settings?

Regards,

scholbert
sdjf
QUOTE(zmiq2 @ Jul 25 2006, 12:30 AM)
Hi Daniel,

maybe with quotes?:

qcop "QPE/Network" "up()"
*


You may also want to monitor what is going on with a neat app called qcoptest which logs qcop messages, and enables you to 'test' whether your messages are effective.

Also, some odd apps may use qpe/Network instead of QPE/Network, so you could try that. Channel names appear to be case-sensitive.

I talked more about qcoptest, including it's home page url and a few download urls, etc, at

http://www.sdjf.esmartdesign.com/ipks/qcoptest.html

Good luck!
sdjf
sdjf
Another possibility is if your version of qcop will not recognize command-line messages.

You could also try installing a compatible version of qcop2, which I have discussed a little and given it's home page urls, etc. at:

http://www.sdjf.esmartdesign.com/ipks/qcop.html

sdjf
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.