Finally! One of the missing links in Ubuntu has been solved! 🙂 Pretty much since the day I started using Ubuntu, I have lamented the lack of support for syncing Windows Mobile devices with Evolution or any application in Ubuntu. I even tried going down the various multisync/opensync/kitchensync path with little success…
…until today! I finally found some instructions that worked for my old Cassiopeia E-125 and my iPaq 2215. I’ve copied these instructions from UbuntuGeek in case that site ever goes down:
- Connect your Pocket PC and type “dmesg” in a shell to see if the ipaq kernel module is loaded. The output might look like the following. Take note of the tty used for the connection.
usb 4-2: new full speed USB device using uhci_hcd and address 3you can also use “cat /proc/bus/usb/devices” to check for a USB device that’s using the ipaq kernel module.
ipaq 4-2:1.0: PocketPC PDA converter detected
usb 4-2: PocketPC PDA converter now attached to ttyUSB02)
T: Bus=04 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 1.01 Cls=ff(vend.) Sub=ff Prot=ff MxPS=16 #Cfgs= 1
P: Vendor=413c ProdID=4002 Rev= 0.00
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=ipaq
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
- SynCE Setup and ConfigurationInstall the required packages for SynCE
sudo apt-get install librra0 librra0-tools librapi2-tools libsynce0 synce-dccm synce-multisync-plugin synce-serialsynce-serial setup will be invoked by apt, follow this through using the default settings, unless you have reason to do otherwise.
local address: 192.168.131.102
remote address: 192.168.131.201
no dns entry needed
- Perform the following command to tell SynCE where to look. This seems redundant.
sudo synce-serial-config ttyUSB0
- Start the SynCE connection daemon by typing “dccm” in a shell. Use “dccm -p password” if your Pocket PC is password protected. NB: Make sure you are doing this as the logged in user, not root/sudo!
- Initiate a serial connection by typing “sudo synce-serial-start” in a shell. You should be greeted with “
synce-serial-start is now waiting for your device to connect“.”synce-pstatus” shows a LOT of information about your Pocket PC, such as current mode of operation, battery charge level, memory usage as well as backup battery status. If you want to see some other synce commands, type “dpkg -L librapi2-tools”. You can use these commands to do things such as installing Pocket PC programs, etc.
- Create the partnership between the Pocket PC and your computer. There are 2 slots on the device, so the INDEX can be 1 or 2.
synce-matchmaker create INDEXYou should see the following messagePartnership creation succeeded. Using partnership index INDEX.
- Multisync Setup and ConfigurationInstall the required packages for Multisync
sudo apt-get install libmultisync-plugin-all multisyncOr, alternatively if you want to skimp on the packages
sudo apt-get install libmultisync-plugin-evolution libmultisync-plugin-backup multisync
- Start Multisync by typing “multisync” (again, not as sudo/root) in a shell. You can also do via Applications > Accessories > Multisync, but the shell gives you a lot of feedback which can be helpful the first time you use it.
- Create a new synchronization pair where one of the plugins is “SynCE Plugin” and the other is “Ximian Evolution 2″, the order doesn’t matter. You may need to create a new Contact List, Task List and Calendar, so that the default ones aren’t used. I’m not sure if this is needed, but it was mentioned in the other thread. NB: Make sure that you click on the Options for the Evolution plugin and select at least one calendar/contacts/task list.
- Press the “Sync” button.Initially, You may not have entries in Evolution so for some reason, You need to modify all of the entries on Pocket PC so that the timestamp would register each entry as a ‘change’, otherwise no entries were sync’d. Or, hit the resync button.Disconnecting Your Pocket PC
- Shutdown Multisync
killall -HUP dccmto kill the serial connection.
synce-serial-abort, if the above command doesn’t work.
NB: This isn’t quite working with the Cassiopeia. Will keep this updated.