Click here to get back home

ActiveSync 4.2 not working on WM5.0 device over USB Serial Function driver

 HomeNewsGroups | Search | About
 microsoft.public.smartphone    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
ActiveSync 4.2 not working on WM5.0 device over USB Serial Function driver ManishT 06-22-2006
Posted by ManishT on June 22, 2006, 5:46 am
Please log in for more thread options
Help Needed frm all WM Smartphone Punters,

I am stuck with problem of not being able to make activesync working on
WM5.0 device over USB1.1.

The USB drvr(Serial Function Class) is working on WinCE5.0 on the same
device.
Note: No change in Deskop Configuration from WindowsCE to WM.

Even then no success.

I have made sure that all the settings are done as per the requirement.
USB Mass Storage functionality is working on WM.But for the same USB
driver the serial function class is now working for ActiveSync.

The Platform.reg settings for USB are mentioned below for me:

;--------------------------------------------------
; Entry for USBFN driver
;--------------------------------------------------
IF BSP_USB
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Usbfn]
"InterfaceType"=dword:0 ; Internal
"Prefix"="UFN"
"Dll"="usbfn.dll"
"Mode"=dword:1        ;1 for Interrupt Mode, 0 for DMA mode
"Order"=dword:5
        "bcdUSB"=dword:0110
"Priority256"=dword:64
"BusIoctl"=dword:2a0048
        "IClass"=multi_sz:"=%b","=%b"

ENDIF

;----------------------------------------------------
; Entry for USBFN Serial Client
;----------------------------------------------------

IF BSP_AS_USBFN
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver"=- ; erase previous default
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver"="Serial_Class"

[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class]
"Dll"="serialusbfn.dll"
"DeviceName"="USBFNS1:"
"Prefix"="COM"
"DeviceArrayIndex"=dword:0
"IClass"=""
; idVendor must be changed. 045E belongs to Microsoft and is only to be
used for
; prototype devices in your labs. Visit http://www.usb.org to obtain a
vendor id.
"idVendor"=dword:045E
"Manufacturer"="Generic Manufacturer (PROTOTYPE--Remember to change
idVendor)"
"idProduct"=dword:00ce
"Product"="Generic Serial (PROTOTYPE--Remember to change idVendor)"
"bcdDevice"=dword:0
"Tsp"="Unimodem.dll"
"DeviceType"=dword:0

[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\USBSER_Class]
"Dll"="serialusbfn.dll"
"DeviceName"="USBFNS2:"
"Prefix"="COM"
"DeviceArrayIndex"=dword:1

"IClass"=multi_sz:"",""
; idVendor must be changed. 045E belongs to Microsoft and is only to be
used for
; prototype devices in your labs. Visit http://www.usb.org to obtain a
vendor id.
"idVendor"=dword:045E
"Manufacturer"="Generic Manufacturer (PROTOTYPE--Remember to change
idVendor)"
"idProduct"=dword:0079
"Product"="Generic Serial (PROTOTYPE--Remember to change idVendor)"
"bcdDevice"=dword:90
"Tsp"="Unimodem.dll"
"DeviceType"=dword:0

[HKEY_LOCAL_MACHINE\Comm\USB\Linkage]
"Bind"=multi_sz:"USBFNSER1"

[HKEY_LOCAL_MACHINE\Comm\USBFNSER]
"DisplayName"="USB Driver"
"Group"="Serial"
"ImagePath"="serialusbfn.dll"

[HKEY_LOCAL_MACHINE\Comm\USBFNSER\Linkage]
"Route"=multi_sz:"USBFNSER1"

[HKEY_LOCAL_MACHINE\Comm\USBFNSER1\Parms]
; Intentionally left blank as a placeholder.

;
-----------------------------------------------------------------------------
; ActiveSync USB Serial Reg Entry


[HKEY_CURRENT_USER\ControlPanel\Comm]
"AutoCnct"=dword:00000001
"Cnct"="USBDefault"

[HKEY_CURRENT_USER\Comm\RasBook\USBDefault]
"DevCfg"=hex:\

30,00,00,00,78,00,00,00,00,01,00,00,00,4b,00,00,07,00,08,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00
"Entry"=hex:\

08,02,40,00,00,00,00,00,00,00,00,00,00,00,ff,ff,e0,72,8a,02,40,53,01,7c,01,\

00,00,00,01,00,00,00,01,00,00,00,ac,eb,04,0e,05,00,00,00,04,e5,04,0e,01,00,\

00,00,a8,e4,04,0e,50,4e,03,00,e0,35,01,7c,a8,e4,04,0e,c0,50,03,00,b0,e4,04,\

0e,fa,17,05,0e,00,00,00,00,00,00,00,00,00,00,00,00,e0,35,01,7c,00,00,00,00,\

05,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,e0,35,01,7c,00,e4,04,0e,00,\

00,00,00,01,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,28,ed,8a,02,01,00,\

00,00,00,00,ff,00,99,00,00,00,00,ef,8a,02,01,00,00,00,00,00,00,00,05,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,04,00,00,00,00,00,00,00,18,78,8a,02,\

00,00,00,00,90,49,01,7c,00,00,00,00,e0,35,01,7c,01,00,00,00,00,00,00,00,00,\

00,00,00,ac,e5,04,0e,88,e6,04,0e,40,1c,16,00,00,00,00,00,28,ed,8a,02,00,00,\

00,00,00,ef,8a,02,e0,35,01,7c,01,00,00,00,5e,01,00,00,04,e5,04,0e,04,e5,04,\

0e,05,00,00,00,01,00,00,00,47,01,00,00,d6,84,a1,cb,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,64,00,69,00,72,\

00,65,00,63,00,74,00,00,00,04,0e,00,00,00,00,00,00,00,00,05,00,00,00,e0,35,\

01,7c,e0,35,43,00,4f,00,4d,00,31,00,3a,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,d6,84,a1,cb,00,00,00,00,01,00,00,00,05,00,00,00,48,bc,02,00,\

00,00,00,00,08,e6,04,0e,24,fd,0f,00,40,53,01,7c,89,01,00,00,00,00,00,00,fa,\

17,05,0e,05,00,00,00,b0,76,f4,03,00,00,00,00,05,00,00,00,00,00,00,00,05,00,\

00,00,05,00,00,00,fa,17,05,0e,40,e6,04,0e,28,cd,0f,00,c0,26,18,0a,81,00,00,\

00,fa,17,05,0e,00,00,00,00,00,00,00,00,3c,ec,04,0e,ac,e9,17,0a,c0,26,18,0a,\

fa,17,05,0e,40,1c,16,00,04,00,00,00,00,00,00,00,18,78,8a,02,00,00,00,00,04,\

16,8a,02,b2,84,a1,cb,fa,17,05,0e,00,00,00,00,00,00,00,00,00,00,00,00,08,00,\

00,00,01,00,00,00,28,ed,8a,02,20,7d,16,00,00,00,00,00,00,00,00,00,00,00,00,\

00,e4,eb,04,0e,00,00,00,00,b0,e9,17,0a,00,00,00,00,00,00,00,00,f0,f0,00,00,\

00,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,01,00,00,00,00,00,ff,00,05,00,00,00,01,00,00,00,01,00,00,00,ac,e9,\

17,0a,c0,26,18,0a,b2,84,a1,cb,fa,17,05,0e,f0,f0,00,00,00,00,00,00,0c,00,00,\

00,7c,fe,04,c2,00,00,00,00,05,00,00,00,18,e7,04,0e,d6,84,a1,cb,d6,84,a1,cb,\

58,9a,16,0a,01,00,00,00,2c,e7,04,0e,48,4e,07,00,58,9a,16,0a,c4,07,01,7c,c0,\

07,01,7c,60,47,01,7c,c4,07,01,7c,01,00,00,00,64,47,01,7c,54,e7,04,0e,78,09,\

05,00,50,9a,16,0a,04,08,01,7c,c4,07,01,7c,b2,84,a1,cb,c4,07,01,7c,6c,e7,04,\

0e,08,bd,02,00,b8,eb,04,0e,78,e7,04,0e,e0,04,05,00,b8,eb,04,0e,84,e7,04,0e,\

40,ba,02,00,00,00,00,00,e0,35,01,7c,c4,07,01,7c,90,e7,04,0e,a8,e7,04,0e,b8,\

e7,04,0e,a0,e7,04,0e,01,00,00,00,00,00,00,00,fa,17,05,0e,00,00,00,00,00,82,\

03,00,4e,a6,b5,6b,05,00,00,00,00,00,00,00,40,52,01,7c,00,35,01,7c,d4,c7,0f,\

00,fa,17,05,0e,01,00,00,00,05,00,00,00,00,00,00,00,40,52,01,7c,01,00,00,00,\

01,35,01,7c,c8,e7,04,0e,01,de,0b,88,24,e8,04,0e,40,52,01,7c,01,00,00,00,01,\

00,00,00,01,00,00,00,ac,eb,04,0e,05,00,00,00,84,e8,04,0e,01,00,00,00,28,e8,\

04,0e,50,4e,03,00,e0,35,01,7c,28,e8,04,0e,c0,50,03,00,30,e8,04,0e,fa,17,05,\

0e,00,00,00,00,00,00,00,00,00,00,00,00,e0,35,01,7c,00,00,00,00,05,00,00,00,\

00,65,08,24,03,d5,00,10,fb,39,45,44,00,ff,04,0e,e0,35,01,7c,e0,35,01,7c,00,\

00,00,00,d6,84,a1,cb,01,00,00,00,01,00,00,00,00,00,00,00,7c,e8,04,0e,d6,84,\

a1,cb,14,c7,12,00,01,00,00,00,8c,e8,04,0e,48,bc,02,00,14,c7,12,00,98,e8,04,\

0e,08,bd,02,00,b0,e8,04,0e,a4,e8,04,0e,f0,d2,0a,00,b0,e8,04,0e,00,00,00,00,\

d0,4b,01,7c,00,00,00,00,00,00,00,00,01,00,00,00,7c,e8,04,0e,01,ed,8a,02,c0,\
26,05,00,00,00,00,0e,00,00,00,00

[HKEY_LOCAL_MACHINE\Comm\DefaultConnections]
"USBDefault"=multi_sz:"USB Cable:","115200"

[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class\Config]
"EnableFlowHard"=dword:0
"EnableFlowSoft"=dword:0

ENDIF; BSP_AS_USBFN
===================================================
Note:Same settings are working in WinCE5.0.
Am i missing anything in WM5.0 settings?

The entry for Serial Port Driver is as follows in Platform.reg.
===================================================
;--------------------------------------------------
; Entry for Serial Port driver
;--------------------------------------------------
; @CESYSGEN IF CE_MODULES_SERIAL
; @XIPREGION IF PACKAGE_OEMDRIVERS
IF BSP_SERIAL
IF BSP_UART0        ;UART0 Driver
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial]
"DeviceArrayIndex"=dword:0
"Dll"="uart_driver.dll"
"DMA"=dword:0
;Added by Ira for power management
"IClass"=""
; IoBase entries should be the same as the VA_UART0_BASE platform.[hs]
settings
"IoBase"=dword:a21FD000 ; UART0
"Index"=dword:1
"Mode"=dword:1
"Order"=dword:0
"Prefix"="COM"
"Priority256"=dword:20
"SysIntr"=dword:11 ; UART0
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial\Unimodem]
"Tsp"="Unimodem.dll"
"DeviceType"=dword:0
"FriendlyName"="Serial Cable on COM1:"
"DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00,
00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00
ENDIF ; BSP_UART0_DEVICE

IF BSP_UART1        ;UART1 Driver
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2]
"DeviceArrayIndex"=dword:0
"Dll"="uart_driver.dll"
"DMA"=dword:0
        ;Added by Ira for power management
"IClass"=""
; IoBase entries should be the same as the VA_UART0_BASE platform.[hs]
settings
"IoBase"=dword:a21FB000 ; UART1
"Index"=dword:2
"Mode"=dword:1
"Order"=dword:15
"Prefix"="COM"
"Priority256"=dword:20
"SysIntr"=dword:12 ; UART1
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2\Unimodem]
"Tsp"="Unimodem.dll"
"DeviceType"=dword:0
"FriendlyName"="Serial Cable on COM2:"
"DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00,
00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00
ENDIF ;BSP_UART1_DEVICE

IF BSP_BLUETOOTH
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Patch]
"Dll"="patch.dll"
"Order"=dword:2
"Prefix"="PAT"
"Index"=dword:1
"OnBoard"=dword:1 ; Comment this entry if external minikit is
used.

IF BSP_BT_A2DP !
"baudrate"=dword:1c200
ELSE
"baudrate"=dword:70800 ; Higher Baud Rate for A2DP
ENDIF ;BSP_BT_A2DP !

[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\Transports\BuiltIn]
"driver"="bthuart.dll"
"flags"=dword:4
"Order"=dword:1
"name"="COM1:"
"baud"=dword:1c200
"resetdelay"=dword:1388
ENDIF BSP_BLUETOOTH

ENDIF ;BSP_SERIAL
====================================================

Host is able to detect the Device in the DeviceManager.
But ActiveSync is not doing anything.

I checked the log wcescomm.log for WM5.0:

06/21/2006 08:43:43.324 - Desktop unlocked.
06/21/2006 08:51:09.016 - Desktop Locked.
06/21/2006 08:53:15.528 - Desktop unlocked.
06/21/2006 09:00:27.119 - Desktop Locked.
06/21/2006 09:23:33.452 - Desktop unlocked.
06/21/2006 09:30:47.792 - USB: RNDIS device id
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 09:30:47.886 - USB: Event 32768, name
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 09:30:47.886 - USB: Device Arrival notification
06/21/2006 09:30:47.886 - UsbComm: Open device <USB>.
06/21/2006 09:30:47.902 - Serial: Starting device detection at 115200.
06/21/2006 09:30:47.902 - UsbComm: Change DTR to 1.
06/21/2006 09:30:47.917 - UsbComm: Change DTR to 1.
06/21/2006 10:39:18.229 - UsbComm: Change DTR to 0.
06/21/2006 10:39:18.229 - UsbComm: Closed device.
06/21/2006 10:39:18.495 - USB: RNDIS device id
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 10:39:18.619 - USB: Event 32772, name
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 10:39:18.619 - USB: Device Remove Complete notification
06/21/2006 10:53:29.364 - USB: RNDIS device id
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 10:53:29.458 - USB: Event 32768, name
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 10:53:29.458 - USB: Device Arrival notification
06/21/2006 10:53:29.458 - UsbComm: Open device <USB>.
06/21/2006 10:53:29.474 - UsbComm: Change DTR to 1.
06/21/2006 10:53:29.474 - Serial: Starting device detection at 115200.
06/21/2006 10:53:29.474 - UsbComm: Change DTR to 1.
06/21/2006 11:29:30.079 - UsbComm: Change DTR to 0.
06/21/2006 11:29:30.079 - UsbComm: Closed device.
06/21/2006 11:29:30.111 - USB: RNDIS device id
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 11:29:30.220 - USB: Event 32772, name
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 11:29:30.220 - USB: Device Remove Complete notification
06/21/2006 11:29:57.302 - USB: RNDIS device id
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 11:29:57.381 - USB: Event 32768, name
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 11:29:57.381 - USB: Device Arrival notification
06/21/2006 11:29:57.381 - UsbComm: Open device <USB>.
06/21/2006 11:29:57.396 - UsbComm: Change DTR to 1.
06/21/2006 11:29:57.396 - Serial: Starting device detection at 115200.
06/21/2006 11:29:57.396 - UsbComm: Change DTR to 1.
06/21/2006 11:30:53.250 - UsbComm: Change DTR to 0.
06/21/2006 11:30:53.250 - UsbComm: Closed device.
06/21/2006 11:30:53.265 - USB: RNDIS device id
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 11:30:53.359 - USB: Event 32772, name
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 11:30:53.359 - USB: Device Remove Complete notification
06/21/2006 11:31:00.325 - USB: RNDIS device id
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 11:31:00.404 - USB: Event 32768, name
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 11:31:00.404 - USB: Device Arrival notification
06/21/2006 11:31:00.404 - UsbComm: Open device <USB>.
06/21/2006 11:31:00.419 - Serial: Starting device detection at 115200.
06/21/2006 11:31:00.419 - UsbComm: Change DTR to 1.
06/21/2006 11:31:00.419 - UsbComm: Change DTR to 1.
06/21/2006 11:32:07.637 - UsbComm: Change DTR to 0.
06/21/2006 11:32:07.637 - UsbComm: Closed device.
06/21/2006 11:32:07.653 - USB: RNDIS device id
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 11:32:07.747 - USB: Event 32772, name
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 11:32:07.747 - USB: Device Remove Complete notification
06/21/2006 11:32:42.045 - USB: RNDIS device id
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 11:32:42.108 - USB: Event 32768, name
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 11:32:42.108 - USB: Device Arrival notification
06/21/2006 11:32:42.108 - UsbComm: Open device <USB>.
06/21/2006 11:32:42.123 - Serial: Starting device detection at 115200.
06/21/2006 11:32:42.123 - UsbComm: Change DTR to 1.
06/21/2006 11:32:42.139 - UsbComm: Change DTR to 1.
06/21/2006 11:32:53.613 - UsbComm: Change DTR to 0.
06/21/2006 11:32:53.613 - UsbComm: Closed device.
06/21/2006 11:32:53.629 - USB: RNDIS device id
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 11:32:53.738 - USB: Event 32772, name
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 11:32:53.754 - USB: Device Remove Complete notification
06/21/2006 11:33:12.414 - USB: RNDIS device id
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 11:33:12.492 - USB: Event 32768, name
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 11:33:12.492 - USB: Device Arrival notification
06/21/2006 11:33:12.492 - UsbComm: Open device <USB>.
06/21/2006 11:33:12.508 - UsbComm: Change DTR to 1.
06/21/2006 11:33:12.508 - Serial: Starting device detection at 115200.
06/21/2006 11:33:12.508 - UsbComm: Change DTR to 1.
06/21/2006 11:47:56.665 - Desktop Locked.
06/21/2006 11:51:14.346 - Desktop unlocked.
06/21/2006 11:54:51.652 - UsbComm: Change DTR to 0.
06/21/2006 11:54:51.652 - UsbComm: Closed device.
06/21/2006 11:54:51.668 - USB: RNDIS device id
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 11:54:51.855 - USB: Event 32772, name
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 11:54:51.855 - USB: Device Remove Complete notification
06/21/2006 12:03:12.573 - USB: RNDIS device id
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 12:03:12.651 - USB: Event 32768, name
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 12:03:12.651 - USB: Device Arrival notification
06/21/2006 12:03:12.651 - UsbComm: Open device <USB>.
06/21/2006 12:03:12.667 - Serial: Starting device detection at 115200.
06/21/2006 12:03:12.682 - UsbComm: Change DTR to 1.
06/21/2006 12:03:12.682 - UsbComm: Change DTR to 1.
06/21/2006 12:10:40.832 - UsbComm: Change DTR to 0.
06/21/2006 12:10:40.832 - UsbComm: Closed device.
06/21/2006 12:10:40.848 - USB: RNDIS device id
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 12:10:40.957 - USB: Event 32772, name
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 12:10:40.957 - USB: Device Remove Complete notification
06/21/2006 12:10:50.297 - USB: RNDIS device id
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 12:10:50.359 - USB: Event 32768, name
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 12:10:50.359 - USB: Device Arrival notification
06/21/2006 12:10:50.359 - UsbComm: Open device <USB>.
06/21/2006 12:10:50.375 - UsbComm: Change DTR to 1.
06/21/2006 12:10:50.375 - Serial: Starting device detection at 115200.
06/21/2006 12:10:50.390 - UsbComm: Change DTR to 1.
06/21/2006 12:11:41.968 - USB: RNDIS device id
\?\USB#Vid_04e8&Pid_0100#1199276282255#
06/21/2006 12:14:14.265 - USB: RNDIS device id
\?\USB#Vid_04e8&Pid_0100#1199276282255#
06/21/2006 12:35:54.924 - Desktop Locked.
06/21/2006 13:29:25.355 - Desktop unlocked.
06/21/2006 13:30:50.704 - UsbComm: Change DTR to 0.
06/21/2006 13:30:50.704 - UsbComm: Closed device.
06/21/2006 13:30:50.736 - USB: RNDIS device id
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 13:30:50.814 - USB: Event 32772, name
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 13:30:50.829 - USB: Device Remove Complete notification
06/21/2006 13:45:00.782 - Desktop Locked.
06/21/2006 13:48:07.845 - Desktop unlocked.
06/21/2006 13:52:33.887 - Desktop Locked.
06/21/2006 14:05:10.311 - Desktop unlocked.
06/21/2006 14:19:18.699 - USB: RNDIS device id
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 14:19:18.762 - USB: Event 32768, name
\?\USB#Vid_045e&Pid_00ce#00340033-0031-0032-3700-370035003600#
06/21/2006 14:19:18.762 - USB: Device Arrival notification
06/21/2006 14:19:18.762 - UsbComm: Open device <USB>.
06/21/2006 14:19:18.777 - UsbComm: Change DTR to 1.
06/21/2006 14:19:18.777 - Serial: Starting device detection at 115200.
06/21/2006 14:19:18.793 - UsbComm: Change DTR to 1.
========================================================

In the case of WinCE5.0 the same log is:

06/20/2006 12:24:35.877 - Windows CE Services (4.2.0) Communication
Logging.
06/20/2006 12:24:35.877 - Logging file auto-purge after a successful
device connection.
06/20/2006 12:24:35.877 - Connection: Process connection from IP
address .
06/20/2006 12:24:35.908 - CesProxy: Accept on port 990, IsWinsock 1,
hResult 0
06/20/2006 12:24:35.908 - TCP: ....S., 192.168.55.100(1035) =>
192.168.55.101(990) Seq=12959343-12959343 Ack=0 Win=8192 Len=44
06/20/2006 12:24:36.330 - TCP: .A..S., 192.168.55.101(990) =>
192.168.55.100(1035) Seq=6638823-6638823 Ack=12959344 Win=33580 Len=44
06/20/2006 12:24:36.924 - CesProxy: Accept on port 990, IsWinsock 1,
hResult 0
06/20/2006 12:24:36.924 - TCP: ....S., 192.168.55.100(1036) =>
192.168.55.101(990) Seq=12960359-12960359 Ack=0 Win=8192 Len=44
06/20/2006 12:24:40.205 - TCP: ....S., 192.168.55.100(1036) =>
192.168.55.101(990) Seq=12960359-12960359 Ack=0 Win=8192 Len=44
06/20/2006 12:24:40.221 - TCP: .A..S., 192.168.55.101(990) =>
192.168.55.100(1035) Seq=6638823-6638823 Ack=12959344 Win=33580 Len=44
06/20/2006 12:24:41.424 - TCP: .A..S., 192.168.55.101(990) =>
192.168.55.100(1036) Seq=7491609-7491609 Ack=12960360 Win=33580 Len=44
06/20/2006 12:24:42.971 - TCP: ....S., 192.168.55.101(1027) =>
192.168.55.100(7438) Seq=7933265-7933265 Ack=0 Win=32768 Len=48
06/20/2006 12:24:42.971 - Proxy: Connection Attempt on port 7438, dest
ip 0x6437a8c0
06/20/2006 12:24:42.971 - TCP: .A..S., 192.168.55.100(7438) =>
192.168.55.101(1027) Seq=12966406-12966406 Ack=7933266 Win=8760 Len=44
06/20/2006 12:24:43.893 - CesProxy: recv failed on Win socket 990, err
= 10054
06/20/2006 12:24:43.893 - CesProxy: Close Win socket 990
06/20/2006 12:24:43.893 - CesProxy: Close PPP socket 990
06/20/2006 12:24:43.893 - TCP: ...R.., 192.168.55.100(1035) =>
192.168.55.101(990) Seq=12959534-12959534 Ack=6259831 Win=0 Len=40
06/20/2006 12:24:43.893 - CesProxy: recv failed on PPP socket 990, err
= 10004
06/20/2006 12:24:44.596 - CesProxy: Accept on port 7438, IsWinsock 0,
hResult 0
06/20/2006 12:25:19.158 - CesProxy: Accept on port 990, IsWinsock 1,
hResult 0
06/20/2006 12:25:19.158 - TCP: ....S., 192.168.55.100(1037) =>
192.168.55.101(990) Seq=13002593-13002593 Ack=0 Win=8192 Len=44
06/20/2006 12:25:19.330 - TCP: .A..S., 192.168.55.101(990) =>
192.168.55.100(1037) Seq=17019345-17019345 Ack=13002594 Win=33580
Len=44
06/20/2006 12:26:10.611 - CesProxy: recv failed on Win socket 990, err
= 10054
06/20/2006 12:26:10.627 - CesProxy: Close Win socket 990
06/20/2006 12:26:10.643 - CesProxy: Close PPP socket 990
06/20/2006 12:26:10.643 - TCP: ...R.., 192.168.55.100(1037) =>
192.168.55.101(990) Seq=13002610-13002610 Ack=6259895 Win=0 Len=40
06/20/2006 12:26:10.643 - CesProxy: recv failed on PPP socket 990, err
= 10053
06/20/2006 12:29:05.893 - CesProxy: Accept on port 990, IsWinsock 1,
hResult 0
06/20/2006 12:29:05.893 - TCP: ....S., 192.168.55.100(1038) =>
192.168.55.101(990) Seq=13229328-13229328 Ack=0 Win=8192 Len=44
06/20/2006 12:29:06.189 - TCP: .A..S., 192.168.55.101(990) =>
192.168.55.100(1038) Seq=72565212-72565212 Ack=13229329 Win=33580
Len=44
========================================================

I can`t make out from the wcescomm.log file.No error or anything.
Even the device shows no error, just no activity happens once you plug
the USB cable.
If i manually run repllog.exe on device , it just loads and unloads
without throwing any error.

I am not sure abt the RAS entries.I got this entry from the internet.
Pls note again that same entries are working on WinCE5.0.
Any more information or pointer is most welcome.

Please reply ASAP as i have already spent lots of time on solving this
issue.

TIA,
Manish


Similar ThreadsPosted
Active Sync over Serial driver August 24, 2006, 8:15 am
Windows CE device driver signing January 6, 2007, 7:19 pm
Help: Bluetooth via ActiveSync "WAS" working before September 14, 2005, 5:09 pm
Activesync 4.1: Device Name December 19, 2005, 10:05 pm
Re: how can you tell a device to use the activesync passthrough? December 18, 2006, 12:52 pm
ActiveSync 4.5 has problems upon disconnecting device September 7, 2007, 11:40 am
what is the significance of SH in every function name? January 11, 2007, 10:20 am
Can we use SmsReadMessage function on Windows Mobile 5.0? September 13, 2005, 2:58 pm
NTE_BAD_KEY error in CryptDecrypt function August 1, 2005, 1:58 am
is it answer machine function can be available for smartphon system? February 8, 2006, 2:48 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap