Opensync, Nokia N95 und KDE

Spannende Frage. Wie synchronisiert man seine Kontakte, den Kalender und anderen Kram mit seinem Handy.

Opensync bietet dazu mittlerweile die Möglichkeit, wenn auch noch mit kleinen Mängeln.

Zuerst sollte man sich Opensync und ein paar Plugins aus dem Repository seiner Distribution ziehen, oder das ganz selbst kompilieren. Für Ubuntu wird das ganze hier erklärt.

Die wichtigen Plugins sind zuerst einemal:

Wenn man damit fertig ist, geht es an die Konfiguration des Programmes. Ich habe bislang nur über Bluetooth synchronisiert.

Schritt 1:

msynctool –addgroup Nokia-KDE

Wir erstellen uns eine Gruppe Nokia-KDE.

msynctool –addmember Nokia-KDE kdepim-sync syncml-obex-client

Wir fügen der Gruppe zwei Plugins hinzu. einmal das KDE-Pim-Plugin und das SyncML-Bluetooth-Plugin.

Nun müssen die Plugins noch konfiguriert werden. Das KDE-Pim-Plugin bietet bislang noch keine Optionen. Anders sieht es allerdings beim SyncML-Plugin aus:

msynctool –configure Nokia-KDE 2

Es öffnet sich ein Editor (nano, oder etwas ähnliches ;-) ):

<?xml version="1.0"?>
<config>
  <!-- (Only for bluetooth) The bluetooth address if the bluetooth mode is selected -->
  <bluetooth_address>00:1C:9A:21:94:B9</bluetooth_address>

  <!-- (Only for bluetooth) The bluetooth channel to use. `sdptool browse $MAC` to search for the correct channel -->
  <bluetooth_channel>10</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>2</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</calendar_db>

  <!-- The name of the note db. Must be the same as the phones sends -->
  <note_db>Notes</note_db>
</config>

Die Bluetoothadresse oben muss natürlich durch die des eigenen Handys ersetzt werden.
Im Handy sollte nun noch die SyncML Version von Version 1.2 auf 1.1 gestellt werden. Für die Synchronisation sollte Kontact beendet werden.

Mit dem Befehl:

msynctool –sync Nokia-KDE

lässt sich nun die Synchronisation starten.

Kontakte konnte ich bereits erfolgreich synchronisieren. Kalenderdaten gingen noch nicht. Für Tipps bin ich dankbar. ;-)

Kommentare

12 Kommentare zu “Opensync, Nokia N95 und KDE”

  1. david am Juli 23rd, 2007 20:26

    Welche opensync version/build hast du benutzt. Habe mit 0.22 + 0.31 probiert, bekomme aber immer ‘System Error’ auf dem Mobile.

  2. floyd am Juli 23rd, 2007 20:28

    0.22

    Allerdings werde ich es mit der 0.31 demnächst auch mal versuchen. Ist die schon stable?

  3. Bogo am August 21st, 2007 15:59

    Thank you for the settingssssssssssss. Thanks, Danke ….

  4. floyd am August 23rd, 2007 21:10

    Bitte.

  5. buggy am September 22nd, 2007 19:12

    Hi!

    Mit welcher Distri hast du das denn gemacht?

    Ich habs mit Kubuntu 7.04 probiert und bekomme:

    $ msynctool –sync Nokia-KDE
    Synchronizing group “Nokia-KDE”
    The previous synchronization was unclean. Slow-syncing
    X Error: BadDevice, invalid or uninitialized input device 169
    Major opcode: 147
    Minor opcode: 3
    Resource id: 0×0
    Failed to open device
    X Error: BadDevice, invalid or uninitialized input device 169
    Major opcode: 147
    Minor opcode: 3
    Resource id: 0×0
    Failed to open device
    Member 1 of type kdepim-sync just connected
    received event dsession
    received contact dsession
    received note dsession
    Member 2 of type syncml-obex-client just connected
    All clients connected or error
    Received an entry 95wEz8XgBQ with data of size 8 from member 1. Changetype ADDED
    Received an entry ApmuaFCIBL with data of size 8 from member 1. Changetype ADDED
    Received an entry GjiEa72nFc with data of size 8 from member 1. Changetype ADDED
    Received an entry JMD0AJc1U5 with data of size 8 from member 1. Changetype ADDED
    Received an entry XPTtlsNTMD with data of size 8 from member 1. Changetype ADDED
    Received an entry btyLRGbVM0 with data of size 8 from member 1. Changetype ADDED
    Received an entry gjyMgDYM7Z with data of size 8 from member 1. Changetype ADDED
    Received an entry iXz1iYUSEz with data of size 8 from member 1. Changetype ADDED
    Received an reply to our Alert
    Received an reply to our Alert
    Received an reply to our Alert
    Received an entry kn19mJSNp7 with data of size 8 from member 1. Changetype ADDED
    Received an entry xNONRViVqd with data of size 8 from member 1. Changetype ADDED
    Member 2 of type syncml-obex-client just sent all changes
    KCrash: Application ‘libopensync-kdepim-plugin’ crashing…
    Member 1 of type kdepim-sync had an error while getting changes: Broken Pipe
    Member 1 of type kdepim-sync had an error while disconnecting: Broken Pipe
    Member 2 of type syncml-obex-client just disconnected
    All clients have disconnected
    The sync failed: Unable to read from one of the members
    Error synchronizing: Unable to read from one of the members
    Pipe closed! Exiting.

    Woran kann das denn liegen?

    Ausserdem gibts nen KDE Crash Report: libopensync-kdepim-plugin ist abgest

  6. hiasll am Oktober 6th, 2007 19:10

    Ich bekomme auch immer Systemfehler am Mobile mit opensync 0.19

    Welche Version hast du benutzt?

    Danke f

  7. floyd am Oktober 7th, 2007 19:33

    Hallo.

    ich habe Version 0.22 verwendet. Es gibt aber wohl bereits aktuellere Versionen.

    Vielleicht versucht ihr das mit diesen einmal.

  8. hiasll am Oktober 8th, 2007 13:24

    Hallo floyd,

    danke f

  9. floyd am Oktober 28th, 2007 14:06

    @hiasll:

    Sorry das ich mich eine Weile nicht mehr gemeldet habe.

    Ich habe dieselbe Softwareversion wie du.
    Ich werde das ganz die n

  10. hiasll am Oktober 29th, 2007 15:13

    Hallo floyd,

    danke f

  11. novice am November 3rd, 2007 14:43

    Hi alle,

    habe heute auch mal ein bisschen mit OpenSync (0.19) und meinem Nokia N95 rumgespielt.

    Nach einigen Startschwierigkeiten hat dann doch alles bestens funktioniert. Ich konnte auch meine Kontakte, Aufgaben etc. synchronisieren.

    Hier meine Konfig f

  12. nd am November 19th, 2008 11:27

    Hi,

    unter

    http://en.ernstblaauw.nl/2008/11/18/synchronize-your-nokia-n95-in-ubuntu-using-usb/

    gibts eine ähnlich Beschreibung zur Synchronisation mit Evolution. Vielleicht hilft es jemandem.

Schreibe einen Kommentar