Issue on USB Composite Devices.

Hi All,

I am working on a Virtual USB Hub Driver and this driver now works properly
with the BULK devices without any issues. Now we are trying to make this
virtual HUB driver support Composite devices (with ISOCH), when we connect a
Logitech Headset we were able to inform the upper layer that it is an
Composite device by using the Hardware compatible ID’s (USB\COMPOSITE),
after this usbccgp.sys has been loaded and this hub driver started getting
the device descriptor requests which we replied properly for the first
3-requests. Last request we replied back with the complete Configuration &
Interface descriptors, once this has been sent upper layer driver never
sends any other commands at all. Even it doesn’t load the drivers for the
other interfaces as well. It neither crashes nor hangs the system, it is as
usual in proper state.

Can anyone throw us some light on what might be going on or suggest some way
on how do we debug these kind of issues???

Thanks in advance,

-Vishwanath


This message, together with any attachment(s), contains confidential and proprietary information of
ServerEngines LLC and is intended only for the designated recipient(s) named above. Any unauthorized
review, printing, retention, copying, disclosure or distribution is strictly prohibited. If you are not the
intended recipient of this message, please immediately advise the sender by reply email message and
delete all copies of this message and any attachment(s). Thank you.

Vishwanath Maram wrote:

3-requests. Last request we replied back with the complete
Configuration & Interface descriptors, once this has been
sent upper layer driver never sends any other commands
at all. Even it doesn’t load the drivers for the other interfaces
as well. It neither crashes nor hangs the system, it is as
usual in proper state.

I would load the checked build of usbccgp.sys and watch for any helpful trace messages sent to the debugger.

On 10/23/07, Vishwanath Maram wrote:
>
> Hi All,
>
>
>
> I am working on a Virtual USB Hub Driver and this driver now works
> properly with the BULK devices without any issues. Now we are trying to make
> this virtual HUB driver support Composite devices (with ISOCH), when we
> connect a Logitech Headset we were able to inform the upper layer that it is
> an Composite device by using the Hardware compatible ID’s (USB\COMPOSITE),
> after this usbccgp.sys has been loaded and this hub driver started getting
> the device descriptor requests which we replied properly for the first
> 3-requests. Last request we replied back with the complete Configuration &
> Interface descriptors, once this has been sent upper layer driver never
> sends any other commands at all. Even it doesn’t load the drivers for the
> other interfaces as well. It neither crashes nor hangs the system, it is as
> usual in proper state.
>
>
>
> Can anyone throw us some light on what might be going on or suggest some
> way on how do we debug these kind of issues???
>

You might/should have debug functions enabled in your driver code. Use
checked build of your driver and collect messages from the debugging tools
(as such debugview). Here I can see collection of descriptors is finished.

Y

Thanks in advance,
>
> -Vishwanath
>
>
> ------------------------------
>
> ___________________________________________________________________________________
>
> This message, together with any attachment(s), contains confidential and proprietary information of
>
> ServerEngines LLC and is intended only for the designated recipient(s) named above. Any unauthorized
>
> review, printing, retention, copying, disclosure or distribution is strictly prohibited. If you are not the
>
> intended recipient of this message, please immediately advise the sender by reply email message and
> delete all copies of this message and any attachment(s). Thank you.
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>