Hi,
I have a problem with my USB Function Driver. I have a BSP cloned from the
Mainstone III. I Use the USB Function without any changes, selection the
RNDIS version.
All have worked fine for some months, but now i made some change to my BSP
and i get an error.
When i Plug my USB cable into the PC i can see a device connect but its
Vendor ID and its Product ID are both 0.
I put this vendor and product ID into the register
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\RNDIS]

During Runtime i can check the register and see this values.

I would like to find the source code where Windows CE send Vendor and
Product ID to the PC so i can find why it doesn't read any value (i suppose
0 is a default value).

Anyone know where I can find this source code? Otherwise, what should i
check in order to find my problem?

Regards

Rudy

rudy.barbieriCHIOCCIOLAdestura.it

Re: USB Function Vendor adn Product ID problem by Mike

Mike
Thu Mar 13 04:01:19 PDT 2008

"Rudy Barbieri" <rudy.barbieri@destura.it> wrote in
news:ukeWNnOhIHA.5208@TK2MSFTNGP04.phx.gbl:

> Hi,
> I have a problem with my USB Function Driver. I have a BSP cloned from
> the Mainstone III. I Use the USB Function without any changes,
> selection the RNDIS version.
> All have worked fine for some months, but now i made some change to my
> BSP and i get an error.
> When i Plug my USB cable into the PC i can see a device connect but
> its Vendor ID and its Product ID are both 0.
> I put this vendor and product ID into the register
> [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\RNDIS]
>
> During Runtime i can check the register and see this values.
>
> I would like to find the source code where Windows CE send Vendor and
> Product ID to the PC so i can find why it doesn't read any value (i
> suppose 0 is a default value).
>
> Anyone know where I can find this source code? Otherwise, what should
> i check in order to find my problem?
>
> Regards
>
> Rudy
>
> rudy.barbieriCHIOCCIOLAdestura.it
>
>
>

Hi Ruby,

the sources of the RNDIS driver are at wince600\public\common\oak
\drivers\usbfn\class

Do you get a "Unkown Device" on your PC? I think a 0 is set by the PC
when he cann0t identify the connected device correctly.

regards,

Mike
--
Digi International Inc.
http://www.digi.com

Re: USB Function Vendor adn Product ID problem by Rudy

Rudy
Thu Mar 13 04:06:44 PDT 2008

Yes i get an undefined device but if i use my PC side driver (which worked
before) it says that is a wrong driver

"Mike E." <mikee@reterioja.com> ha scritto nel messaggio
news:Xns9A607A4B2C257mikeereteriojacom@207.46.248.16...
> "Rudy Barbieri" <rudy.barbieri@destura.it> wrote in
> news:ukeWNnOhIHA.5208@TK2MSFTNGP04.phx.gbl:
>
>> Hi,
>> I have a problem with my USB Function Driver. I have a BSP cloned from
>> the Mainstone III. I Use the USB Function without any changes,
>> selection the RNDIS version.
>> All have worked fine for some months, but now i made some change to my
>> BSP and i get an error.
>> When i Plug my USB cable into the PC i can see a device connect but
>> its Vendor ID and its Product ID are both 0.
>> I put this vendor and product ID into the register
>> [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\RNDIS]
>>
>> During Runtime i can check the register and see this values.
>>
>> I would like to find the source code where Windows CE send Vendor and
>> Product ID to the PC so i can find why it doesn't read any value (i
>> suppose 0 is a default value).
>>
>> Anyone know where I can find this source code? Otherwise, what should
>> i check in order to find my problem?
>>
>> Regards
>>
>> Rudy
>>
>> rudy.barbieriCHIOCCIOLAdestura.it
>>
>>
>>
>
> Hi Ruby,
>
> the sources of the RNDIS driver are at wince600\public\common\oak
> \drivers\usbfn\class
>
> Do you get a "Unkown Device" on your PC? I think a 0 is set by the PC
> when he cann0t identify the connected device correctly.
>
> regards,
>
> Mike
> --
> Digi International Inc.
> http://www.digi.com



Re: USB Function Vendor adn Product ID problem by Mike

Mike
Thu Mar 13 04:22:21 PDT 2008

"Rudy Barbieri" <rudy.barbieri@destura.it> wrote in
news:el23UpPhIHA.1184@TK2MSFTNGP04.phx.gbl:

> Yes i get an undefined device but if i use my PC side driver (which
> worked before) it says that is a wrong driver
>
> "Mike E." <mikee@reterioja.com> ha scritto nel messaggio
> news:Xns9A607A4B2C257mikeereteriojacom@207.46.248.16...
>> "Rudy Barbieri" <rudy.barbieri@destura.it> wrote in
>> news:ukeWNnOhIHA.5208@TK2MSFTNGP04.phx.gbl:
>>
>>> Hi,
>>> I have a problem with my USB Function Driver. I have a BSP cloned
>>> from the Mainstone III. I Use the USB Function without any changes,
>>> selection the RNDIS version.
>>> All have worked fine for some months, but now i made some change to
>>> my BSP and i get an error.
>>> When i Plug my USB cable into the PC i can see a device connect but
>>> its Vendor ID and its Product ID are both 0.
>>> I put this vendor and product ID into the register
>>> [HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\RNDIS]
>>>
>>> During Runtime i can check the register and see this values.
>>>
>>> I would like to find the source code where Windows CE send Vendor
>>> and Product ID to the PC so i can find why it doesn't read any value
>>> (i suppose 0 is a default value).
>>>
>>> Anyone know where I can find this source code? Otherwise, what
>>> should i check in order to find my problem?
>>>
>>> Regards
>>>
>>> Rudy
>>>
>>> rudy.barbieriCHIOCCIOLAdestura.it
>>>
>>>
>>>
>>
>> Hi Ruby,
>>
>> the sources of the RNDIS driver are at wince600\public\common\oak
>> \drivers\usbfn\class
>>
>> Do you get a "Unkown Device" on your PC? I think a 0 is set by the PC
>> when he cann0t identify the connected device correctly.
>>
>> regards,
>>
>> Mike
>> --
>> Digi International Inc.
>> http://www.digi.com
>
>
>

For me that sounds that something is wrong in your USB device (function)
driver if you get unknow device on the PC side. Did you change anything
in that driver?

regards,

Mike

--
Digi International Inc.
http://www.digi.com

Re: USB Function Vendor adn Product ID problem by Rudy

Rudy
Thu Mar 13 04:57:00 PDT 2008

> For me that sounds that something is wrong in your USB device (function)
> driver if you get unknow device on the PC side. Did you change anything
> in that driver?
>
> regards,
>
> Mike

I have an old version (before Windows CE Update of April 2007) that works
and the source code is the same.
I have only work with Vendor Id e Product Id.



Re: USB Function Vendor adn Product ID problem by Mike

Mike
Thu Mar 13 07:35:28 PDT 2008

"Rudy Barbieri" <rudy.barbieri@destura.it> wrote in
news:OS7QaFQhIHA.4740@TK2MSFTNGP05.phx.gbl:

>> For me that sounds that something is wrong in your USB device
>> (function) driver if you get unknow device on the PC side. Did you
>> change anything in that driver?
>>
>> regards,
>>
>> Mike
>
> I have an old version (before Windows CE Update of April 2007) that
> works and the source code is the same.
> I have only work with Vendor Id e Product Id.
>
>

Have you uninstalled the USB device on your PC and inserted the cable
again? What happens when you reset teh PID/VID in the registry?

regards,

Mike
--
Digi International Inc.
http://www.digi.com

Re: USB Function Vendor adn Product ID problem by Rudy

Rudy
Thu Mar 13 08:26:39 PDT 2008


>
> Have you uninstalled the USB device on your PC and inserted the cable
> again?

I have reinstalled my PC

What happens when you reset teh PID/VID in the registry?

When i change VID and PID in my device nothing happens. PC Side i haven't
change anything but I tried to connect the USB Cable to my laptop with the
same result.



Re: USB Function Vendor adn Product ID problem by Steve

Steve
Fri Apr 04 10:10:06 PDT 2008

Check all the changes you made to the BSP as something obviously broke the
USB function support. This could be memory maps, GPIO pin configurations or
Interrupt handling among many other potential issues.


- Steve Maillet