Re: Startup RNDIS.

From: embguy (embguy_at_discussions.microsoft.com)
Date: 02/28/05


Date: Mon, 28 Feb 2005 13:19:05 -0800

Hi Henrik,
          I have written a USB fn controller driver and tested it
successfully for serial class.
I have implemented just three endpoints only-control,bulk-in and bulk-out.
Now I want to test it with RNDIS as client.
Currently I am not able to load the client. It unloads after giving message
that
" Endpoint descriptor not supported" after calling in to the fn "
IsEndpointSupportable".
 Do I need to configure any other endpointor or the current set up will do?.
Can You give me some information on this.

"Henrik" wrote:

> You need to prepare a host driver that matches the PID and VID registry
> settings under [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\RNDIS]
> as well. Download the RNDIS USB Kit from Microsoft to get the drivers
> and, more important, a .inf file template. There is an exampe
> "usb8023.inf" under
> "\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\ETHDBG\RNDISMINI\HOST" that you
> can look at. I think the only thing you need to change in the RNDIS USB
> Kit template is the PID and VID entries.
>
> When you plug in the device to your host it should present itself as a
> RNDIS device and you just install the drivers you prepared (you
> manually point to the prepped .inf file).
>
> Henrik
>
>