Reg. An Interface on an Composite Device.

Hi All,

As there were some mails from my behalf regarding USB composite device, I am
trying to expose an USB device virtually over the IP and as such doing
this…Now that this composite device is properly exported to the XP, but one
of the driver for one interface is not getting initiated properly and the
upper layer continuously issues URB_FUNCTION_CLASS_INTERFACE for this
particular interface. Even though we monitored that whatever sending is
proper, our virtual bus driver is getting this call multiple times and after
sometime we are getting USB_GET_PORT_STATUS and USB_RESET_PORT. So any clues
would really help me in continuing my debugging…

Thanks in advance!!!


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:

but one of the driver for one interface is not getting initiated properly
and the upper layer continuously issues URB_FUNCTION_CLASS_INTERFACE
for this particular interface. Even though we monitored that whatever
sending is proper, our virtual bus driver is getting this call multiple times
and after sometime we are getting USB_GET_PORT_STATUS and
USB_RESET_PORT.

I would install a filter below the usbccgp FDO (or maybe below the child device FDO) on the “host” machine and capture all the URB traffic patterns so you can see what the successful case looks like. Then you can compare to the virtual side to see what’s wrong.

Hi Chris,

I did the same and saw that there is a difference of 2-characters reply for the URB_FUNCTION_CLASS_INTERFACE as compared to the local system, this information is related to some Serial Number embedded in this message…So i really don’t know whether i am debugging at the correct point or not???

Thanks!!!


From: xxxxx@gmail.com
To: Windows System Software Devs Interest List [mailto:xxxxx@lists.osr.com]
Sent: Thu, 15 Nov 2007 20:01:17 -0800
Subject: RE:[ntdev] Reg. An Interface on an Composite Device.

Vishwanath Maram wrote:

but one of the driver for one interface is not getting initiated properly
and the upper layer continuously issues URB_FUNCTION_CLASS_INTERFACE
for this particular interface. Even though we monitored that whatever
sending is proper, our virtual bus driver is getting this call multiple times
and after sometime we are getting USB_GET_PORT_STATUS and
USB_RESET_PORT.

I would install a filter below the usbccgp FDO (or maybe below the child device FDO) on the “host” machine and capture all the URB traffic patterns so you can see what the successful case looks like. Then you can compare to the virtual side to see what’s wrong.


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


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:

I did the same and saw that there is a difference of 2-characters
reply for the URB_FUNCTION_CLASS_INTERFACE as compared to
the local system, this information is related to some Serial Number
embedded in this message…So i really don’t know whether i am
debugging at the correct point or not???

Well, I don’t know either, but I do know that probably all URBs should match exactly. You should find and resolve any differences…