OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Network Applet Documentation, want to integrate a USB wifi stick
dproldan
post Jul 23 2006, 01:30 AM
Post #1





Group: Members
Posts: 60
Joined: 1-May 06
From: Málaga, Spain
Member No.: 9,746



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
Go to the top of the page
 
+Quote Post
zmiq2
post Jul 24 2006, 01:27 AM
Post #2





Group: Members
Posts: 385
Joined: 3-December 03
Member No.: 1,038



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
Go to the top of the page
 
+Quote Post
dougeeebear
post Jul 24 2006, 05:21 AM
Post #3





Group: Members
Posts: 551
Joined: 8-July 04
From: Mid-South, USA
Member No.: 3,959



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
Go to the top of the page
 
+Quote Post
dproldan
post Jul 24 2006, 01:09 PM
Post #4





Group: Members
Posts: 60
Joined: 1-May 06
From: Málaga, Spain
Member No.: 9,746



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
Attached File(s)
Attached File  zd1211_cacko_1.2.3_0.0.1_arm.ipk ( 130.4K ) Number of downloads: 207
 
Go to the top of the page
 
+Quote Post
zmiq2
post Jul 25 2006, 12:30 AM
Post #5





Group: Members
Posts: 385
Joined: 3-December 03
Member No.: 1,038



Hi Daniel,

maybe with quotes?:

qcop "QPE/Network" "up()"
Go to the top of the page
 
+Quote Post
ldrolez
post Aug 8 2006, 12:34 AM
Post #6





Group: Members
Posts: 69
Joined: 16-May 06
From: France, Metz
Member No.: 9,882



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.
Go to the top of the page
 
+Quote Post
patrickcptsang
post Aug 16 2006, 02:21 AM
Post #7





Group: Members
Posts: 16
Joined: 16-July 05
Member No.: 7,606



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!
Go to the top of the page
 
+Quote Post
ldrolez
post Sep 6 2006, 10:25 PM
Post #8





Group: Members
Posts: 69
Joined: 16-May 06
From: France, Metz
Member No.: 9,882



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.
Go to the top of the page
 
+Quote Post
scholbert
post Dec 27 2006, 01:12 PM
Post #9





Group: Members
Posts: 48
Joined: 21-November 05
Member No.: 8,576



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
Go to the top of the page
 
+Quote Post
sdjf
post Mar 11 2007, 06:37 AM
Post #10





Group: Members
Posts: 454
Joined: 17-November 05
Member No.: 8,551



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
Go to the top of the page
 
+Quote Post
sdjf
post Mar 23 2007, 04:52 PM
Post #11





Group: Members
Posts: 454
Joined: 17-November 05
Member No.: 8,551



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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th December 2014 - 11:14 PM