Author Topic: PC Link/ qtsamba  (Read 2203 times)

highfell

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
    • http://
PC Link/ qtsamba
« on: March 15, 2004, 04:28:35 pm »
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
SL 5500 128 CF card ; Bluetooth Anycom CF
TKR v1.0 Cacko Kernel 32/30 memory layout

doseas

  • Full Member
  • ***
  • Posts: 207
    • View Profile
    • http://
PC Link/ qtsamba
« Reply #1 on: March 15, 2004, 05:30:30 pm »
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.

highfell

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
    • http://
PC Link/ qtsamba
« Reply #2 on: March 16, 2004, 03:31:42 am »
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
SL 5500 128 CF card ; Bluetooth Anycom CF
TKR v1.0 Cacko Kernel 32/30 memory layout

doseas

  • Full Member
  • ***
  • Posts: 207
    • View Profile
    • http://
PC Link/ qtsamba
« Reply #3 on: March 16, 2004, 07:57:08 pm »
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