Slashdot Mirror


Linux Support on USB Palm Pilots?

seachnasaigh asks: "I love desktop Linux, but the one stumbling block I have with deploying it in some capacity for my userbase is USB Palm Pilots. Once upon a time I managed to get GPilot working with a serial PalmVx, but despite repeated attempts (SuSE 9.2 pro, Fedora Core 3 and several Palm devices) I can't get a synch to happen with the USB version, either through the native Gnome Pilot app or through Evolution (and yes, Kpilot too!). Our standard deployment is a Palm Tungsten T series; most of our desktops are recent Dells. It's embarrassing to have to boot into Windows to synch the Palms. Does anyone have some suggestions out there?"

9 of 54 comments (clear)

  1. Some apps work perfectly by zombie-m · · Score: 2, Informative

    My Tunsten E works flawlessly using Jpilot and pilot-link on Debian and FreeBSD. It doesn't work with Gnome-Pilot for some reason, but I haven't really tried very hard to get it to. I normally use Jpilot, and since it works fine, I don't worry too much about it.

    Maybe this is a thoroughly unhelpful suggestion, but I'd say try Jpilot if you don't require Evolution or some other specific app to be able to sync with.

  2. Hit sync first by Col.+Klink+(retired) · · Score: 4, Informative
    First of all, why aren't you posting this to the pilot-unix mailing list?

    Anyways... the only real trick is that you have to start the hotsync on the pilot before you start the hotsync on the desktop (the desktop won't see the USB device until the hotsync has started).

    Devices:
    /dev/pilot: symbolic link to ttyUSB1
    /dev/ttyUSB1: character special (188/1)

    Modules required:
    visor (CONFIG_USB_SERIAL_VISOR=m)
    usbserial (CONFIG_USB_SERIAL=m)

    --

    -- Don't Tase me, bro!

  3. Handspring works on the 2nd sync with J-Pilot by crimethinker · · Score: 2, Interesting
    I use J-Pilot on SuSE 9.2 with my Handspring. The program has me press its sync button, then it says to press sync on my handheld. I've found that it very consistently times out on the first try, I hit "ok" on the Handspring, then tell J-Pilot to sync again, press the Handspring sync button, and everything works. I tried your suggestion (Handspring sync button first) but same results. It's a quirk that I tolerate to avoid dual-booting back to windows.

    The other bit about /dev/ttyUSB1 is also extremely helpful; I found that in the FAQs and through google.

    I suppose the moral of this post is that yes, it can be done. You might have a few bumps along the way, but for me personally it has been worth it.

    -paul

    --
    Pistol caliber is like religion: everyone has their favourite, and theirs is the only right choice.
  4. Oooooh by Tamerlan · · Score: 2, Informative

    How familiar. I had a lot of headache long ago with RedHat 9. It was kinda 3 yeras ago, so instructions are kinda fuzzy, sorry. Here are things to check (some of them were mentioned, but I do not have mod points, so I'll just repeat them to emphasize):

    1. Check that kernel is compiled with modules 'serial' and 'visor', you can check if they are loaded by typing modprobe serial; modprobe visor.
    If these modules are compiled but not loaded for some reason, modprobe will actually load them, so if modprobe's go w/o problems you may already be able to sync your Palm.

    If modules are not compiled (which is usually NOT the case when you use popular modern distros - you have to compile them yourself).

    I am not sure, but at some point I inserted modprobe seial; modeprobe visor; command into /etc/rc.local to get them loaded for sure. It was ugly, but worked. May be other slashdotters have better advice on how to force loading of particular modules.

    2. Ok, so your modules are in place. Now you should have appropriate permissions to read/write serial USB connections.
    chmod 666 /dev/ttyUSB*
    under root should do the trick

    3. Some programs expect Palm device under certain name, so it mightbe useful to that
    ln -s /dev/ttyUSB0 /dev/visor
    ln -s /dev/ttyUSB0 /dev/palm
    ln -s /dev/ttyUSB0 /dev/pilot

    4. To check that Palm is seen by drivers, attach cradle to USB, place palm into the cradle and press sync button. Do not expect anything to appear, just press it. Now review /var/log/messages and see that Palm device is actually there, w/o any errors.

    5. Now, the trick is that Linux does not actually see Palm device until sync button is pressed. So you have to press sync button on craddle (or in Palm sync app) first, and only then fire up your Linux plam software of choice. AFAIR, there is a cute thingy called hotplug, that let's you hook some actions on certain device events, so go RTFM.

    I agree - this is frustrating. Actually I thought modern distros automate that whole stuff, but did not check it for a long time though. Good luck!

  5. Research people! by aldragon · · Score: 2, Informative

    As many have noted the key is the "visor" use-serial module. I'm getting tired of ask/. questions that one could solve with a google search :-/

  6. Bah! by toolz · · Score: 4, Insightful

    This is terrible. How did this even make it past the /. editors/censors?

    My friend, I have one word for you - "google".

    Support for PalmOS based units is ROCK SOLID on Linux, especially the USB based units. And it has been for years. I am a PalmPilot user from the 1990s, and while I admit that there were issues in the first few years, today they simply dont exist, not with stuff like Jpilot around. The guys who run the Pilot Link project have been doing fantastic work over the years making sure that things work, and there must be a zillion Linux users out there who benefit daily from their work.

    A totally elementary Google search would have brought up EVERYTHING you would need to get things going.

    On a tangent - why was this post allowed through in first place? It now sits on the front page of Slashdot, and gives all those guys who never RTFA or read comments more misguidance, leaving them with the impression that what is written in that post is actually true.

    And it will poison search engines for a long time, so that anyone who ACTUALLY does a google search before posting gets this post thrown up before any real information.

    BAH!

    --
    You aren't remembered for doing what is expected of you
    1. Re:Bah! by wskellenger · · Score: 2, Insightful
      Support for PalmOS based units is ROCK SOLID on Linux, especially the USB based units. And it has been for years.

      This is a typical response from this userbase, and it is a stretch, at best. (ESPECIALLY USB UNITS, FOR YEARS?)

      The original poster is having difficulty getting it to work, as do HUNDREDS of other people. It's amazing how you point out that it's rock solid, but then recommend a Google search to find "everything you need to get it going." Look at the number of responses to this article!

      Under Windows, all you need to do is install the included Palm Desktop, plug in the cradle, and push HotSync.

      I am now using the 2.6 kernel with JPilot, and it is working fine, AFTER I HAD TO RECREATE all of the original categories (Personal, Business, etc.) My custom categories synced fine.

      Users may decide to wander over to KPilot, which is very buggy, and what I believe is the reason I have duplicate e-mail addresses in almost every address book entry now. (can't be certain if it's KPilot or JPilot) Two I'm monitoring with regards to KPilot: Bug 72053 -- categories aren't created in addressbook Bug 86879 -- calendar doesn't sync

      This is not what I would call rock solid. I love Linux, but it is not without tinkering to get hardware to talk to it. I enjoy getting free software to work, and if needed modifying it to fit my needs. (Or even patching it with others' modifications)

      My recommendation to the poster is NOT to use KPilot at this time -- however I've found JPilot works well after you get it going, barring my initial problems getting it started. It also has support for KeyRing, which is another OSS Palm app that I use.

  7. JPilot or Kpilot by AdamInParadise · · Score: 2, Informative

    The support of USB Palms through Gnome (Gpilot or Evolution) is pants. It never worked correctly.

    Now, I have SuSE 9.2 and I can sync my NX70 with the Kpilot shipped with SuSE.

    One of the issue you may encounter is that user interaction required to sync a Palm is kind of convoluted (plug Palm, open sync application, wait, start HotSync from the Palm, click on Sync in the app, you get the picture) so the first time is always difficult. Please note that this is really Palm fault for having a freaky handshake protocol, not Kpilot's or Jpilot's.

    --
    Nobox: Only simple products.
  8. Tungsten/Zire are different by LostinDallas · · Score: 2, Informative

    This does not work with the Tungsten T5 at all. Because of the flash memory and "Drive Mode" (makes it work like a jump drive) it connects to USB0 and USB1 as soon as you plug it in. Whatever you did to make a Visor or older Palm work is irrelevent. Some distributions apparently have hotplug set up differently, but Mandrake 10 and Slackware 10.1 will not sync with a Tungsten T5 at all.