JEDIJF

Sunday, July 5, 2009

Treo Sync Revisited

Ok, I am one of the last people who gripe about Linux. Seriously, I get infuriated when people come to Linux and give no effort to learn a NEW OS. Yes people, this is a different OS. It is NOT free Windows. If the masses, or at least 7 to 9% of them, would give Linux the same amount of learning time as they give to Apple, I am sure we would have an awesome market share. End of that rant.

Now to my gripe. My gripe is not really Linux, although I initially blamed Linux. Heck, that is the easiest thing to do; right? I have been syncing my Treo 650 with Linux successfully, on and off, for about a year now. I use a usb cable, and sync to both Jpilot and Evolution (via gpilotd).

Friday night, as I prepared to sync my phone, I went through my routine; open a terminal window and issue: tail -f /var/log/messages, so I can see my device get recognized and watch it get assigned. Open Jpilot and get ready to hit the Hotsync button after I initiate the Hotsync on the phone. When you initiate the Hotsync on the phone is when the device gets assigned. Hit Hotsync on the phone....nada. Nothing happens. Do this repeatedly, rinse, repeat. Nothing. WTF. Why can't things just work. Especially the stuff I have already had to hack together, that we then fixed, and no longer have to duct tape together.

When I started playing this sync game I had to write custom udev rules to make Treo get recognized, then the developers fixed that. Yay!

Then you had to have the right device, by watching the /var/log/messages so the apps, (Jpilot and pilotd) knew where to gather the info from. It could be /dev/ttyUSB1 or 3 or 5, depending on how incessantly fast I hit the hotsync button on phone. Device assigned in pairs, the latter is the one that communicates with apps; so assigned 0 and 1, 2 and 3, and so on.

Then the developers fixed that, so by setting the device in the apps as usb: it would communicate with the last assigned of the last pair. NICE. I guess many of us were clicking like lunatics, a practice I also deplore in others.

See, I have a little history with this nonsense. But, right about now, I just want it to work. Friday night it wouldn't work.

I look at my usb connector for the phone; many little pins, maybe a bad connection. Alcohol and cotton ball and clean the contacts on the bottom of the phone. No go. Clean more. Nope. Jiggle the connector. Hold connector to phone applying pressure up, down, left, right. More alcohol (same cotton ball, only had one). It connected. GREAT.

It dropped the connection.

That's it. I am done. No more physical (usb cable) hotsyncs. Time to get bluetooth working. Really working. Completely. Hotsync and all.

Previously, because someone else had questions about bluetooth, (which is usually how and why I get hacking stuff) I got bluetooth file sharing to work. Files from computer, and files to computer. Never tried to get hotsync working. Now it was imperative.

Coming next; Sync with bluetooth and bluetooth file sharing. Stay tuned.