Re: How to implement multi-function device driver?
- From: "abei" <aboutwho_1@xxxxxxx>
- Date: Wed, 13 Jun 2007 07:55:30 +0800
Can this way be used in Windows 2k/XP?
Our device must support 2k/XP. And can you give me some threads to write the
USB generic parent driver?
Thank you!
abei
2007-6-13
"Mark Roddy" <markr@xxxxxxxxxxxxxx>
??????:uZ3CE1RrHHA.3356@xxxxxxxxxxxxxxxxxxxxxxx
abei wrote:
We have an USB device which has some interfaces. Can I create deviceNo. if your USB device is properly constructed with composite interfaces
object for each interface in one function driver?
For example, USB device has 2 interfaces, interface A and interface B.
Then I create device object A for interface A and device object B for
interface B in AddDevice().
But the problem is that I don't known how to start all device object for
each interface when we handle IRP_MJ_PNP/IRP_MN_START_DEVICE.
Is this method correct?
How to implement multi-function device driver? Please help me, thank you!
Abei
2007-6-12
then you can use the "USB Common Class Generic Parent Driver". See the WDK
documentation page with that title. You will have two separate function
drivers (you could coerce this into one driver that manages two different
functions as well) and two separate FDOs one for each interface. The
generic parent driver will handle all the shared device state for you.
KMDF would be the ideal way to handle this.
.
- Follow-Ups:
- Re: How to implement multi-function device driver?
- From: Tim Roberts
- Re: How to implement multi-function device driver?
- From: Doron Holan [MS]
- Re: How to implement multi-function device driver?
- References:
- How to implement multi-function device driver?
- From: abei
- Re: How to implement multi-function device driver?
- From: Mark Roddy
- How to implement multi-function device driver?
- Prev by Date: RE: EnumDeviceDrivers issue on 64-bit platform
- Next by Date: Re: WHQL/DTM/HCT Logo for AntiVirus drivers.
- Previous by thread: Re: How to implement multi-function device driver?
- Next by thread: Re: How to implement multi-function device driver?
- Index(es):
Relevant Pages
|
Loading