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:"{E2BDC372-598F-4619-BC50-54B3F7848D35}=%b","{6F40791D-300E-44E4-BC38-E0E63CA8375C}=%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"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}" ; 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:"{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}","{C375C787-B721-4b8e-B67F-A112D5C0A404}" ; 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
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"="{A32942B7-920C-486b-B0E6-92A702A99B35}" ; 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"="{A32942B7-920C-486b-B0E6-92A702A99B35}" ; 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 !
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.
Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly
to your computer or smartphone by using a feed reader.