I tried MultiSync to sync my SE K500i over a USB cable, but could not get it 
to connect. After fiddeling about with it for a while, i noticed that it 
would connect fine if I opened at terminal on /dev/ttyUSB0 and sent a 
"return" to wake the modem up. (I used GtkTerm to do this).

I went to the code (which I had allready downloaded to apply the sleep(5) hack 
described at http://www.phildev.net/linux/t637.html) and inserted a \r to the 
init string in the gint obex_cable_connect(obex_t *handle, gpointer ud) 
{ function in multisync-0.82/plugins/irmc_sync/src/irmc_obex.c (same file as 
the sleep(5) hack).

Alteration of the code follows:

<code>
  // Set up Ericsson phone in OBEX mode.
  // Edited by Frode Hatlevik to initialize SonyEriccson K700

  /* Original code
  if(obex_cable_at(userdata, "ATZ\r", rspbuf, sizeof(rspbuf), 1) < 0)   {
    dd(printf("Comm-error sending ATZ\n"));
  }*/
  //Fixed code
  if(obex_cable_at(userdata, "\r", rspbuf, sizeof(rspbuf), 1) + 
obex_cable_at(userdata, "ATZ\r", rspbuf, sizeof(rspbuf), 1) < 0) {
    dd(printf("Comm-error sending ATZ\n"));
  }
</code>

As far as I can see, there should be no problem in sending this carriage 
return to other SE phones as well.

This did not solve al my troubles, though, as MultiSync was not able to 
syncronize the phone properly to Evolution2. The address book has changed 
quite a bit since T630, and the calendar only synced once. Any further ideas?

;)Frode
Frode Hatlevik


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Multisync-devel mailing list
Multisync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/multisync-devel

Reply via email to