OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Qt/Qtopia => Topic started by: dproldan on July 23, 2006, 05:30:12 am

Title: Network Applet Documentation
Post by: dproldan on July 23, 2006, 05:30:12 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.

  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
Title: Network Applet Documentation
Post by: zmiq2 on July 24, 2006, 05:27:36 am
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
Title: Network Applet Documentation
Post by: dougeeebear on July 24, 2006, 09:21:35 am
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
Title: Network Applet Documentation
Post by: dproldan on July 24, 2006, 05:09:19 pm
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  

  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
Title: Network Applet Documentation
Post by: zmiq2 on July 25, 2006, 04:30:19 am
Hi Daniel,

maybe with quotes?:

qcop "QPE/Network" "up()"
Title: Network Applet Documentation
Post by: ldrolez on August 08, 2006, 04:34:23 am
Quote
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=136143\"][{POST_SNAPBACK}][/a][/div]
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.
Title: Network Applet Documentation
Post by: patrickcptsang on August 16, 2006, 06:21:53 am
Quote
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.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=136143\")

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

Source: [a href=\"http://www.atheros.com/RD/ZyDAS/web_driver/ZD1211B/Linux/ZD1211LnxDrv_2_15_0_0.tar.gz]http://www.atheros.com/RD/ZyDAS/web_driver...2_15_0_0.tar.gz[/url]

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

Many thanks!
Title: Network Applet Documentation
Post by: ldrolez on September 07, 2006, 02:25:01 am
Quote
  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.
Title: Network Applet Documentation
Post by: scholbert on December 27, 2006, 04:12:15 pm
Hi there,

Quote
Quote
  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.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
 (http://index.php?act=findpost&pid=140899\")

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 [a href=\"http://ldrolez.free.fr/software/zaurus/]webpage[/url]. 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  
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   .

@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
Title: Network Applet Documentation
Post by: sdjf on March 11, 2007, 10:37:23 am
Quote
Hi Daniel,

maybe with quotes?:

qcop "QPE/Network" "up()"
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=136320\")

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

[a href=\"http://www.sdjf.esmartdesign.com/ipks/qcoptest.html]http://www.sdjf.esmartdesign.com/ipks/qcoptest.html[/url]

Good luck!
sdjf
Title: Network Applet Documentation
Post by: sdjf on March 23, 2007, 08:52:15 pm
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 (http://www.sdjf.esmartdesign.com/ipks/qcop.html)

sdjf