Hi,
I use Samsung S3C2410 CPU.
I am trying to use ActiveSync over USB in WinCE 5.0, but it failed.
I think I should use the "serial client" instead of "RNDIS client". Right ?
Should I set DefaultClientDriver to "serial client" or "RNDIS client" if I
want to use ActiveSync?
When I use RNDIS client, PC pops up a dialog to ask me to install the
driver.
However, When I use serial client, PC does not pop up the dialog to ask me
to install the driver.
The following is my registry setting for serial client.
Thanks.
Yu.
----------------------------------------------------------------------------
------------
common.reg
; @CESYSGEN IF CE_MODULES_SERIALUSBFN
[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"
"InterfaceSubClass"=dword:ff
"InterfaceProtocol"=dword:ff
"DeviceName"="USBFNS1:"
"Tsp"="Unimodem.dll"
"Prefix"="COM"
"DeviceArrayIndex"=dword:0
"DeviceType"=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
"Index"=dword:8
"FriendlyName"="SC2410 USB Cable:"
[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.
; @CESYSGEN ENDIF CE_MODULES_SERIALUSBFN
----------------------------------------------------------------------------
------------
platform.reg
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SC2410USBFN]
"Dll"="sc2410usbfn.dll"
"Prefix"="UFN"
"Priority256"=dword:64
"IoBase"=dword:B1200000
"IoLen"=dword:1000 ; Use one page
"Irq"=dword:19
"BusIoctl"=dword:2a0048
"IClass"=multi_sz:"{E2BDC372-598F-4619-BC50-54B3F7848D35}=%b","{6F40791D-300
E-44E4-BC38-E0E63CA8375C}=%b"