Author Topic: How To Sync With Sl-5500/openzaurus3.5.1/opie1.1.6  (Read 5561 times)

zaurusen

  • Newbie
  • *
  • Posts: 21
    • View Profile
How To Sync With Sl-5500/openzaurus3.5.1/opie1.1.6
« on: January 12, 2005, 04:20:55 pm »
Hi--

I've got an SL-5500 running OpenZaurus 3.5.1 and Opie 1.1.6.

My network settings report that the IP 192.168.129.201 is up on the Ethernet (usbd0) connection.

On the desktop, I'm running FC3 [kernel 2.6.9-1.724_FC3].

I can get a ping to the Zaurus' address, but Qtopia Desktop [v1.7] refuses to connect
for syncing [i.e. red icon in lower right hand corner and greyed-out "sync" options].

Does sync work with this set of hardware/software or is there something that I haven't tried yet?

Thanks in advance for your help!

cyphactor

  • Newbie
  • *
  • Posts: 40
    • View Profile
    • http://zsrep.sourceforge.net
How To Sync With Sl-5500/openzaurus3.5.1/opie1.1.6
« Reply #1 on: January 13, 2005, 01:18:48 am »
Hi zaurusen,

First of all the default IP address for the Zaurus is 192.168.129.201. Hence, your Desktop device IP address should be set to 192.168.129.1. So if you have both the Zaurus IP set to 192.168.129.201 and the Desktop device IP set to 192.168.129.201 then when you ping 192.168.129.201 it is not actually pinging the Zaurus it is pinging itself. So, please make sure that they follow the standard I posted above so that debugging situations like this are easier.

I am not sure about Qtopia Desktop and why it is refusing to connect to the Opie 1.1.6. A long time ago I decided that I wanted a standard way to synchronize my Zaurus with my Linux Desktop. Hence, I started the Zaurus Synchronization Repository (http://zsrep.sourceforge.net). It is a project which in which I reverse engineered the synchronization protocol for the Zaurus (specifically DTM based ROMs). Now I have been developing a Tool which provides synchronization with such Zauri.

So if you were interested in using a Sharp supported ROM and being able to synchronize the Sharp PIM application on your Zaurus with your Linux Desktop you may want to check it out. The only change you would have to make to you Zaurus SL-5500 is that you would have to be using the v3.10 or later Sharp ROM for it.

A long time ago when I was investigating the Qtopia Desktop syncing with Opie PIMs I ran into some posts that claimed problems with certain IPs stating that your Zaurus had to have a specific IP or it wouldn't sync. I am confident that the working IP scheme was the one I discussed above so you may try that. I am looking for as many testers for my project as possible so if you are interested please check it out.

It curretly only supports syncing of the ToDo application with KOrganizer however I have been working on the Address Book synchronization and it is almost ready for release.
-------------------
Handle: cyphactor
E-Mali: cyphactor@socal.rr.com
AIM: HUNNYnNUTTS
WebPage: http://www.cyph.org
-------------------
Project Founder & Lead Developer of
Zaurus Synchronization Reverse Engineering Project
http://zsrep.sourceforge.net
-------------------
Zaurus SL-5600
Sharp ROM 1.32
SanDisk 256 MB SD Card
Linksys WCF12 802.11b CF Card
Sharp CE-ST9 Docking Station
Sharp EA-70S AC Adapter
Sharp CE-SLP1 Stylus
--------------------

zaurusen

  • Newbie
  • *
  • Posts: 21
    • View Profile
How To Sync With Sl-5500/openzaurus3.5.1/opie1.1.6
« Reply #2 on: January 14, 2005, 12:59:01 am »
Quote
Hi zaurusen,

First of all the default IP address for the Zaurus is 192.168.129.201. Hence, your Desktop device IP address should be set to 192.168.129.1. So if you have both the Zaurus IP set to 192.168.129.201 and the Desktop device IP set to 192.168.129.201 then when you ping 192.168.129.201 it is not actually pinging the Zaurus it is pinging itself. So, please make sure that they follow the standard I posted above so that debugging situations like this are easier.

[...]

A long time ago when I was investigating the Qtopia Desktop syncing with Opie PIMs I ran into some posts that claimed problems with certain IPs stating that your Zaurus had to have a specific IP or it wouldn't sync. I am confident that the working IP scheme was the one I discussed above so you may try that. I am looking for as many testers for my project as possible so if you are interested please check it out.
Hi Cyphactor --

"ifconfig usb0" shows that the interface is assigned the 192.168.129.1 address.

And the sl5500 is set to static IP for 192.168.129.201 [subnet mask 255.255.255.0].

When the sl5500 is not in the cradle, or the IP address is changed, it can no longer be pinged.
And pings to both addresses reveal appropriate lag time in the xxx.201 address as compared to
the xxx.1 address, which leads me to believe that the packets are moving down the wire on xxx.201.

When the sl5500 tries to ping the usb0, however, there is no connection.

Thanks for your help so far, Cyphactor. I'll be glad to test your project as soon as I can get the sync working with Qtopia.

Any other ideas on what could be causing this? Anyone?
« Last Edit: January 14, 2005, 01:08:37 am by zaurusen »

cyphactor

  • Newbie
  • *
  • Posts: 40
    • View Profile
    • http://zsrep.sourceforge.net
How To Sync With Sl-5500/openzaurus3.5.1/opie1.1.6
« Reply #3 on: January 14, 2005, 12:18:12 pm »
Hi again zaurusen,

The fact that you now have usb0 coming up as 192.168.129.1 is half the battle. I know that you said your SL-5500 was set to 192.168.129.201/255.255.255.0.

How did you set the IP of your Zaurus?  In Linux syncing over the cradle is done via the usbnet driver. This kernel module (driver) allows for TCP/IP to run over the USB. Hence, in the "Settings" tab of your Zaurus, under the "PC Link" application the Hostname field should be set to "zaurus" (without the quotes), the USB IP field should be set to "192.168.129.201" (without the quotes), and the Connection drop down list should be selected on "USB - TCP/IP (advanced)" (without the quotes). Hence, if any of that info is not set correctly please set it.

The Zaurus is NOT like most PDAs and rightfully neither is it's cradle. The Linux Desktop does not recognize the Cradle itself as a device. Hence, if you were to plug in the cradle while the box was on while running "tail -f /var/log/messages" you would not see anything happen. Also, if you plug your Zaurus (while it is turned off) into the cradle you will not see anything happen. However, when you then turn on your Zaurus you should see messages about it recognizing the Zaurus device and it loading the usbnet kernel module (driver). As you can see, the Linux Desktop is actually detecting the Zaurus as the device and not the cradle.

After the above setup has been done. What is the output of the following commands?

Desktop (with Zaurus in connected cradle):
ifconfig
ping 192.168.129.201

Zaurus (in connected cradle, use the terminal application):
ifconfig
ping 192.168.129.1

Given the above info I will be able to help you better.
-------------------
Handle: cyphactor
E-Mali: cyphactor@socal.rr.com
AIM: HUNNYnNUTTS
WebPage: http://www.cyph.org
-------------------
Project Founder & Lead Developer of
Zaurus Synchronization Reverse Engineering Project
http://zsrep.sourceforge.net
-------------------
Zaurus SL-5600
Sharp ROM 1.32
SanDisk 256 MB SD Card
Linksys WCF12 802.11b CF Card
Sharp CE-ST9 Docking Station
Sharp EA-70S AC Adapter
Sharp CE-SLP1 Stylus
--------------------

zaurusen

  • Newbie
  • *
  • Posts: 21
    • View Profile
How To Sync With Sl-5500/openzaurus3.5.1/opie1.1.6
« Reply #4 on: January 14, 2005, 02:56:36 pm »
Quote
How did you set the IP of your Zaurus?  In Linux syncing over the cradle is done via the usbnet driver. This kernel module (driver) allows for TCP/IP to run over the USB. Hence, in the "Settings" tab of your Zaurus, under the "PC Link" application the Hostname field should be set to "zaurus" (without the quotes), the USB IP field should be set to "192.168.129.201" (without the quotes), and the Connection drop down list should be selected on "USB - TCP/IP (advanced)" (without the quotes). Hence, if any of that info is not set correctly please set it.
I don't see a "PC Link" app in my Settings.

================================
                         Settings
================================

Appearance          Button                City Time

Date/Time              DocTab              Language

Launcher               Light &                Medium
                              Power                  Mount

Network                 Package              Recalibrate
                              Manager

Security                 Shutdown             System Info

================================

That's it... No "PC Link". Am I looking in the wrong place?

cyphactor

  • Newbie
  • *
  • Posts: 40
    • View Profile
    • http://zsrep.sourceforge.net
How To Sync With Sl-5500/openzaurus3.5.1/opie1.1.6
« Reply #5 on: January 16, 2005, 11:24:32 pm »
I am sorry. I thought for a second that you were using one of the Sharp based ROMs with the opie PIM apps installed. Since you are using open zaurus my last message does not apply. I don't remember how to set the USB IP address using OpenZaurus. It has been a while since I used it. Find out how to set it, do so, and then let me know what is going on.
-------------------
Handle: cyphactor
E-Mali: cyphactor@socal.rr.com
AIM: HUNNYnNUTTS
WebPage: http://www.cyph.org
-------------------
Project Founder & Lead Developer of
Zaurus Synchronization Reverse Engineering Project
http://zsrep.sourceforge.net
-------------------
Zaurus SL-5600
Sharp ROM 1.32
SanDisk 256 MB SD Card
Linksys WCF12 802.11b CF Card
Sharp CE-ST9 Docking Station
Sharp EA-70S AC Adapter
Sharp CE-SLP1 Stylus
--------------------