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

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> PC Link/ qtsamba
highfell
post Mar 15 2004, 01:28 PM
Post #1





Group: Members
Posts: 63
Joined: 15-December 03
From: UK
Member No.: 1,185



At work I run NT and therefore I have to use a serial connection rather than USB in order to sync or file transfer between my laptop and my Zaurus.

Using TKR or Sharp 3.1 I can connect between the two of them.

I have tried OZ or Hybrid Rom but have not been able to connect with my laptop. The reason seems to be that with TKR or Sharp Rom it has an application called PC Link within which there is a 'connection button' and this toggles between a Serial or USB I/O or USB TCP/IP connection. Under OZ, there is no PC link application but the only equivalent seems to be 'Security', which has a variety of options but not a Serial one.

So the first question is has anyone synchronised serially (rather than USB) with NT using OZ?

I have done undercover research and discovered that the command within the Console that is actually 'PC Link' is 'qtsamba'.

Ah I thought I will try and run that under OZ. I did but discovered that this command calls upon the library 'libzdtm.so', although on checking further 'libzdtm.so' is actually a 'link file' to the actual library file called 'libzdtm.so.1.0.0 !!

(Within /usr/QtPalmtop/lib there are actually three link files as follows (presumably these are all included for compatability with 'libzdtm.so.1.0.0' being the latest version) :

'libzdtm.so' to 'libzdtm.so.1.0.0'
'libzdtm.so.1' to 'libzdtm.so.1.0.0'
'libzdtm.so.1.0' to 'libzdtm.so.1.0.0')

Using Advanced file manager I can copy the actual library file 'libzdtm.so.1.0.0' to my CF disk (to use later with OZ) but I cannot copy these link files, although I can add them to documents (whatever that means).

So the next question is, is it possible to create a link file as above. I know how to create symlnks but this is different.

Third question is, if I can do all of the above and run qtsamba under OZ will it create the serial connection that I need !

Thanks


Nigel Bamber
Go to the top of the page
 
+Quote Post
doseas
post Mar 15 2004, 02:30 PM
Post #2





Group: Members
Posts: 207
Joined: 7-July 03
From: Thousand Oaks, CA
Member No.: 9



The PC Link (qtsamba) app is only for connecting via the Sharp 3.x ROM drivers. The sync program will only work with the DTM-database version of the PIM apps.

The reason you can't create the symbolic links on your CF card is that most likely your CF card is formatted as FAT filesystem, which doesn't support symbolic links. If you are simply copying a library there, with the intent of putting it back in RAM storage, or later putting it on a EXT formatted SD card, then it is only necessary to copy the real file (libzdtm.so.1.0.0). Later, you can relink it to create the aliases. It is common in Linux for a library to be named with the minor version (.so.1.0), and have symbolic links as aliases for major versions (.so.1), or no version at all (.so). This allows the program developer to specify a specific rev, if they require the features of that rev, but also to be more generic & work with different revs of a library.
Go to the top of the page
 
+Quote Post
highfell
post Mar 16 2004, 12:31 AM
Post #3





Group: Members
Posts: 63
Joined: 15-December 03
From: UK
Member No.: 1,185



QUOTE
If you are simply copying a library there, with the intent of putting it back in RAM storage, or later putting it on a EXT formatted SD card, then it is only necessary to copy the real file (libzdtm.so.1.0.0). Later, you can relink it to create the aliases.  



Which I was. But I don't know how to create one of the aliases from scratch e.g. 'libzdtm.so' ?

Is it just a text file with nothing in it, from which you link to the real file?

Nigel Bamber
Go to the top of the page
 
+Quote Post
doseas
post Mar 16 2004, 04:57 PM
Post #4





Group: Members
Posts: 207
Joined: 7-July 03
From: Thousand Oaks, CA
Member No.: 9



The way to do it is with this command in a Linux shell:
ln -s src_file dest_file

So, you'll need to do something like the following (note: # and text following it are comments, not to be typed):
su # only root can write to the dir
cd /home/QtPalmtop/lib # /usr/QtPalmtop/lib is in ROM on Sharp ROM; /home/* is writeable
ln -s /home/QtPalmtop/lib/libzdtm.so.1.0.0 /home/QtPalmtop/lib/libzdtm.so.1.0
ln -s /home/QtPalmtop/lib/libzdtm.so.1.0.0 /home/QtPalmtop/lib/libzdtm.so.1
ln -s /home/QtPalmtop/lib/libzdtm.so.1.0.0 /home/QtPalmtop/lib/libzdtm.so
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: 27th August 2014 - 03:03 AM