This year, I fell in love with Ubuntu, but because my PPC mobile phone cannot be synchronized with Ubuntu, I 've been wandering between Windows and Ubuntu... In the past few days, I have been searching for information on the Internet and finally found a method for synchronization on the official SynCE website. The environment requires Ubuntu8.04LTS (HardyHeron) WindowsMobile5/6/6.1 devices (if you are using wm2002/2003, please do not continue)
This year, I fell in love with Ubuntu, but because my PPC mobile phone cannot be synchronized with Ubuntu, I 've been wandering between Windows and Ubuntu... In the past few days, I have been searching for information on the Internet and finally found a method for synchronization on the official SynCE website.
Environment requirements
Ubuntu 8.04 LTS (hard Heron)
Windows Mobile 5/6/6.1 device (if you are using wm2002/2003, please do not continue)
Note: If you are using wm5 or the latest version, set it to RNDIS:
WM5: Microsoft doesn' t supply a program to change the behaviour, but it is set by default to RNDIS. in case of problems, check for the existence of a program regarding USB settings on your device (some vendors supply a third-party tool with the device for this ).
WM6: Go to Start-> Settings-> connection-> USB, and check "Enable enhanced network functionality ".
USB cable (this article does not support Bluetooth connection)
Important note: When you have enabled KDE4 PPA's in ubuntu, there is a big chance things will not work for you with opensync part for the actual syncing. the reason for this is that in those repositories, KDE4 depends on an experimental version of opensync which is not backwards compatible.
Add a third-party software source to Ubuntu
Go to System> System Management> Software Source)
Click Third Party software)
Click "add "...
Paste downstream:
Deb http://ppa.launchpad.net/synce/ubuntu hard main
Click Close.
Click Update.
Advanced users can directly edit the configuration file (/etc/apt/sources. list), add the following two lines, and run "sudo apt-get update" on the terminal ":
Deb http://ppa.launchpad.net/synce/ubuntu hard main
Deb-src http://ppa.launchpad.net/synce/ubuntu hard main
SynCE for Windows Mobile 5/6
Kernel (applicable kernel version
Note: skip this step if the kernel version is or later than 2.6.24-19.
Obtain the USB driver (this step must be completed)-contains important fixes that do not exist in the kernel.
Uninstall the current module:
Sudo rmmod rndis_host cdc_ether usbnet
Now we must delete the old driver so that the kernel will not reload it next time:
Sudo rm/lib/modules/'uname-R'/kernel/drivers/net/usb/{rndis_host, cdc_ether, usbnet}. ko
Next, we get and compile the new driver:
Sudo apt-get install usb-rndis-source cdbs
Sudo module-assistant auto-install usb-rndis
Core Library)
Obtain the core library:
Sudo apt-get install synce-hal librra0-tools librapi2-tools
Connect your PPC and ubuntu and run:
Synce-pls
If you can see the file list on your device, congratulations, you have successfully connected to your device.
Use OpenSync for synchronization
To synchronize devices normally, you must use OpenSync. To obtain software and plug-ins related to opensync:
Sudo apt-get install multisync-tools opensync-plugin-evolution opensync-plugin-synce
KDE users can use opensync-plugin-kdepim to use the evolution2 plug-in. Thunderbird supports any stable opensync version.
Until now, you have installed all the necessary software and plug-ins on ubuntu. Next, we will configure SyncEngine and OpenSync
Run sync-engine (Have sync-engine running)
Run the following command on the terminal to run sync-engine (Ubuntu hard ):
$ Synce-sync-engine
Note: You can also run the "synce-sync-engine &" command to run the sync-engine in the background.
If the following error message is displayed:
File "/usr/bin/sync-engine", line 84, in
ConfigObj = Config. Config (progopts)
File "/usr/lib/python2.5/site-packages/SyncEngine/config. py", line 292, in _ init __
Oldconf = OS. path. join (self. path, "config. xml ")
AttributeError: Config instance has no attribute 'path'