summaryrefslogtreecommitdiffabout
path: root/bin/kdepim/SyncHowto.txt
Unidiff
Diffstat (limited to 'bin/kdepim/SyncHowto.txt') (more/less context) (show whitespace changes)
-rw-r--r--bin/kdepim/SyncHowto.txt483
1 files changed, 483 insertions, 0 deletions
diff --git a/bin/kdepim/SyncHowto.txt b/bin/kdepim/SyncHowto.txt
new file mode 100644
index 0000000..3cab446
--- a/dev/null
+++ b/bin/kdepim/SyncHowto.txt
@@ -0,0 +1,483 @@
1WARNING:
2YOU MAY GET UNEXSPECTED (I.E. WRONG) SYNCHRONIZATION RESULTS,
3IF YOU CHANGE AN EVENT ON THE FIRST DEVICE AND SYNC IMMEDIATELY FROM
4THE OTHER DEVICE WITH THIS DEVICE, IF THE CLOCKS OF THE TWO DEVICES
5HAVE TOO MUCH DIFFERENCE.
6
7In other words: Please make shure, that the clocks of the devices
8you want to sync have only a difference of some seconds!
9
10
11CONTENT:
12
130) How syncing works
141) Qick overview of settings
152) Sync settings in sync dialog
163) Syncing background
174) Sync preferences
185) Details about sync profile kinds
19
20*************************************************************************
210) How syncing works
22*************************************************************************
23
24Note:
25The recommended and easiest way to syncronize two devices where
26KO/Pi or KA/Pi is installed, is the profile kind "Pi-Sync".
27Details about that in 5) b).
28
29In KDE-Pim/Pi you can synchronize ( sync ) your calendar/addressbook
30with another calendar/addressbook , by syncing your
31(local) calendar/addressbook with a (remote) file.
32This remote file may on your local filesystem
33or on another (remote) device.
34
35If you want to sync with another remote device,
36you have two create a sync profile.
37You have two choices for choosing the profil kind:
38I) You have to choose profile kind "Remote file" and to specify a
39 command line download/upload command ( like scp, ftp, ...) to
40 a) download the remote file to your local machine to a temp file
41 b) sync with this temp file
42 c) upload the synced file to the remote device
43II) If you want to sync with a device, where KO/Pi( or KA/Pi ) is
44 installed, you can easily get the remote file via network
45 with the build in file transfer feature:
46 Choose profile kind "Pi-Sync" and
47 a) Start KO/Pi or KA/Pi on remote device and
48 enable "Pi-Sync" on remote device with password and port.
49 b) Specify password, port and IP address in your profile.
50
51
52You can sync with your mobile phone as well.
53Everything is explained in more details below.
54
55NOTE:
56If you do not use profile kind "Pi-Sync",
57it is recommended to close
58a running KO/Pi ( or KA/Pi) on the remote device.
59(Note: KO/Pi( or KA/Pi) running on Zaurus with
60FastLoad enabled will never be closed!)
61After syncing with a running KO/Pi on the remote device,
62a "save" on the remote device will tell you that it needs to merge (sync).
63After merging (just a syncing with the changed file)
64you will get the new data showing in remote KO/Pi.
65
66*************************************************************************
671) Qick overview of settings
68*************************************************************************
69
70a) Open sync settings dialog (Menu Synchronize - Configure...)
71b) Give your device a unique name.
72 (unique in the set of all devices you want to sync with).
73 If you have already configured another devive and created
74 there a sync profile to sync with this device, give your device
75 the same name as this sync profile! The same name is important,
76 because it makes it possible to sync first A->B
77 (A local device, that performs the sync, B remote device)
78 and then B->A. Such that the B->A sync knows about the
79 already performed A->B sync.
80 That means: It is unimportant if you sync A->B or B->A,
81 the devices A and B will be synced properly.
82c) Create a new sync profile and give it a unique name.
83 (unique in the set of all sync profiles on this device).
84 If you want to sync with a device, where KO/Pi is already installed
85 and which has a given unique device name, use this device name as
86 your profile name ( refer to b) ).
87d) Coose the profile kind of your syncing method:
88 (i) Local file or
89 (ii) Pi-Sync or
90 (iii) Remote file or
91 (iiii) Mobile Phone.
92 Detailed explanation in 5)
93e) Choose the other profile options.
94 Detailed explanation in 2)
95f) Close sync dialog with OK.
96g) Sync.
97
98NOTE:
99AFTER SYNCING THERE ARE "SYNC EVENTS" CREATED
100(OR UPDATED, IF IT ALREADY EXITS) FOR EACH SYNC PROFILE.
101YOU MAY NOT DELETE OR CHANGE THESE EVENTS.
102
103*************************************************************************
1042) Sync settings in sync dialog
105*************************************************************************
106
107a) Local device name:
108 -> 1) b)
109b) Profile:
110 -> 1) c)
111c) Include in multiple sync:
112 In the Synchronize menu, there is a multiple sync menu entry.
113 If you choose this menu entry, all user defined profiles with this
114 'Include in multiple sync' option enabled will be synced
115 one after another. And this twice. This will take some time.
116 After that sync, on all devices should be the same data.
117d) Ask for preferences before sync:
118 Check this to be asked for sync preferences settings before each sync.
119 If the profile kind is "Pi-Sync" you will be asked to confirm
120 the "Pi-Sync" specific settings (Password,IP address, port number)
121 as well. That makes it possible to use that profile for a
122 device that is connected via DHCP to the network and gets different
123 IP addresses when connection to the network.
124e) Sync preferences:
125 Choose here your sync preferences.
126 Details -> 4)
127f) Show summary after sync:
128 Check this to get a small summary dialog after sync
129 about number of added/changed/deleted events on local/remote.
130g) Write back synced data:
131 Uncheck this to update the local calendar only.
132 I.e. your local calendar is synced with the remote calendar
133 but nothing on the remote calendar is changed.
134 If you uncheck "Write back synced data", the settings
135 under h) and i) are ignored, of course.
136h) --Write back (on remote) existing entries only:
137 Check this to update the remote data only.
138 I.e. no data from yor local calendar/addressbook is added to the
139 remote device. You may use this option to
140 sync against some kind of "public calendar/addressbook" without
141 writing back your personal data.
142i) --Write back (calendar) entries in future only:
143 Check this to write back only calendar entries in future.
144 (Useful when syncing with mobile phones.)
145 You can specify the date range in weeks with
146 ---- Max. weeks in future.
147 Note: The date range starts always 7 days before the actual date!
148 I.e. the calendar events of the last week are written back always.
149j) Profile kind:
150 Details -> 5)
151
152*************************************************************************
1533) Syncing background
154*************************************************************************
155
156The same mentioned for calendars is valid for addressbooks as well.
157
158Synchronizing calendars ( i.e. files ) means,
159to merge two calendars in a useful way.
160If the two calendars are completely different,
161there is no problem, the resulting calendar contains
162all data from the local and from the remote calendar.
163
164Problems will occur, if you have edited items
165from the local calendar on the remote machine.
166Then it could be, that items are in conflict.
167Two items are "in conflict", if they have the
168same unique ID (which get an item at time of
169creation and owns it until it is deleted )
170and they both are modified after the last
171synchronization.
172
173At first sync of two calendars there is no item deleted.
174If the calendars are synced before and there is an item,
175which is not edited after the last sync and is only
176available in one calendar, then this item is deleted
177in this calendar.
178
179But when was the last synchronization between two calendars?
180
181To know that, KO/Pi creates at first syncing
182of two files an unique event "<profile name> - sync Event"
183on the remote and the local calendar.
184After syncing, the start time of this event is set
185to the time of syncing.
186The event is read only and the user may not change it.
187
188If two such files are synced, that both have an event
189"<profile name> - sync Event" and the events have
190the same start time, then deleted items on the one calendar
191are deleted on the other as well.
192
193
194*************************************************************************
1954) Sync preferences
196*************************************************************************
197
198Two items are "in conflict", if they have the same unique ID
199and they both are modified after the last synchronization.
200(Details -> 3) ).
201
202If an item is not modified after the last sync and
203it is not found in the other calendar, it is deleted.
204
205On the first sync, there is no item deleted.
206
207SYNC PREFERENCES:
208 -Take local entry on conflict:
209 Takes the local entry on conflict.
210 If it is the first sync,
211 "Ask for every entry"
212 is chosen automatically,
213 if this is selected.
214
215 -Take remote entry on conflict:
216 Takes the remote entry on conflict.
217 If it is the first sync,
218 "Ask for every entry"
219 is chosen automatically,
220 if this is selected.
221
222 -Take newest entry on conflict:
223 This takes the newest entry on conflict.
224 May be the most useful syncing mode.
225
226 -Ask for every entry on conflict:
227 Pops up an event viewer dialog and
228 shows the two conflicting entries there.
229 The user can chose, which entry he would like to take.
230 The button for the newest entry
231 is automatically set as default button.
232 The color for the newest entry is green.
233
234 -Force: Take local entry always:
235 Even if the calendars are already synced
236 there is no item deleted on local.
237
238 -Force: Take remote entry always:
239 Analogous to
240 "Force: Take local entry always"
241
242*************************************************************************
2435) Details about sync profile kinds
244*************************************************************************
245
246a) Local file
247 Please specify a local file you want to sync with.
248
249b) Pi-Sync (direct Kx/Pi to Kx/Pi sync)
250 We mention here only KO/Pi, but the same is valid for KA/Pi.
251 If you want to sync with a device, where KO/Pi is
252 installed, you can easily get the remote file via network
253 with the build in file transfer feature "Pi-Sync":
254 You have first to enable file transfer on the remote device:
255 - Start KO/Pi on the remote device.
256 - Choose Menu Synchronize-Enable Pi-Sync.
257 - Choose a port number, where KO/Pi should listen for
258 file sending requests. Valid port numbers are numbers
259 between 1 and 65565. Do not specify port numbers, that are
260 used by other applications. A port number between 9000 and 9999
261 is most likely not used by another application.
262 The default port number is 9197 for KO/Pi.
263 If you specify a port number, which is already in use,
264 you will get an error message when closing this dialog.
265 - Choose a password.
266 - Click OK.
267 Now KO/Pi will send the calendar data via the network,
268 if some other device is sending a "please send calendar"
269 request on the given port using the given password.
270 If you want to be sure, nobody can access your calendar
271 data, simply disable the file transfer feature on the
272 remote device after the syncing is done by choosing:
273 Menu Synchronize-Disable Pi-Sync.
274
275 Note: If you want to sync with a remote device that gets different
276 IPaddresses each time connected to the network
277 (this may be the case, if you use DHCP for connection
278 of the remote device to the network) simply enable
279 "Ask for preferences before sync".
280 Then you will be asked to confirm the
281 "Pi-Sync" specific settings
282 (Password,IP address, port number)
283 and you can easily change the IP address before each sync.
284
285 On your local device, create a new profile and choose
286 profile kind "Pi-Sync".
287 Fill in the needed values:
288 - Password for remote access:
289 The password you specified on the remote device.
290 - Remote IP address:
291 The IP address of the remote device.
292 - Remote port number:
293 The port number you specified on the remote device.
294
295 Now you can syncronize your local device easily with your
296 remote device. This works well for all platforms KO/Pi is
297 running on, e.g. syncing a KO/Pi on Zaurus with KO/Pi on Windows
298 is now very easy.
299
300c) Remote file
301 Syncing with the profile kind "Remote file" is performed in three steps:
302 i) download the remote file to your local machine to a temp file
303 ii) sync with this temp file
304 iii) upload the synced file to the remote device
305
306 The down-/uploading if i) and iii) is done via a command line command.
307 Please specify the download/upload command ( like scp, ftp, ...) and the
308 file name of the temp file in the corresponding fields.
309
310d) Mobile device (cell phone)
311 Note: On the Zaurus you have to install the phoneaccess_xxx_arm.ipk package
312 to be able to access mobile phones.
313 We mention here only KO/Pi, but the same is valid for KA/Pi.
314 Note:
315 It is only possible to sync a mobile phone with one particular device
316 running KO/Pi. If you want to be able to write data of more than one device
317 to the mobile phone (e.g. from your Zaurus and from your Windows Laptop)
318 do not sync with the mobile phone at all, but use the
319 "Export to phone" functionality from the different devices.
320 Using "Export to phone" makes it not possible to get back data from the
321 phone, if it was changed there, of course.
322 If you sync with the phone, do not use "Export to phone" from any device.
323 (And do not sync, as mentioned above, from any other device with that phone).
324 It would delete the needed information for syncing with that phone!
325
326 We are using Gammu (Version: 0.98.9) ( http://freshmeat.net/projects/gammu/ )
327 for accessing the phones.
328 Note: You cannot use the original Gammu for syncing KDE-Pim/Pi, because
329 we have modified the original version to make it useable for syncing!
330 Gammu allows access to many phones in many ways (Irda, Bluetooth, serial,...).
331 The recommended phone access using Gammu with KDE-Pim/Pi is Irda (infrared).
332 Bluetooth access is disabled on the Zaurus, but may work on Windows.
333 Please look at the Gammu homepage and documentation about more details
334 configuring Gammu how to access your phone.
335 If you have problems accessing your phone, start KO/Pi from the konsole
336 and you will get a more detailed output what went wrong.
337 About Gammu from the Gammu homepage:
338 Gammu (formerly known as MyGnokii2) is a cellular
339 manager for various mobile phones/modems.
340 It supports the Nokia 2100, 3100, 32xx, 33xx,
341 3410, 35xx, 51xx, 5210, 5510, 61xx, 62xx,
342 63xx, 6510, 6610, 6800, 71xx, 7210, 7250,
343 7250i, 82xx, 83xx, 8910, 9110, 9210
344 and compatible and AT devices (Siemens, Alcatel,
345 Falcom, WaveCom, IPAQ, Samsung, SE, and others)
346 over cables/infrared/BlueTooth.
347
348 Here is an example what to specify to access a Nokia 6310i via infrared:
349 On Linux (Zaurus):
350 I/O device: /dev/ircomm
351 Connection: irda
352 Model: <leave empty>
353
354 On Windows:
355 I/O device: <ignored - i.e. leave empty>
356 Connection: irda
357 Model: <leave empty>
358
359 Here is the overview from the Gammu documentation,
360 how to specify the connection settings for
361 I/O device:
362 Connection:
363 Model:
364
365 Note: The documentation uses the term "port",
366 where we use the term "I/O device".
367 Note: You do not have to create/change the gammurc configuration file.
368 That will do KO/Pi for you.
369 Note: For a known model, leave "Model:" always empty,
370 such that Gammu can auto detect the model.
371
372# This is a sample ~/.gammurc file.
373# In Unix/Linux copy it into your home directory and name it .gammurc
374# or into /etc and name it gammurc
375# In Win32 copy it into directory with Gammu.exe and name gammurc
376# More about parameters later
377# -----------------------------------------------------------------------------
378
379[gammu]
380
381port = com8:
382#model = 6110
383connection = fbusblue
384#synchronizetime = yes
385#logfile = gammulog
386#logformat = textall
387#use_locking = yes
388#gammuloc = locfile
389#startinfo = yes
390#gammucoding = utf8
391
392[gammu1]
393
394port = com8:
395#model = 6110
396connection = fbusblue
397#synchronizetime = yes
398#logfile = gammulog
399#logformat = textall
400#use_locking = yes
401#gammuloc = locfile
402#startinfo = yes
403#gammucoding = utf8
404
405# -----------------------------------------------------------------------------
406# Now info about "Connection" parameter and connected with it port type
407# (more about port types later)
408# -----------------------------------------------------------------------------
409# "Connection" parameter | Port type | More details
410# -----------------------|-----------|-----------------------------------------
411# "fbus" | serial | Nokia FBUS2
412# "fbusirda"/"infrared" | serial | Nokia FBUS2 over direct infrared device
413# "fbusdlr3"/"dlr3" | serial | Nokia FBUS2 with DLR3 cable
414# "fbusdku5" | dku5 | Nokia FBUS2 with DKU5 cable. WIN32 ONLY
415# "fbuspl2303" | usb | Nokia FBUS2 with USB cable based on
416# | | PL2303 chip.
417# "fbusblue" | serial | Nokia FBUS2 over Bluetooth serial device
418# "phonetblue" | serial | Nokia PHONET FBUS over Bluetooth serial
419# | | device
420# "mrouterblue" | serial |
421# "mbus" | serial | Nokia MBUS2
422# "at19200"/"at115200"/..| serial | AT commands.8 bits, None parity, 1 stop
423# | | bit, no flow control
424# -----------------------|-----------|-----------------------------------------
425# "irdaphonet"/"irda" | irda | Nokia PHONET FBUS over socket infrared
426# "irdaat" | irda | AT commands with socket infrared
427# "irdaobex" | irda | OBEX over socket infrared. MODEL "obex"
428# -----------------------|-----------|-----------------------------------------
429# "bluephonet" | BT | Nokia PHONET FBUS with Bluetooth stack
430# "bluefbus"/"dlr3blue" | BT | Nokia FBUS2 with Bluetooth stack
431# "blueat"/"atblue" | BT | AT commands with Bluetooth stack
432# "blueobex" | BT | OBEX with Bluetooth. MODEL "obex"
433#
434# Now more about port types and connected with it "Port" parameter
435# -----------------------------------------------------------------------------
436# Port type | "Port" parameter in Windows/DOS | "Port" parameter in Linux/Unix
437# ----------|---------------------------------|--------------------------------
438# serial | "com*:" | "/dev/ttyS*"
439# | (example "com1:") | (example "/dev/ttyS1")
440# | | or "/dev/tts/**" (with DevFS)
441# ----------|---------------------------------|--------------------------------
442# irda | ignored (can be empty) | "/dev/ircomm*"
443# ----------|---------------------------------|--------------------------------
444# BT | Bluetooth device address
445# | (example "")
446# ----------|---------------------------------|--------------------------------
447# dku5 | ignored (can be empty) | connection with it not possible
448# ----------|---------------------------------|--------------------------------
449# usb | connection with it not possible | "/dev/ttyUSB*"
450#
451# Other config parameters
452# -----------------------------------------------------------------------------
453# Parameter name | Description
454# ----------------|------------------------------------------------------------
455# Model | use only, when Gammu doesn't recognize your phone model.
456# | Put it here. Example values: "6110", "6150", "6210", "8210"
457# SynchronizeTime | if you want to set time from computer to phone during
458# | starting connection. Do not rather use this option when
459# | when to reset phone during connection (in some phones need
460# | to set time again after restart)
461# GammuLoc | name of localisation file
462# StartInfo | this option allow to set, that you want (setting "yes")
463# | to see message on the phone screen or phone should enable
464# | light for a moment during starting connection. Phone
465# | WON'T beep during starting connection with this option.
466# GammuCoding | forces using specified codepage (in win32 - for example
467# | "1250" will force CP1250) or UTF8 (in Linux - "utf8")
468# ----------------|------------------------------------------------------------
469# Logfile | Use, when want to have logfile from communication.
470# Logformat | What debug info and format should be used:
471# | "nothing" - no debug level (default)
472# | "text" - transmission dump in text format
473# | "textall" - all possible info in text format
474# | "errors" - errors in text format
475# | "binary" - transmission dump in binary format
476# ----------------|------------------------------------------------------------
477# Use_Locking | under Unix/Linux use "yes", if want to lock used device
478# | to prevent using it by other applications. In win32 ignored
479
480
481
482
483 \ No newline at end of file