Palm's handhelds

This page contains information on how to get a Palm's handhelds running under Linux. I use a Palm handheld to always have my calender, todo list and contacts with me when I'm on the road.
[ Top | Bottom ]

Palm Treo 600

Synchronizes via a USB hotsync cable. Works fine with Telmore's GPRS service.

Essential software for a Palm Treo 600:

For more information:

[ Top | Bottom ]

Palm m505

Synchronizes via a USB hotsync cradle.

For more information:

[ Top | Bottom ]

Palm IIIe

The IIIe is a rather solid and simple PDA (I dropped it a couple of times before the touchscreen died), which provided basic PDA functions. A nice feature is that it uses normal AAA batteries.

Synchronizes via a serial hotsync cradle.

For more information:

[ Top | Bottom ]

Palm - Linux synchronization

USB

In order to use an USB cradle or cable, your kernel has to have generic USB support enabled, and a couple of extra modules:
Device Drivers  --->
    USB support  --->
        USB Serial Converter support  --->
	    <M> USB Serial Converter support
	    <M>   USB Handspring Visor / Palm m50x / Sony Clie Driver
Code listing 5.1
The device setting in gnome-pilot (for evolution), jpilot or pilot-link, depends on whether you either use udev, devfsd, or neither of them. After you have compiled your kernel with the above mentioned drivers, and rebooted, connect your Palm to your computer, and press the hotsync button. Then look in your dmesg, to see which device the Palm connected to. Note!: the device will only exist while the hotsync process is running.
/dev manager Path
udev (v. 0.70)/dev/tts/USB0
devfsd/dev/usb/tts/0 and 1
staticManualy create the devices with mknod /dev/ttyUSBN c 188 N, where N is 0-3
Table 5.1 : Overview of devices for Palm handhelds

Note!: If you have problems syncing, check the permissions on the device. In Gentoo you have to be a member of the tty group to access the device.

Serial

Serial sync works fine using a symbolic link from /dev/ttyS0 to /dev/pilot. The pilot is synced at 57600 baud speed.

IrDA

First you need support in your kernel (see settings for a Powerbook 3400), then you have to install Linux irda-utils, and openobex to send and receive files with.

If your Palm Pilot is running an OS older 3.3, you will need the Ir update for PalmOS 3, else you will not be able to sync the palm via IrDA (you can still beam files to the Palm Pilot).

Next run irattach /dev/ttyS1 (see Infrared Devices working with Linux for a list of ports). Now you should be ready to transfer files to the Palm Pilot.
You can try to send a file with irobex_palm3 filename to see if the Palm Pilot receives it (remember to have "Beam receive" enabled on the Pilot). If it is working, proceed with setting these two variables:
export PILOTPORT=/dev/ircomm0 # Not /dev/ttyS1 !
export PILOTRATE=19200
Code listing 5.2
Now use pilot-xfer -S path/to/sync_dir to synchronize your Palm Pilot.
You try to use a faster speed setting, but I could not get it working with anything higher than 38400. jPilot also works fine with these settings. Once you have everything working, edit /etc/sysconfig/irda, so it looks like this:
IRDA=yes
DEVICE=/dev/ttyS1
DISCOVERY=yes # or no
Code listing 5.3
Now you can launch IrDA with service irda start (remember to load all necessary modules first)

For more information:

[ Top | Bottom ]

Using it as console login

Console login via the serial port is a nice feature if you either don't have a monitor connected, or the X server has crashed, now you can login with your Palm and shutdown X or reboot. Note! this may only work with a older Palm Pilot that uses a serial cable to sync. If you use a Treo 600/650 you can use a ssh client (like pssh) and a GPRS network to login remotely.

You need mgetty installed and a line in your /etc/inittab:

T0:2345:respawn:/sbin/mgetty -r -b ttyS0
Code listing 6.1
You also have to enable the following in your kernel:
Device Drivers  --->
    Character devices  --->
        Serial drivers  --->
	    <*> 8250/16550 and compatible serial support
	    [*]   Console on 8250/16550 and compatible serial port
Code listing 6.2

Next you need a terminal program on your Palm handheld. I use Pilot vt100, and you just have to press the line button, and maybe enter a return sign on the Palm and you should get a login screen.

For more information:

[ Top | Bottom ]
Hi! you have reached the old part of my homepage, be sure to checkout my new site