I use USB serial driver to connect activesync. I connected PC, but
the driver on PC is not correct. I use activesync 4.1. my board is
mainstoneii, and the bsp is provided by Intel, which means the dirver
on PC must be intel's?
the following is my platform.reg:
; @CESYSGEN IF CE_MODULES_USBFN
IF BSP_NOUSBFN !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Usbfn]
"InterfaceType"=dword:0 ; Internal
"Prefix"="UFN"
"Dll"="ms2_usbfn.dll"
"Order"=dword:1
"Priority256"=dword:64
"MemBase"=dword:40600000 ; UDC_BASE_U_VIRTUAL
"MemLen"=dword:1000 ; Needs at least 0xE04. Round up to 1
page.
"Sysintr"=dword:1a
"BusIoctl"=dword:2a0048
"IClass"=multi_sz:"{E2BDC372-598F-4619-BC50-54B3F7848D35}=%b","{6F40791D-300E-44E4-BC38-E0E63CA8375C}=%b"
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class\Config]
"EnableFlowHard"=dword:0
"EnableFlowSoft"=dword:0
[HKEY_LOCAL_MACHINE\Comm\DefaultConnections]
"`USB Default"=multi_sz:"USB Cable:","115200"
;Default Connectoid
[HKEY_CURRENT_USER\ControlPanel\Comm]
"Cnct"="`USB Default"
;Default Connectoid
;[HKEY_CURRENT_USER\ControlPanel\Comm]
;"Cnct"="`Desktop @ 19000"
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class]
"Dll"="serialusbfn.dll"
"InterfaceSubClass"=dword:ff
"InterfaceProtocol"=dword:ff
"DeviceName"="USBFNS1:"
; "DeviceName"="UFN1:"
"Tsp"="Unimodem.dll"
"FriendlyName"="USB Cable:"
"Prefix"="COM"
; "DeviceArrayIndex"=dword:0
"DeviceArrayIndex"=dword:2
"DeviceType"=dword:0
"IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
; "IClass"="{25dbce51-6c8f-4a72-8a6d-b54c2b4fc835}"
; 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
; "idVendor"=dword:8086
"Manufacturer"="Generic Manufacturer (PROTOTYPE--Remember to change
idVendor)"
; "Manufacturer"="Intel"
"idProduct"=dword:00ce
; "idProduct"=dword:A6CD
"Product"="Generic Serial (PROTOTYPE--Remember to change idVendor)"
; "Product"="WindowsCE.NET 5.0"
"bcdDevice"=dword:0
IF BSP_NOUSBRNDIS
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver"=-
"DefaultClientDriver"="Serial_Class"
ELSE
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\RNDIS]
; idVendor must be changed. 8086 belongs to Intel and is only to be
used for
; prototype devices in your labs. Visit http://www.usb.org to obtain a
vendor id.
"idVendor"=dword:8086
; "Manufacturer"="Generic Manufacturer (PROTOTYPE--Remember to change
idVendor)"
"Manufacturer"="Intel Corporation (PROTOTYPE--Remember to change
idVendor)"
"idProduct"=dword:F003
"Product"="Generic RNDIS (PROTOTYPE--Remember to change idVendor)"
"bcdDevice"=dword:0
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver"=-
"DefaultClientDriver"="RNDIS"
ENDIF BSP_NOUSBRNDIS
ENDIF BSP_NOUSBFN !