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"

Re: ActiveSync through USB in WinCE 5.0 ?? by David

David
Fri Dec 10 14:57:04 CST 2004

The user serial active sync driver is wceusbsh.sys in XP host, if you
already installed this driver, it did not has you to install driver again.
But, you certainly can exam the Device Manager (In XP) to find out the
driver is loaded or not. If it is loaded, you will see Windows CE USB Devies
in the list...

David Liao

"Yu" <Yu.Mails@msa.hinet.net> wrote in message
news:ed7fD4p3EHA.936@TK2MSFTNGP12.phx.gbl...
> 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"
>
>
>



Re: ActiveSync through USB in WinCE 5.0 ?? by Yu

Yu
Sun Dec 12 06:47:52 CST 2004

Dear David,

I have a workable WinCE 4.2 OS on my platform, so I know there is a
wceusbsh.sys in PC side.
As I know, the architecture of USB driver has a lot of changes in WinCE 5.0.
Now the AcitveSync does not work on my WinCE 5.0 OS.
Should I set DefaultClientDriver to "serial client" or "RNDIS client" in USB
driver of WinCE 5.0 if I
want to use ActiveSync through USB?

Thanks.


Yu.



Re: ActiveSync through USB in WinCE 5.0 ?? by David

David
Mon Dec 13 20:00:20 CST 2004

Yes. But other registry key may also needed to make it work.
Please search of this newsgroup for detail info.
David Liao

"Yu" <Yu.Mails@msa.hinet.net> wrote in message
news:%23XxzNfE4EHA.3368@TK2MSFTNGP10.phx.gbl...
> Dear David,
>
> I have a workable WinCE 4.2 OS on my platform, so I know there is a
> wceusbsh.sys in PC side.
> As I know, the architecture of USB driver has a lot of changes in WinCE
> 5.0.
> Now the AcitveSync does not work on my WinCE 5.0 OS.
> Should I set DefaultClientDriver to "serial client" or "RNDIS client" in
> USB
> driver of WinCE 5.0 if I
> want to use ActiveSync through USB?
>
> Thanks.
>
>
> Yu.
>
>



Re: ActiveSync through USB in WinCE 5.0 ?? by Yu

Yu
Thu Dec 16 05:56:24 CST 2004

Dear David,

Should I set DefaultClientDriver to "serial client" or "RNDIS client" in
WinCE 5.0 if I want to use ActiveSync through USB?

Thanks.

Yu



Re: ActiveSync through USB in WinCE 5.0 ?? by David

David
Thu Dec 16 19:08:09 CST 2004

The answer is yes.

The following registery is needed
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class]
"FriendlyName"="USB Cable:"
"Index"=dword:7

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

[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver"="Serial_Class"

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

[HKEY_CURRENT_USER\ControlPanel\Comm]
"Cnct"="`USB"

"Yu" <Yu.Mails@msa.hinet.net> wrote in message
news:uynXxb24EHA.3380@TK2MSFTNGP09.phx.gbl...
> Dear David,
>
> Should I set DefaultClientDriver to "serial client" or "RNDIS client" in
> WinCE 5.0 if I want to use ActiveSync through USB?
>
> Thanks.
>
> Yu
>
>



Re: ActiveSync through USB in WinCE 5.0 ?? by Ajay

Ajay
Mon Dec 20 06:01:01 CST 2004

Hi,
I guess u need to add following:

CDEFINES=$(CDEFINES) -DUSE_INTERRUPT_ENDPOINT
in sources file at :

C:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\USBFN\CLASS\SERIAL


Regards,
ajay


David Liao (MS) wrote:
> The answer is yes.
>
> The following registery is needed
> [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class]
> "FriendlyName"="USB Cable:"
> "Index"=dword:7
>
> [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class\Config]
> "EnableFlowHard"=dword:0
> "EnableFlowSoft"=dword:0
>
> [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
> "DefaultClientDriver"="Serial_Class"
>
> [HKEY_LOCAL_MACHINE\Comm\DefaultConnections]
> "`USB"=multi_sz:"USB Cable:","115200"
>
> [HKEY_CURRENT_USER\ControlPanel\Comm]
> "Cnct"="`USB"
>
> "Yu" <Yu.Mails@msa.hinet.net> wrote in message
> news:uynXxb24EHA.3380@TK2MSFTNGP09.phx.gbl...
> > Dear David,
> >
> > Should I set DefaultClientDriver to "serial client" or "RNDIS
client" in
> > WinCE 5.0 if I want to use ActiveSync through USB?
> >
> > Thanks.
> >
> > Yu
> >
> >


Re: ActiveSync through USB in WinCE 5.0 ?? by David

David
Mon Dec 20 11:01:45 CST 2004

No. Don't added "CDEFINES=$(CDEFINES) -DUSE_INTERRUPT_ENDPOINT" because XP
USB ActiveSync Driver does not work well with interrupt endpoint enabled.

David Liao

"Ajay" <ajaykuee@gmail.com> wrote in message
news:1103544061.415218.305300@z14g2000cwz.googlegroups.com...
> Hi,
> I guess u need to add following:
>
> CDEFINES=$(CDEFINES) -DUSE_INTERRUPT_ENDPOINT
> in sources file at :
>
> C:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\USBFN\CLASS\SERIAL
>
>
> Regards,
> ajay
>
>
> David Liao (MS) wrote:
>> The answer is yes.
>>
>> The following registery is needed
>> [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class]
>> "FriendlyName"="USB Cable:"
>> "Index"=dword:7
>>
>> [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class\Config]
>> "EnableFlowHard"=dword:0
>> "EnableFlowSoft"=dword:0
>>
>> [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
>> "DefaultClientDriver"="Serial_Class"
>>
>> [HKEY_LOCAL_MACHINE\Comm\DefaultConnections]
>> "`USB"=multi_sz:"USB Cable:","115200"
>>
>> [HKEY_CURRENT_USER\ControlPanel\Comm]
>> "Cnct"="`USB"
>>
>> "Yu" <Yu.Mails@msa.hinet.net> wrote in message
>> news:uynXxb24EHA.3380@TK2MSFTNGP09.phx.gbl...
>> > Dear David,
>> >
>> > Should I set DefaultClientDriver to "serial client" or "RNDIS
> client" in
>> > WinCE 5.0 if I want to use ActiveSync through USB?
>> >
>> > Thanks.
>> >
>> > Yu
>> >
>> >
>



Re: ActiveSync through USB in WinCE 5.0 ?? by chskuo

chskuo
Wed Dec 22 00:09:14 CST 2004

Hi, have you figured out how to enable ActiveSync over USB?

I had the same problem in WinCE5.0. When I used RNDIS client, the host
askrf me to install the RNDIS driver, but I couldn't point the right
driver to install.

Thanks,
CK