I rely heavily on my Handspring Visor because my memory is about as good as Bill Clinton’s morals – nonexistent.Ã‚Â Therefore getting my Palm desktop back up and running was a major priority.Ã‚Â As with the rest of the system, I give priority to native Linux applications before I start looking at WINEing winders apps.Ã‚Â That philosophy cost me about 8 hours.
Though it is apparently quite popular, I have never used Outlook, being quite happy with the stock Palm PIM desktop that came with my Visor and Palm devices.Ã‚Â Not knowing that Evolution is an Outlook clone, not realizing what Outlook did and really crappy documentation conspired to waste a work day.
First let’s look at how the Palm system works.Ã‚Â In windoze you don’t have to know this because the installer sets everything up nicely and you never worry about it – until it breaks.Ã‚Â Then, because you were unfamiliar with how it works, it is very difficult to repair a Palm installation.Ã‚Â Most folks just re-install from scratch from the distribution disc.
In Ubuntu, you DO have to know a little about how the system works.Ã‚Â In return, you have that knowledge that comes in handy when you have to fix something or change how things work.
The essence of the palm system is the HotSync, implemented in the HotSync Manager.Ã‚Â This is a daemon (a daemon is a program not attached to a screen) that sits there waiting on a HotSync command from the Palm.Ã‚Â When that happens, the Manager looks at Palm DataBase files (.pdb) for each application (calendar, phone book, etc) and determines the differences.Ã‚Â It synchronizes the two databases to be alike by moving new information in whichever direction it needs to go and deleting information that has been deleted on one end or the other.Ã‚Â When changes conflict – say, you update a phone record on your palm while your secretary is deleting that same record, the HotSync Manager asks what to do.
Physically, the .pdb files sit in special places on both the handheld and the computer.Ã‚Â When you make a change in the desktop or in Outlook, it simply changes the appropriate .pdb file.Ã‚Â That’s all.Ã‚Â Same thing happens on the handheld.Ã‚Â The HotSync Manager takes care of moving the data back and forth.
Within the manager are virtual connections called “conduits”.Ã‚Â There is a conduit for the phone book and another for the calendar and another for the memo pad.Ã‚Â In fact, every application that runs on the handheld and needs to move data back and forth between a PC application has to install a conduit within the HotSync Manager.Ã‚Â Think of a conduit as a pipe that lets data flow back and forth.Ã‚Â A very smart pipe.
There are actually three programs on the PC.Ã‚Â The user interface (Palm desktop or Outlook, etc), the HotSync Manager (HSM) and the Alarm manager.Ã‚Â The Alarm Manager (AM)does what it says, watches the calendar and generates those little windows that alert you to an appointment.
You don’t normally see the HSM or the AM because they get installed as part of the Palm Desktop installation and because they run in the background.Ã‚Â Since they came from one company, they’re tightly integrated.Ã‚Â It doesn’t necessarily have to be that way and in Ubuntu it isn’t.
Ubuntu comes with a HotSync Manager called GNOME-palm (badly misnamed).Ã‚Â It plops files from the handheld in a special place, keeps the files in sync with the handheld and that’s all.Ã‚Â It is up to the users to supply the User Interface/PIM application.
The above paragraph, had it been stated somewhere that I could have read, would have saved hours and hours of work.Ã‚Â Under system->Preferences on the desktop I see an entry named PalmOS devices.Ã‚Â I kept looking under that tab for the familiar Palm Desktop to no avail.Ã‚Â All I found was a setup screen for a HSM, though it isn’t called that and for awhile I didn’t realize that it WAS an HSM.Ã‚Â So I went out on the web.Ã‚Â I found this  which is the HSM, though it hadn’t dawned on me yet.Ã‚Â Remember windows-think: Applications are integrated and from one publisher.
i searched some more and found JPilot .Ã‚Â It is available using the Synaptic Package Manager (system->administration->synaptics package manager) so I downloaded and installed it.Ã‚Â It looks a lot like the winders Palm desktop, though the graphics are crude.Ã‚Â It fired off a hotsync (after much work, discussed later) but no data appeared.Ã‚Â The problem turned out to be that it is designed to work with a different hotsync manager than gnome-pilot.Ã‚Â Arggghhhhh.
Here’s an important concept.Ã‚Â Gnome desktop runs on top of X which runs on top of Linux.Ã‚Â programs that have a GUI don’t necessarily have to use Gnome.Ã‚Â They can use an alternative desktop or they can be native X applications.Ã‚Â Jpilot is a native X application and knew nothing of Gnome Desktop or its facilities.
Now I could have hacked the config file for this app and made it work but remember, I’m doing this upgrade to Linux as a user and not a guru.Ã‚Â So I de-installed Jpilot.
I took a break to check email in Evolution and noticed the “Contacts” button again.Ã‚Â “Hmmm” I says.Ã‚Â I clicked it, expecting to see my nicely imported Agent email address list and….
An utter mess.Ã‚Â All the phone book info from my palm was there munged in with my email addresses.Ã‚Â When the names were the same, apparently Gnome-Palm (or Evolution, who knows) thought that it would be cute to throw away the pre-existing data.Ã‚Â Arrrrrrghhhh.
But the light went on.Ã‚Â Evolution is the PIM for Gnome.Ã‚Â Damn.Ã‚Â OK, delete that mess and start over.Ã‚Â I created two contact databases in Evolution, one named “Palm” and the other named “Email”.Ã‚Â Maybe one day I’ll merge then but not now.Ã‚Â Besides, I like to keep my real world and my net life separate.
OK, import agent.csv into the “Email” box and then go look at the Gnome-Palm HSM to see how to sync with the Palm database.Ã‚Â Found it.Ã‚Â Set the HSM to do an initial action of “copy data from Palm”, ran the hotsync and things were as I wanted them – emails in the “Email” contact list database and Palm stuff in the “Palm” one.Ã‚Â Only 8 hours after I started.
The Gnome-Palm HSM
This crufty little fellow deserves a whole post but I’m going to include him here.Ã‚Â I’m getting tired :-(
You access it via System->Preferences->PalmOS Devices.Ã‚Â Click on that and a little screen like this pops up
Except that the entry for MyPDA won’t be there. Do NOT click “ADD” (the logical thing to do) unless you want to be highly confused.Ã‚Â Click the “DEVICES” tab and see this
Except that again you won’t see a Cradle USB entry.Ã‚Â That’s what you want, however, so now click “ADD” and see this
Here we have a true Guru moment.Ã‚Â If you’re like 99% of the PalmÃ‚Â users, you use a USB interface to your computer so click the USB box.Ã‚Â The timeout defaults to 2 seconds.Ã‚Â Set that up a bit to 15 seconds.Ã‚Â The “Device” is the tricky one.Ã‚Â If you click on the drop down tab you’ll see something like this:
WTF?, right? Well, after hours of experimenting, googling the web, getting conflicting advice and finally tracing part of my problem to trying to connect via a hub (didn’t work), I found that “usb:” is the correct device.Ã‚Â It is a virtuilized version of the next two, depending on where the USB cable is plugged. If you’re using a serial cradle or cable then /dev/pilot is the correct option.
Leave the “Speed” alone.Ã‚Â Click OK and you’re done there.
NOW you can click the PDA tab and “ADD”.Ã‚Â You’ll see this:
“Owner” will be whatever name you entered when you installed Ubuntu.Ã‚Â Later the name you use on your PDA will show up here.Ã‚Â Before doing anything else, connect your cradle to a USB port (no hub!) and put the PDA in it.Ã‚Â Go to the HotSync screen, select “usb/serial” for the interface and hit the HotSync button.Ã‚Â THEN click on the “Get from PDA” button.
If everything goes well, the stars are properly aligned and you hold your mouth just right, your PDA and computer will chat and your PDA’s name and a unique “PDA_ID” will show up.Ã‚Â If things don’t go well, check your connection and make sure you’re not plugged into a hub.
Down under “PDA Attributes, you can change the name if you like but leave the “local folder” alone.Ã‚Â Click OK and you’re mostly there.Ã‚Â Now we have to set up the Conduits.
Click the “Conduits” tab and see something like this:
Except that everything will be disabled.Ã‚Â Select, say, Eaddress and click Enable.Ã‚Â You’ll see this screen
This screen shows the selections that you’ll want to make.Ã‚Â Select synchronize and because you’ve never synced with this machine before, choose the “one time action” ofÃ‚Â “Copy from PDA”.Ã‚Â This is vitally important.Ã‚Â If you don’t select a one-time option or select wrong, all the data on your PDA will probably be wiped out.
Under “Conduit Settings”, is a very important selection.Ã‚Â The “Sync With” selection chooses which contacts database the data is synced with in Evolution!” Remember up above when I created a “Palm” database in Evolution?Ã‚Â Here’s where it gets selected for filling.Ã‚Â Make sure you have the data aimed where you want it to go.Ã‚Â If most of your contacts are business, then change the address to “Business”.Ã‚Â Be sure and check the Sync Private Records (assuming you want that) because the box is un-checked by defaultÃ‚Â Click OK.Ã‚Â Repeat this for every conduit that you want to synchronize with Evolution.Ã‚Â Click Close.
I strongly recommend selecting the “Backup” option too.Ã‚Â When that is selected, every file on the Palm that has the “backup” attribute set will be copied over to your PC as a backup.Ã‚Â Years ago I went through my Palm and set the “Backup” attribute on every important file.Ã‚Â that has saved my cookies many times.
If everything runs like it should (mine didn’t), you should see a little HSM globe in your launcher panel
If you DO see that little icon then try a hotsync.Ã‚Â It should fire right off.Ã‚Â If you do NOT see the globe, put your cursor on the panel, right click and choose “add to panel”.Ã‚Â When the screen appears, type “Palm” in the search window”.Ã‚Â You’ll see the “Palm Applet”.Ã‚Â Click on it once to highlight, then click “ADD” and you should see it appear.Ã‚Â I recommend hovering over the globe, right clicking and choosing “Lock to Panel”.
Well, there you have it, what took me about 8 hours to figure out.Ã‚Â Hopefully you won’t have all the problems I had because of this post.Ã‚Â Meanwhile I’m going to try Evolution for awhile.Ã‚Â I don’t much like it now but maybe it will grow on me.Ã‚Â If not then I can probably get the Palm Desktop and HSM to run under WINE.