locked
special RNDIS driver RRS feed

  • Question

  • So we've got a setup that allows ethernet over usb. I'm wondering if there is a way to setup the guid vid/pid with a custom driver so the device doesn't appear as a network adapter. Since every time I plug in a new device it makes RNDIS network adapter #xxx. 

    Its just nitpicking now but it would be nice to show up as a device in the devices menu. this is very easy to do using winusb and a serial function driver.

    Tuesday, June 4, 2013 12:15 AM

All replies

  • i assume you are talking about a device that support USB RNDIS in client port. Do you have the build environment (Visual Studio, platform builder and BSP for your device)? if yes. you can remove the SYSGEN_USBFN_ETHERNET component and add SYSGEN_USBFN_SERIAL to act as a serial driver. Here is the default registry settings for the usb serial functional client driver. you can change the idVendor and idProduct to yours

    [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class]

     "FriendlyName"="USB Cable:"
       "DeviceArrayIndex"=dword:0
       "DeviceType"=dword:0
        ; CE_DRIVER_SERIAL_PORT_GUID
       "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


    Vinoth.R

    www.e-consystems.com

    http://vinoth-vinothblog.blogspot.com

    Tuesday, June 4, 2013 6:15 AM
  • hmmm but if i add SYSGEN_USBFN_SERIAL than its not ethernet any more. So there is no way to use a special inf file or something so we can wrap the device up so it doesn't look like a network adaptor?
    Tuesday, June 4, 2013 12:28 PM
  • it will behave like a USB serial port. But not sure whether it is required a inf file or not.  you can test it.

    Vinoth.R

    www.e-consystems.com

    http://vinoth-vinothblog.blogspot.com

    Tuesday, June 4, 2013 1:03 PM