Tim,
We are supporting the below interfaces and USB (Headsets) are working after
we started supporting the first interface and other 3-interfaces we were
returning status not supported. Here when are supporting we followed the
API’s definition for all the versions (V0/V1/V2) and returning proper values
only then we were able to make the headsets along with microphone were
working fine.
GUID_BUS_INTERFACE_STANDARD
STATIC_BUSID_SoftwareDeviceEnumerator
USB_BUS_INTERFACE_USBDI_GUID
GUID_USBCAMD_INTERFACE
Now for Webcamera purpose we started supporting “GUID_USBCAMD_INTERFACE”,
here we tried returning all possible ways and after returning the first
received packet from other side we do a IoCompleteIrp() and there is some
exception raised or it never comes out properly… So we are stuck here for
webcamera case. Yeah we are filling the return URB also properly along ISO
Packet Descriptors…
Any clue or suggestions would be of great help.
Thanks in advance.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Monday, January 28, 2008 4:58 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Purpose of IRP_MN_QUERY_INTERFACE???
Vishwanath Maram wrote:
We were able to make the ISOCH devices (like USB headset) work with our
virtual bus driver, but when we try with Webcam the upper layer drivers
doesn’t respond for the very first packet of ISOCH which is of 24K packet
and earlier we fixed issues with regard to IRP_MN_QUERY_INTERFACE call
which
we are now returning some dummy call back function pointers…but now for
this webcam we are not sure as to what exactly is happening???
Any suggestions would be of great help…
You can’t return dummy callback functions! If you don’t support the
interface, you have to fail the request. By succeeding, you are
promising to offer services without having any clue what those services are!
I’m not sure what you mean by “upper layer drivers doesn’t respond”.
Most images are much larger than 24K bytes, so it takes many packets to
construct a whole image that can be sent to an application.
How are you responding? Are you filling in the IsoPacket array in the
URB you return?
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
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.