Synchronize your Palm TX with J-Pilot

Blabla - the boring part

This tutorial can probably apply to different Palm handhelds, but the only one I've tried it with is the TX.

Feel free to use the information here, but I refuse to be held responsible for anything that goes wrong. What I write down here is what worked for me. It's mostly a compilation of bits of information scraped together from various places on the internet, with some experimentation of myself thrown in to get it all working.

Have backups.

I use Gentoo, if you use another distribution this should also work, although some files might be in different locations. Consult your distro's documentation. This guide was written quite a while ago (August 18, 2007 to be precise). As such, version numbers can and probably will be out of date. I consider that to be trivial details :-)

Prerequisites - you need this

  • Kernel 2.6 (with specific options, see further)
  • udev
  • NPTL
  • pilot-link (optional? Not sure, but I doubt it)
  • [optional] gnome-pilot
  • [optional] evolution
  • [optional] jpilot

Setting it up - finally doing something

Device Drivers --> USB Support --> USB Serial Converter support
    <M>    USB Serial Converter support
    [ * ]        USB Generic Serial Driver
    ...
    <M>        USB Handspring Visor / Palm m50x / Sony Clie Driver
venefyxatu@necronomicon ~ $ getconf GNU_LIBPTHREAD_VERSION
NPTL 2.5
venefyxatu@necronomicon ~ $ /usr/sbin/lsusb
Bus 001 Device 001: ID 0000:0000  
Bus 002 Device 015: ID 0830:0061 Palm, Inc.
<snip>
BUS=="usb", SYSFS{product}=="Palm Handheld", KERNEL=="ttyUSB[13579]", NAME="pilot", GROUP="usb", MODE="0770"
venefyxatu@necronomicon ~ $ ls -lh /dev/pi*

crwxrwx--- 1 root usb 188, 1 Aug 18 14:47 /dev/pilot
venefyxatu@necronomicon ~ $ pilot-xfer --port /dev/pilot -l


   Listening to port: /dev/pilot


   Please press the HotSync button now... Connected

Reading list of databases in RAM...
<snip>
List complete. 252 files found.

Time elapsed: 0:00:02
  1. Connect the Palm via the cable
  2. On your computer, start the application to synchronize with
  3. Press the HotSync button on the cable or in the HotSync application on your Palm
  4. On your computer, give the application you're using the synchronize command.
  5. Tah-dahh!

About the udev rule

First of all, a great reference if you want to know more about it is this website :

http://reactivated.net/writing_udev_rules.html

.
What's important is that all the match keys (the ones with two equals signs : "==") combined can uniquely identify your Palm.
The different keys in my example line and what they mean are :



Comments and corrections

They're always welcome ... feel free to e-mail me on venefyxatu /at/ gmail {dot} com