From: Kid on
Hi

I have some request that modify device drivers for USB composite
(multi-function) Device . This device use one USB cable to connect PC . and
it can switch to 2 mode by buttons .

The first mode is Windows CE device which uses Microsoft device driver, the
other mode is USB composite (multi-function) device which uses two vendor's
USB device drivers .

How can I do some jobs to let these two modes drivers launch at the same
time ?

Does it hardware schematic job, or I can modify inf to do this ? I do not
have vendor's USB device driver source and Microsoft wceusbsh.sys source .

Thank for your suggestion .


From: chris.aseltine on
On Apr 27, 5:01 pm, Kid <K...(a)discussions.microsoft.com> wrote:

> The first mode is Windows CE device which uses Microsoft device driver, the
> other mode is USB composite (multi-function) device which uses two vendor's
> USB device drivers .
>
> How can I do some jobs to let these two modes drivers launch at the same
> time ?
>
> Does it hardware schematic job, or I can modify inf to do this ? I do not
> have vendor's USB device driver source and Microsoft wceusbsh.sys source .

Sounds like you need to do at least one, and possibly two things:

1) Create a third "mode" which exposes three interfaces: wceusbsh,
and the two vendor-specific interfaces.

2) Adapt the descriptors on the device to still load the generic
parent automatically, or write an INF against the generic parent if
this can't be done.