Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

A problem about USB serial Driver

255 views
Skip to first unread message

bria...@gmail.com

unread,
Jul 20, 2006, 9:25:46 PM7/20/06
to
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 !

Niels Brouwers

unread,
Jul 21, 2006, 6:26:43 AM7/21/06
to
Did you include the ActiveSync components in your OS design?

If you installed activesync on your PC you have the right drivers for
the target, no special intel drivers are required as the device will
identify itself as a windows device.

What errors are you seeing on your PC? USB device not recognized?

Niels

bria...@gmail.com schreef:

bria...@gmail.com

unread,
Jul 22, 2006, 1:59:13 AM7/22/06
to

Niels Brouwers 寫道:

> Did you include the ActiveSync components in your OS design?
>
> If you installed activesync on your PC you have the right drivers for
> the target, no special intel drivers are required as the device will
> identify itself as a windows device.
>
> What errors are you seeing on your PC? USB device not recognized?
>
> Niels
>
> bria...@gmail.com schreef:

Yes, The USB device on PC shows that the driver is not corrected and
not usable.
In addition, in my platform.reg:


[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}"

The "DeviceArrayIndex" is set to 2, so it could not load serial
driver, it must be 0 or 1. 0 would load USBSerialFN class, 1 would load
USBSerserialFN, which number could I choose?

0 new messages