|
Prev: WdfFileObjectGetFileName failing
Next: MiniportSendPackets always called with (NumberOfPackets == 1)
From: Kid on 22 Apr 2008 17:59 Hi I meet some question that our WinCE product need to change modes of 2 different PC WDM drivers, one is WCEUSB device and the other is USB Composite Device , they use the same usb cable to connect PC . WCEUSB device driver is Windows built-in WCEUSB driver, USB Composite Device driver is provided by chip vendor. How can I let two modes co-exist in PC Device Manager, might I add additional driver to pass through or it should change device Schematic ? Thank you .
From: chris.aseltine on 23 Apr 2008 10:38
On Apr 22, 4:59 pm, Kid <K...(a)discussions.microsoft.com> wrote: > I meet some question that our WinCE product need to change modes of 2 > different PC WDM drivers, one is WCEUSB device and the other is USB > Composite Device , they use the same usb cable to connect PC . > > WCEUSB device driver is Windows built-in WCEUSB driver, USB > Composite Device driver is provided by chip vendor. How can I let two modes > co-exist in PC Device Manager, might I add additional driver to pass > through or it should change device Schematic ? First, I'm not sure why your chip vendor is supplying a generic parent driver as Windows also has this built-in. Anyway, if your device has two modes, you'll need to come up with a mechanism to tell the device which mode to enumerate in. For example, a control request to endpoint zero with no payload, with the target USB mode in wValue or wIndex, might suffice. Each mode will have a different PID such that Windows identifies each one uniquely. |