Palm on Linux

Install the Linux software
To install the pilot-link command-line utilities page and the JPilot GUI program:

mount linstall.scd.ucar.edu:/install /mnt
cd /mnt/rh7.2/RedHat/RPMS
rpm -i pilot-link-0.9.5-8.i386.rpm
rpm -i jpilot-0.99-7.i386.rpm
ln -s /dev/ttyS0 /dev/pilot
chmod 666 /dev/ttyS0
Also, get the pilot-link-0.9.5 sources in the usual way, so I can look for ideas.

Set up the PC serial port

ln -s /dev/ttyS0 /dev/pilot
chmod 666 /dev/ttyS0
Tell jpilot the speed to use
Add this to the .bashrc file:
export PILOTRATE=115200
Set a user name and id in the Palm
install-user /dev/pilot "Pete Siemsen" 042659a
Note that when you do this, it will confuse the Palm Desktop software the next time yeu use it. You'll have to create a new user named "Pete Siemsen" in Palm Desktop.

Basic operations

To see a list of pilot-link command-line utilities

man pilot-link

To see a list of the things that are in the Palm, do

pilot-xfer -l

To back up the pilot into the /home/siemsen/pilot directory, I did

mkdir ~/pilot
pilot-xfer --backup ~/pilot/Backup

To copy the Address.pdb file from the Palm to the laptop (this often fails with "Failed, unable to back up database", dunno why):

pilot-xfer --fetch AddressDB

To copy an Address.pdb file from the laptop to the Palm:

pilot-xfer --install AddressDB.pdb

To update the Palm with NETS Contacts data:

srcdir=~/pilot/xxx
pilot-xfer --backup $srcdir
~/c2p/scan-contacts.pl -s -i $srcdir/AddressDB.pdb
pilot-xfer --install /tmp/AddressDB.pdb

To update the Palm with Personal data:

pilot-xfer --backup ~/pilot/Backup
~/c2p/scan-contacts.pl -s -c Personal \
-h /usr/web/nets/intro/staff/siemsen/internal/contacts.html
pilot-xfer --install /tmp/AddressDB.pdb

Configure Jpilot
Do File->Preferences. Click the Settings tab. Set the Serial Port to /dev/pilot. Set the Serial Rate to 115200. Click the Conduits tab. Turn off Sync Expense and leave the others on.


Address comments or questions about this Web page to the Network Engineering & Technology Section at nets-www@ncar.ucar.edu. The NETS is part of the Scientific Computing Division of the National Center for Atmospheric Research, which is part of the University Corporation for Atmospheric Research.
Last modified: Tue Jul 1 11:22:56 MDT 2003