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?"

54 comments

  1. works for my PHB by Robbat2 · · Score: 1

    It works for my boss (using a Tungsten W), using SuSE9.2 Pro, and Gentoo, under Evolution with the pilot system.

    He noted that it was much easier to get working in Gentoo than SuSE.

    --
    ICQ# : 30269588
    "I used to be an idealist, but I got mugged by reality."
    1. Re:works for my PHB by sirsky · · Score: 0

      Many things are easier to get working on Gentoo than others...THANK YOU PORTAGE!!!

    2. Re:works for my PHB by geminidomino · · Score: 1

      Wait... He got working HIMSELF on Linux, and you still refer to him as a PHB?

    3. Re:works for my PHB by Robbat2 · · Score: 1

      He's got pointy hair, and he's my boss. What more of PHB do you need?

      His method is just to mess around with things until they work (and break a few other things along the way sometimes).

      --
      ICQ# : 30269588
      "I used to be an idealist, but I got mugged by reality."
    4. Re:works for my PHB by Anonymous Coward · · Score: 0

      Would you rather hold his hand every time he does something or fix the things he breaks?

    5. Re:works for my PHB by lanswitch · · Score: 1

      that depends on the salary.

    6. Re:works for my PHB by geminidomino · · Score: 1

      Of course not, but that IS generally the general model of the PHB.

    7. Re:works for my PHB by geminidomino · · Score: 1

      "Generally the general model?" WTF?

      *dutifully leaves slashdot until he has his coffee.*

  2. 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.

    1. Re:Some apps work perfectly by jrockway · · Score: 1

      Mine used to work fine with Evolution (I'm sure it still does; but I don't use a palm or evolution now that I have a mac :). I remember having to fight with the USB library, recompile, and use hotplug. I eventually figured it out, but the gnome-pilot documentation sucked. I would search the lists or ask them, they probably know better than slashdot :)

      --
      My other car is first.
    2. Re:Some apps work perfectly by forkazoo · · Score: 1

      Interesting... I never was able to get mine to sync. Tungsten E, Debian. 2.4 kernel of some sort, IIRC. (I'm not at work, or I'd check.) The ttyUSB shows up, but I have never managed to get it to do anything but sit telling me that I should hit the hot sync button (Though that message would only appear after I hit it!)

      Also, for double bonus points, does anybody know how to sync Groupwise with a Tungsten E under Linux?

    3. Re:Some apps work perfectly by zombie-m · · Score: 1

      Interesting... I never was able to get mine to sync. Tungsten E, Debian. 2.4 kernel of some sort, IIRC. (I'm not at work, or I'd check.) The ttyUSB shows up, but I have never managed to get it to do anything but sit telling me that I should hit the hot sync button (Though that message would only appear after I hit it!)

      If you aren't already, you may want to try ttyUSB1 instead of ttyUSB0. Two different devices get set up for Palms & related devices (Visor, etc), and AFAIK, ttyUSB1 is the one you want for syncing. That's what mine always has been anyway.

  3. Shouldn't be a problem... by jnik · · Score: 1

    I've been synching my Visor via USB for five years now and it wasn't difficult to set up, just required a fairly recent pilot-link tools and the usb-serial emulation module. I imagine on any modern distribution the hotplug support should do most of the work. Try using pilot-link first, see if it finds the device, and look at the logs to see what happens when you press the hotsync button (remember to press it before starting pilot-xfer).

  4. 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!

    1. Re:Hit sync first by someguy456 · · Score: 1

      As an exception, the kpilotDaemon does polling. it listens regularly until the device initiates hotsync, then procedes to sync when it gets something.

    2. Re:Hit sync first by Anonymous Coward · · Score: 0
      First of all, why aren't you posting this to the pilot-unix mailing list?


      um, because like me he very possibly didnt know it existed?
    3. Re:Hit sync first by Andy+Dodd · · Score: 1

      Yup, gnome-pilot does polling too.

      My Treo 600 works perfectly with pilot-link and jpilot.

      --
      retrorocket.o not found, launch anyway?
  5. Serial Ports by sirsky · · Score: 0

    Unfortunately, most laptop vendors don't even put serial ports on their laptops now (though strangely, they still include a parallel port?) so it's tough to even sync with an older serial based Palm.

    1. Re:Serial Ports by ArielMT · · Score: 1

      Do those USB-to-serial port converter devices not work in Linux? I'd have figured that as long as usbdevfs is mounted, it would detect the new device as a serial port, and udev (in kernel 2.6, anyway) would mount the new port device as /dev/ttyS*

      If I'm wrong, then please pardon my ignorance.

      --
      It must be Windows. It needs half a gig of RAM and a hardware-accelerated graphics card just to run Solitaire.
    2. Re:Serial Ports by xalorous · · Score: 1

      Find USBserial adapter. Saw one at Wal-Mart.

      --
      TANSTAAFL GIGO Acronyms to live by!
  6. step by step tutorial by gr8dude · · Score: 1

    I tried it several times, once with SuSe, and once with FC3, but there is always something wrong, and it never worked right.

    Being a Windows user who wants to switch to Linux [I planned this for a long time], this problem is what keeps me on Win.

    Could someone point me to a manual that has screenshots, or mode detailed explanations of things?

    Because I've read several tutorials, and all of them stated different things. i.e. one said that USB is ttyUSB00, another one - ttyUSB0. Then I was told that I have to symlink /dev/pilot to /dev/USB0, because it will only work with /dev/pilot, etc. It didn't work.

    Currently, I have a system with Win2k and Fedora Core3+ Palm m505. I would love to be able to sync it with Evolution via gnome-pilot... But of course, anything will do.

    [wow, it felt just as writing an email to a company's support dept]

    1. Re:step by step tutorial by MrResistor · · Score: 1

      Well, it's going to be /dev/ttyUSBsomething, and that depends entirely on your setup (eg other usb devices, and the whims of your hotplug system). Whatever it is, though, it will most likely at least be consistent.

      Mine is /dev/ttyUSB1.

      Now, I use kpilot on SuSE 9.1, and now 9.3, with an m505. IIRC, what I did when I got it was start at ttyUSB0 and work my way up until it worked (note that it won't actually see the device until you hit its hotsynch button). You may have to play with the speed settings too, I don't remember, but mine is set to the highest speed and works fine.

      Last few things:

      1) Whoever told you it would only work with /dev/pilot didn't know what they were talking about, though you could do that to make things clearer, especially several months down the road when you're trying to remember what you did (like I am now). It's entirely up to you.

      2) Fedora may use different naming conventions for their usb ttys, I don't use it so I don't know. I'd start with /dev/ttyUSB*, and if it isn't there (or they don't exist), try /dev/USB*. Remember about the hotsynch button though, it won't work no matter what you do if you don't push the button.

      --
      Under capitalism man exploits man. Under communism it's the other way around.
  7. works for me by cahiha · · Score: 1

    I haven't had problems. However, if USB doesn't work for you, you can always hotsync through Bluetooth or 802.11. For Bluetooth, you can either use the Bluez stack and have a choice between serial or network sync, or you can use a Bluetooth-to-Ethernet interface and use network sync.

  8. USB works for me. by nihilatron · · Score: 1

    I have a Tungsten T and use jpilot with a "serial port" setting of: /dev/usb/tts/0

    It just works.

    This also works for me:

    pilot-xfer -p /dev/usb/tts/0 -s ~/palm_sync

  9. cuidado con Dell by Bodhidharma · · Score: 1

    The Dell you are trying to sync with may be part of the problem. In the last few years I've lost respect for Dell due to their use of random hardware and chips. The are the new Gateway. I've never been able to mount my MP3 player on my work machine which is a Dell. I've had no problem with a cheap HP, an old Micron or a newer Shuttle. I think the USB ports are too flaky to be fully supported under linux on the Dells.

    Just my $0.02, YMMV, etc.

    --
    A dyslexic man walks into a bra.
    1. Re:cuidado con Dell by nukem996 · · Score: 1

      Ive had the same problem. For some reason my iRiver will not mount using the front USB ports on the 8xxx series using the front USB ports. It works fine on the back. This happens to me on Linux and Windows.

    2. Re:cuidado con Dell by Anonymous Coward · · Score: 0

      Wonder if the front ports are actually a hub and not directly connected. No problem on my Dell Precision.

  10. 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.
  11. 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!

  12. errr, I've got it working! by Goeland86 · · Score: 1

    hey, dunno where you've been, but if you looked around, loaded the VISOR module in your kernel (2.6 series), had jpilot and all its deps installed, you wouldn't have trouble whatsoever! The visor module is a USB Serial Converter, and although it's hidden, it's there. I use it daily with my Palm m505 and it works wonder! This is a lack of research on your part, not a lack of support. Now the real trick is to get Psion's PDAs to work with linux from a gui. Not Palm's!

    --
    ---- I am certain of only one thing : I know nothing else.
  13. Sony Clie by someguy456 · · Score: 1

    My USB Sony Clie SJ-20 works with the several versions of Mandrake [Mandriva, whatever] and SuSE that I've used it with, with both jpilot and kpilot.

  14. 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 :-/

  15. 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 Gojira+Shipi-Taro · · Score: 1

      Agreed. I had used Jpilot for the brief period that I had a Sony Clie, and was quite happy to find that I was able to restore to my Tungsten-E with no change in setup. If anything, USB sync is EASIER than old serial link.

      Not sure how this is even an ask slashdot. Took me maybe 5 minutes with Google the first time I set up Jpilot, and I'm using Gentoo.

      I'm pretty sure that if I was using one of the commercial distros I wouldn't even have had to search.

      --
      "Oh my God. This is terrible. This is the end of my Presidency. I'm fucked."; ~ Donald J. Trump
    2. Re:Bah! by Jim+Hall · · Score: 0

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

      ... including my page about 'Using Palm Zire with Linux'. The only stumbling block I had was that the USB device it was sitting on wasn't being chown'd to me, so I had to manually extend the permissions so I could read/write to the device.

      Aside from that, it's easy. My only other problem has been that I can't sync my work calendar (we use Oracle Collaboration Suite, and there's no connector for that in Linux.)

    3. 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.

    4. Re:Bah! by seachnasaigh · · Score: 1

      Thank you, but I'm perfectly cognizant of that. Had this been as simple as following directions in a manual found through a Google search, I never would have bothered with /. The reality is that despite following numerous such sets of directions, I still couldn't get it to work with the hardware I have on hand. That level of frustration is what set me to asking the /. community for some experiences along the same lines. Thanks to posting this question to the /. userbase, I have several new avenues to explore.

      --
      Irish by birth, Southern by the Grace of God.
  16. 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.
  17. Palm Zire 31 by pasamio · · Score: 1

    I can get my Palm Zire 31 to sync under Debian Sarge without issues, using evolution and gpilotd. I did, however, have to add a line to a configuration file somewhere, I found the answer on a ubuntu forum. Now I try to avoid sync'ing under Windows!

    --
    I always wondered where this setting was...
  18. 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.

    1. Re:Tungsten/Zire are different by seachnasaigh · · Score: 1

      Excellent; thank you. That may have been the key I was looking for; it's always confused me when working on this that doing a tail -20 on /var/log/messages produced an almost immediate connexion to not /dev/ttyUSB0 but both that AND /dev/ttyUSB1, simultaneously. No matter how many times I tried a ln -s for /dev/pilot, I wound up with no connexion because I can't simlink it to both ports at once. Neither FC3 nor SuSE 9.2 seem to understand which of the ttyUSB's to use for the Palm T's major PIM functions. Would be nice if there was a way around this but at present I don't see one. Thank you for sharing your experience!

      --
      Irish by birth, Southern by the Grace of God.
  19. USB-Serial Adapter by tonsofpcs · · Score: 1

    Most of the USB Palms make use of an internal USB-Serial Adapter. Can you check for the adapter and then try again?

    1. Re:USB-Serial Adapter by seachnasaigh · · Score: 1

      Actually, yes. I'd checked for the USB/Serial adapter and for the presence in the logfiles of the distro recognising the device as connected. Sadly, this doesn't seem to be the problem, but thank you!

      --
      Irish by birth, Southern by the Grace of God.
  20. This Belongs on a Project Mailing List by MooseGuy529 · · Score: 1

    I am starting to notice, as others have, that Ask Slashdot has become a generic "Tech Questions" forum. I always thought it was for when you had a thought-provoking or complicated questions that could benefit a large group of people, but lately it's just "I can't get foo to work, does Slashdot know how? I'm using it for psuedo-important-usage and my (boss|significant other|kids|imaginary friend) really wants it to work."

    --

    Tired of free iPod sigs? Subscribe to my blacklist

    1. Re:This Belongs on a Project Mailing List by Chyeld · · Score: 0, Offtopic

      Do you have a thought-provoking or complicated question that could benefit a large group of people?

      If not, why are you kicking about someone else who just has a normal question?

  21. Different Ports For Different Palms by blazerw11 · · Score: 1

    I've found that different devices show up on different USB ports.
    /dev/ttyUSB1 works for the Zire 72 and Tungsten E.
    /dev/ttyUSB0 works for the Tungsten T.

    This is all with J-Pilot, which has always worked perfectly for me.

    --
    A great many people think they are thinking when they are merely rearranging their prejudices. -- William James
  22. epocrates by frankmu · · Score: 1

    has any one out there have epocrates (a drug data base for health care providers) to update through debian? i ended up getting a mac mini because i couldn't get it to work

    --
    Supreme executive power derives from a mandate from the masses, not from some farcical aquatic ceremony.
  23. Best viewed as a distro thing... by moorley · · Score: 1

    Memories.
    CTRL H for backspace. /dev/dsp not writeable by the primary user on the system (and constantly being re-chowned to root).

    USB drives showing up automatically on the desktop.

    There tends to be a gap between possible/working and working well. This is one of the things Linux has the hardest time with. I felt I should chime in because I myself abandoned palms/visors a few years back for many reasons, one being that getting them to work in Linux was a major PIB. It would work but never flawlessly. (Yes, if HW does not work in Linux I abandon it.)

    But if you hunt around you will usually find a distro that has decided to shine in tackling this particular issue.

    I've seen a few recommendations so far, but my thoughts would be to try either Gentoo or Mandrake(Mandriva?). They are usually pretty good in working on these fine points. I think if you try out several distro and find one that works with no tweaking you will have a distro you like, and you may also get a good idea how to handle it if you want another distro.

    I'm seeing some sort of setuid scripting hooking into hotplug to open up your graphical sync program. But that is a bit of work, debugging and little scripts like that tend to fail. I applaud folks who work on distro's for making those little things work so well.

    Hope you find what ya seek.

    --
    "Don't fear death... fear not living..." -me :)
  24. My experiences with Linux and Palms by strombrg · · Score: 1

    At first, I had a Palm IIIxe, which I sync'd serially with two serial cables on two machines. This worked flawlessly.

    Then I upgraded to a Tungsten C. At first, this worked great with two Fedora Core 2 machines.

    Then I upgraded both machines to Fedora Core 3, and one of the systems continued to work great, while the other would frequently crash during sync'ing.

    Then I reinstalled the crashy system with Ubuntu, and things were good again.

    As far as PIM software, I've used almost exclusively jpilot, though I did try out evolution's palm pilot support for a while.

  25. Zire 71 and Kubuntu by elsPrime · · Score: 1

    I can finally synch my Palm Zire 71 via the KPilot feature under Kunbuntu Linux -- surprised the crap out of me, as I had tried to synch this PDA with a dozen Linux distros before, with zero success.

    --
    User MUST show picture ID
  26. works with kde by Anonymous Coward · · Score: 0

    It works perfectly with my T5 and KPilot, as long as I wave a dead chicken over the kernel at the same moment I press the hotsync button.

  27. works for me by vashti · · Score: 1

    I'm a very happy bunny, syncing my Tungsten E to both JPilot and gnome-pilot, as the mood takes me. This is on Debian unstable running Linux 2.6.

    Things to beware: when you plug in your palmtop, it'll create two /dev/ttyUSB devices. You want to put the second one into your apps (so it creates /dev/ttyUSB0 and /dev/ttyUSB1; you use ttyUSB1).

    Secondly, if you sync to multiple apps, don't try to run more than one at once, as it will make the dye run. Don't do this.

    If it stops working for no reason, check that it hasn't got itself tied up and created two sets of devices (so you think it's ttyUSB1, but it thinks it's ttyUSB3, for instance).

    I believe I pulled most of this information out of http://www.faqs.org/docs/Linux-HOWTO/PalmOS-HOWTO. html , which is rather good.

    --
    -- Rachael
  28. Helpfull info.. by Anonymous Coward · · Score: 0

    I've just tried to get my handspring visor to sync with gnome-pilot under CentOS 4 (i.e. RedHat EL4) and it wasn't straight forward, or solvable in a simple google search (mostly because udev is new I guess). Here are the links that helped me out:

    http://lists.pilot-link.org/pipermail/pilot-link-g eneral/2004-November/002084.html

    http://pilot-link.org/README.usb