Using a PocketPC with FreeBSD

There is a limited amount of support for talking to PocketPC's in FreeBSD - the palm/rapip port allows KDE apps to read/write files but synchronising with calendar/contact/etc data doesn't work.

The synce-* ports are a little behind in FreeBSD but the basics are there. I have tried to build the pocketpccommunication stuff from http://synce.sf.net/ but not luck yet. I haven't tried any GNOME related things so I don't know if that's better supported. There is kitchensync which is supposed to do synchronising with address books but I'm having trouble getting it built properly.

The connection to the PC is done using PPP over a USB serial-like connection for which the palm/uppc-kmod port is needed. Install and load it then when you plug your PocketPC in something similar to the following should appear in dmesg.

ucom0:  Toshiba Corporation product 0x0700, rev 1.00/0.00, addr 2
I have an entry for devd which automatically runs PPP when the cradle is used. I made the file /usr/local/etc/devd/WinCE-Toshiba.conf with the following contents
attach 10 {
        match "product" "0x0700";
        match "vendor" "0x0930";
        action "cd /dev ; ln -sf `/bin/echo $device-name | /usr/bin/sed -e s/ucom/ttyU/` ppc";
        action "/usr/sbin/ppp -background ppc";
};
Note that if you have a different PocketPC device you'll need to alter the product and vendor numbers, you can find then by running usbdevs -v when the device is attached to your PC.

My /etc/ppp/ppp.conf file contains the following entry..

ppc:
 set device /dev/ppc
 set speed 115200
 set timeout 0
 set dial ""
 set login "CLIENT CLIENTSERVER"
 set ifaddr 192.168.130.104 192.168.130.202

Daniel O'Connor
Last modified: Thu Jan 6 18:36:20 CST 2005