wiki:plugins/irmc-sync

Introduction

This plugin allows applications using OpenSync to synchronize mobile phones with IrMC support.

Tested Devices

Siemens

{| border="1" ! Model !! Firmware !! Bluetooth !! IrDA !! USB !! Contacts !! Events !! Notes !! Todos !! Tester !! Comments

| M75
SW12 {{Y}} {{Y}}{{Q}} {{y}} {{y}} {{y}} {{Q}} Lowtower it works in only one direction, from mobile to kdepim, no writing to mobile phone possible, knotes must be installed.<br />

Bluetooth connection works, msynctool is telling of a lot of syncing but drops everything at the end.<br /><br /> Since OpenSUSE 10.3 it works fine with msynctool but not with multisync-gui.

|}

Sony Ericsson

{| border="1" ! Model !! Firmware !! Bluetooth !! IrDA !! USB !! Contacts !! Events !! Notes !! Todos !! Tester !! Comments

| T610 | K750i | w810i | w850i | V800i
{{Q}} {{y}} {{Q}}{{Q}} {{Q}} {{Q}} {{n}} {{Q}} [[User:peternixon|peternixon]]
R1CA021 {{y}} {{Q}}{{Q}} {{y}} {{y}} {{y}} {{y}} [[User:cstender|cstender]]
R4EA031 {{y}} {{Q}}{{n}} {{y}} {{y}} {{n}} {{y}} [[User:hanskg|hanskg]] This was done with kitchensync.
R1JG001 {{y}} {{Q}}{{Q}} {{y}} {{y}} {{n}} {{y}} [[User:pitkali|pitkali]] Done with kitchensync.
{{Q}} {{y}} {{Q}}{{Q}} {{y}} {{y}} {{Q}} {{Q}} [[User:alt-os|alt-os]] Synking evolution, using multysinc.

|}

Notes

Syncronisation of notes doesn't work with newer Sony Ericsson cell phones. If your phone is crashing or if you receive an error like "Request failed" please try "--filter-objtype note".

It seems that some phones (e.g. SE K750i) accept EXDATE attributes, but cannot delete them. You have to delete the whole event and create a new one without EXDATE attributes.

Example configurations

Bluetooth

 <config>
    <connectmedium>bluetooth</connectmedium>
    <btunit>$MAC</btunit>
    <btchannel>$CHANNEL</btchannel>
  </config>

This is an example for a connection via bluetooth. Replace $MAC with the mac address of your phone. You get it with "hcitool scan" (your phone must be visible).

  user@laptop:~> hcitool scan
  Scanning ...
          00:16:20:33:33:33    K750i <--- $MAC

Now we need to find out the channel of the IrMC Server. Try "sdptool browse $MAC". We hopefully get a output like this:

  Service Name: OBEX IrMC Sync Server
  Service RecHandle: 0x10008
  Service Class ID List:
    "IrMC Sync" (0x1104)
  Protocol Descriptor List:
    "L2CAP" (0x0100)
    "RFCOMM" (0x0003)
      Channel: 8      <--- $CHANNEL
    "OBEX" (0x0008)
  Profile Descriptor List:
    "IrMC Sync" (0x1104)
      Version: 0x0100

Replace $CHANNEL with "8" and your config should now look like this:

  <config>
    <donttellsync>false</donttellsync>
    <connectmedium>bluetooth</connectmedium>
    <btunit>00:16:20:33:33:33</btunit>
    <btchannel>8</btchannel>
  </config>

Infrared

  <config>
    <donttellsync>false</donttellsync>
    <connectmedium>ir</connectmedium>
    <irname>$IDENTIFIER</irname>
  </config>

We need to find out the device identifier. Start the infrared daemon (irda) and try "irdadump".

  12:46:41.534956 xid:cmd 51051736 > ffffffff S=6 s=3 (14)
  12:46:41.634962 xid:cmd 51051736 > ffffffff S=6 s=4 (14)
  12:46:41.734970 xid:cmd 51051736 > ffffffff S=6 s=5 (14)
  12:46:41.822417 xid:rsp 51051736 < 00001a28 S=6 s=5 Sony Ericss hint=9124 [ PnP Modem IrCOMM IrOBEX ] (28)

In this case $IDENTIFIER is "Sony Ericss". Your config should now look like this:

  <config>
    <donttellsync>false</donttellsync>
    <connectmedium>ir</connectmedium>
    <irname>Sony Ericss</irname>
  </config>