todo: add a screenshot of the mobile for options to check for synchro and retry with other tools
I'm still using the USB cable to synchronize contacts & agenda with evolution, it works correctly.
Using msynctool
Configure opensync with multisync-gui then edit ~/.opensync/group1/1/syncml-obex-client.conf commenting out lines for Notes & Calendar (completely)
It will show in the configuration like msynctool --showgroup Nokia
Groupname: Nokia Member 1: syncml-obex-client Configuration : <?xml version="1.0"?> <config> <!-- (Only for bluetooth) The bluetooth address if the bluetooth mode is selected --> <bluetooth_address></bluetooth_address> <!-- (Only for bluetooth) The bluetooth channel to use. `sdptool browse $MAC` to search for the correct channel --> <bluetooth_channel></bluetooth_channel> <!-- (Only for USB) The usb interface number of the SYNCML-SYNC target. use syncml-obex-client -u (you will need access to the USB raw device) to find it. --> <interface>0</interface> <!-- The string that the plugin will use to identify itself. Some devices need a special string here. --> <identifier>PC Suite</identifier> <!-- The syncml version to use: 0 for 1.0, 1 for 1.1 and 2 for 1.2 --> <version>1</version> <!-- if the plugin should use wbxml --> <wbxml>1</wbxml> <!-- The username to use. Leave empty to not require a username --> <username></username> <!-- the password for the username --> <password></password> <!-- sets the connection type to use. 5 means obex over usb, 2 means obex over bluetooth --> <type>5</type> <!-- If wbxml is enabled, defines wether the wbxml should use string tables --> <usestringtable>1</usestringtable> <!-- Never send ADD command, but send REPLACE (not needed normally) --> <onlyreplace>0</onlyreplace> <!-- Workaround around for mobile phones which only use local timestamps and _no_ UTC timestamps! --> <onlyLocaltime>0</onlyLocaltime> <!-- Sets the maximum allowed size in bytes of incoming messages (some device need this option set). Example: 10000 --> <recvLimit>10000</recvLimit> <maxObjSize>0</maxObjSize> <!-- The name of the contacts db. Must be the same as the phones sends --> <contact_db>Contacts</contact_db> <!-- The name of the calendar db. Must be the same as the phones sends --> <!-- <calendar_db></calendar_db> --> <!-- The name of the note db. Must be the same as the phones sends --> <!-- <note_db></note_db> --> </config> Member 2: evo2-sync Configuration : <?xml version="1.0"?> <config> <address_path>default</address_path> <calendar_path>default</calendar_path> <tasks_path>default</tasks_path> </config>
Afterwards, msynctool --sync Nokia
Synchronizing group "Nokia" received contact dsession Member 1 of type syncml-obex-client just connected Member 2 of type evo2-sync just connected All clients connected or error Received an entry pas-id-470EA2FF00000000 with data of size 8 from member 2 (evo2-sync). Changetype ADDED Received an entry pas-id-473B979900000001 with data of size 8 from member 2 (evo2-sync). Changetype ADDED Received an entry pas-id-474A044500000004 with data of size 8 from member 2 (evo2-sync). Changetype ADDED Received an entry pas-id-4750693B00000007 with data of size 8 from member 2 (evo2-sync). Changetype ADDED [...] Received an entry pas-id-478A418700000001 with data of size 8 from member 2 (evo2-sync). Changetype ADDED Received an entry pas-id-478A6B2E00000000 with data of size 8 from member 2 (evo2-sync). Changetype ADDED Received an reply to our Alert Going to receive 100 changes Received an entry pas-id-478BB7F100000002 with data of size 8 from member 2 (evo2-sync). Changetype ADDED Received an entry pas-id-478E90C900000004 with data of size 8 from member 2 (evo2-sync). Changetype ADDED [...] Received an entry pas-id-4786A00B00000003 with data of size 8 from member 2 (evo2-sync). Changetype ADDED Member 2 of type evo2-sync just sent all changes Received an entry 1 with data of size 8 from member 1 (syncml-obex-client). Changetype ADDED [...] Received an entry 99 with data of size 8 from member 1 (syncml-obex-client). Changetype ADDED Received an entry 100 with data of size 8 from member 1 (syncml-obex-client). Changetype ADDED Member 1 of type syncml-obex-client just sent all changes All clients sent changes or error All conflicts have been reported Sent an entry pas-id-494435DE00000000 of size 117 to member 2 (evo2-sync). Changetype ADDED [...] Sent an entry pas-id-494435DF00000060 of size 113 to member 2 (evo2-sync). Changetype ADDED Received an reply to our sync Sent an entry pas-id-494435DF00000061 of size 107 to member 2 (evo2-sync). Changetype ADDED Sent an entry pas-id-494435DF00000062 of size 111 to member 2 (evo2-sync). Changetype ADDED Sent an entry pas-id-494435DF00000063 of size 132 to member 2 (evo2-sync). Changetype ADDED Member 2 of type evo2-sync committed all changes. Sent an entry 101 of size 151 to member 1 (syncml-obex-client). Changetype ADDED Sent an entry 102 of size 163 to member 1 (syncml-obex-client). Changetype ADDED [...] Sent an entry 172 of size 153 to member 1 (syncml-obex-client). Changetype ADDED Sent an entry 173 of size 133 to member 1 (syncml-obex-client). Changetype ADDED Member 1 of type syncml-obex-client committed all changes. All clients have written Member 1 of type syncml-obex-client just disconnected Member 2 of type evo2-sync just disconnected All clients have disconnected The sync was successful
/o\ all contacts in my email were sent, now I've got both email and mobile-phone contacts, that's a bit too much :/ I'll have to sort this out (maybe categories...).
When one contact is deleted in evolution, it's deleted on the mobile phone and vice-versa.
Now it nearly works with Calendar too, as I realized my configuration on the mobile phone only included Contacts :
- check Menu / Parameters / Connectiv / Sync and select Contacts (should be already selected) and Agenda (and perhaps Notes)
- there may be a way to check automatically what's configured on the mobile phone for "PC Suite" ?
- after this "error" I got the event in Evolution (but events in evolution did not get transferred to the phone...)
Synchronizing group "Nokia" Member 2 of type evo2-sync just connected received event dsession received contact dsession Member 1 of type syncml-obex-client just connected All clients connected or error Member 2 of type evo2-sync just sent all changes Received an reply to our Alert Received an reply to our Alert Going to receive 0 changes Going to receive 2 changes Received an entry 2 with data of size 8 from member 1 (syncml-obex-client). Changetype ADDED Received an entry 3 with data of size 8 from member 1 (syncml-obex-client). Changetype ADDED Member 1 of type syncml-obex-client just sent all changes All clients sent changes or error All conflicts have been reported (process:26218): libecal-CRITICAL **: file e-cal.c: line 4243: assertion `ecal && E_IS_CAL (ecal)' failed Sent an entry 20081214T012105Z-3744-500-1-4@localhost.localdomain of size 209 to member 2 (evo2-sync). Changetype ADDED Error writing entry 3 to member 2 (evo2-sync): Unable to create todo: file e-cal.c: line 4243: assertion `ecal && E_IS_CAL (ecal)' failed Mapping Write Error: Unable to create todo: file e-cal.c: line 4243: assertion `ecal && E_IS_CAL (ecal)' failed Member 2 of type evo2-sync committed all changes. Received an reply to our sync Received an reply to our sync Member 1 of type syncml-obex-client committed all changes. All clients have written Member 1 of type syncml-obex-client just disconnected Member 2 of type evo2-sync just disconnected All clients have disconnected The sync failed: Unable to write one or more objects Error while synchronizing: Unable to write one or more objects
Ah, now that I got it to synchronize at least once,
- deleting an event in evolution is propagated to the phone
- adding an event in evolution is propagated to the phone and vice versa (though not really in the appropriate format)