Am Freitag 20 Oktober 2006 21:34 schrieb Hadmut Danisch:
> I experience the problem to be unable to sync with a Sony Ericsson
> K610i. Before reporting bugs, the package should be updated.

Upgrading to the latest version does not always solve problems. It can also 
create new ones.
I will not upgrade to 0.21 before Etch release but upstream author published a 
patch for Ericsson phones, today!
The other patches in the package make it actually work better than 0.21 (most 
patches are in upstream's queue for 0.22).

I attached it together with a script to include in a 0.19-7. Just put both 
files into an empty dir and run the script.

Test the result. I can provide you a test package for i386 only.

Unluckily, you didn't tell what you mean with "sync".

HS
Index: obexftp-0.19/bfb/bfb_io.c
===================================================================
--- obexftp-0.19.orig/bfb/bfb_io.c	2006-10-21 02:29:06.841729997 +0200
+++ obexftp-0.19/bfb/bfb_io.c	2006-10-21 02:29:23.927498064 +0200
@@ -470,15 +470,6 @@
 	return ttyfd;
 
  ericsson:
-	if(do_at_cmd(ttyfd, "", rspbuf, sizeof(rspbuf)) < 0)	{
-		DEBUG(1, "Comm-error\n");
-		goto err;
-	}
-	if(strcasecmp("OK", rspbuf) != 0)	{
-		DEBUG(1, "Error completing AT+GMI (%s)\n", rspbuf);
-		goto err;
-	}
-
 	if(do_at_cmd(ttyfd, "AT*EOBEX\r\n", rspbuf, sizeof(rspbuf)) < 0) {
 		DEBUG(1, "Comm-error\n");
 		goto err;

Attachment: fix-build.sh
Description: application/shellscript

Reply via email to