> > > > > > 
> > > > > > > 
> > > > > > > odccm -f -l 6
> > > > > > > 
> > > > > > > ** (odccm:11991): DEBUG: _odccm_interface_address: waiting for IP 
> > > > > > > address on ppp0
> > > > > > > ** (odccm:11991): DEBUG: _odccm_interface_address: waiting for IP 
> > > > > > > address on ppp0
> > > > > > > ** (odccm:11991): DEBUG: _odccm_interface_address: waiting for IP 
> > > > > > > address on ppp0
> > > > > > > ** (odccm:11991): DEBUG: _odccm_interface_address: waiting for IP 
> > > > > > > address on ppp0
> > > > > > > ** (odccm:11991): DEBUG: _odccm_interface_address: waiting for IP 
> > > > > > > address on ppp0
> > > > > > > ** (odccm:11991): DEBUG: device_info_received_legacy
> > > > > > > ** (odccm:11991): DEBUG: 28 00 00 00 05 00 78 05 11 0a 00 00 00 
> > > > > > > 00 00 00 00 00 00 00 00 00 00 00 28 00 00 00 3c 00 00 00 50 00 00 
> > > > > > > 00 00 00 00 00 4d 00 44 00 50 00 4e 00 41 00 34 00 37 00 30 00 54 
> > > > > > > 00 00 00 4d 00 44 00 50 00 4e 00 41 00 34 00 37 00 30 00 54 00 00 
> > > > > > > 00 4d 00 44 00 50 00 4e 00 41 00 34 00 37 00 30 00 54 00 52 00 32 
> > > > > > > 00 33 00 00 00
> > > > > > > ** Message: device_info_received_legacy: registering object path
> > > > > > > '/org/synce/odccm/Device/192_168_131_129'
> > > > > > > 
> > > > > > > 
> > > > > > > First thing I tried was pstatus command, which dosen't look good, 
> > > > > > > compared to pstatus output using vdccm:
> > > > > > > 
> > > > > > 
> > > 
> > > I'm using all the stuff from the 0.11 release (except:
> > > sync-engine, usb-rndis-lite and librra) 
> > > and I did compile everything from source.
> > > 
> > > Attached is the output of running odccm -f -l 6,
> > > after the device got connected, I run pstatus and killed odccm then.
> > > 
> > > -Steffen
> > > 
> > 
> > Going through some of the output.
> > 
> > ** (odccm:13564): DEBUG: device_info_received_legacy: name: MDPNA470T
> > 
> > ** (odccm:13564): DEBUG: device_info_received_legacy: platform_name:
> > MDPNA470T
> > ** (odccm:13564): DEBUG: device_info_received_legacy: model_name:
> > MDPNA470TR23
> > 
> > Do these look ok from what you know of your device ? Its an odd
> > question, but I want to make sure we dont miss anything.
> Yeah this looks ok.
> 
> 
> > 
> > ** (odccm:13564): DEBUG: device_info_received_legacy: os_major: 5
> > 
> > What version of WM is your device ? This would imply WM5 to the best of
> > my knowledge, but since your using serial instead of rndis I assumed it
> > was WM2003.
> Windows CE 5.00 Build 1400

I'm getting a little confused, and I'm hoping someone else can pitch in,
because I am not actually a Windows Mobile / CE expert.

Because os_major is 5, this is what I would expect to be a "windows
mobile 5" device, but that may be because I've never actually seen the
output from one "live". I'd initially assumed it was pre WM5 because it
doesn't support rndis.

Yet it appears to be pre WM5 because it connects to odccm perfectly well
using the legacy interface. Bizarre.

Steffen, if my speculations are correct, I think your problem may be
that librapi is using the wrong rapi protocol to talk to your device.
When using vdccm, rapi assumes all devices use rapi1, which would
probably mean WM5 devices shouldn't work. When I put legacy support into
odccm, librapi had to decide whether to use rapi1 or rapi2 (why does MS
do this stuff !!!!) so I assumed an os > 4 would be WM5 and therefore
rapi2. Maybe that is wrong.

I've attached a patch to librapi that forces use of the rapi1 protocol,
can you try it.

I'm hoping I'm completely wrong here.

Mark



diff -Nur librapi2.orig/src/support/rapi_context.c librapi2/src/support/rapi_context.c
--- librapi2.orig/src/support/rapi_context.c	2008-01-09 18:03:56.000000000 +0000
+++ librapi2/src/support/rapi_context.c	2008-02-26 18:10:24.000000000 +0000
@@ -166,10 +166,7 @@
             synce_error("failed to connect to proxy for %s", info->ip);
             goto fail;
         }
-	if (info->os_version < 5)
-	  context->rapi_ops = &rapi_ops;
-	else
-	  context->rapi_ops = &rapi2_ops;
+	context->rapi_ops = &rapi_ops;
     }
 
 	context->is_initialized = true;
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
SynCE-Devel mailing list
SynCE-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel

Reply via email to