I got toaster example, it basically provides virtual bus driver, and
whenever some toaster device gets attached to it.. its gives New
Hardware Found wizard...
But i want that whenever i plugin some device virtually via
programme then it should load itself and then functional driver of a
some vendors mass storage device.... For doing this in which area
should i change, like should i change class, classGUID's wht else..
Can anyone help me out here
Thanks in Advance
Chandrakant

Re: Loading USB Functional driver by Tim

Tim
Sat Sep 16 21:42:58 CDT 2006

chandrakant.tripathi@gmail.com wrote:
>
>I got toaster example, it basically provides virtual bus driver, and
>whenever some toaster device gets attached to it.. its gives New
>Hardware Found wizard...
> But i want that whenever i plugin some device virtually via
>programme then it should load itself and then functional driver of a
>some vendors mass storage device.... For doing this in which area
>should i change, like should i change class, classGUID's wht else..
>Can anyone help me out here

Your driver has to return the proper hardware ID in response to
BusQueryHardwareIDs. In the Toaster sample, this ID comes from the
user-mode ioctl to plug in a new device.

The hardware ID is used to find a match among the INF files.

Let's assume that you succeed at fooling the system into loading a USB mass
storage driver. What are you going to do next? Your software will have to
emulate a USB mass storage device completely. Are you prepared to do that?
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.

Re: Loading USB Functional driver by Newbie

Newbie
Mon Sep 18 07:14:43 CDT 2006

Yes i am prepared for doing that...

Tim Roberts wrote:
> chandrakant.tripathi@gmail.com wrote:
> >
> >I got toaster example, it basically provides virtual bus driver, and
> >whenever some toaster device gets attached to it.. its gives New
> >Hardware Found wizard...
> > But i want that whenever i plugin some device virtually via
> >programme then it should load itself and then functional driver of a
> >some vendors mass storage device.... For doing this in which area
> >should i change, like should i change class, classGUID's wht else..
> >Can anyone help me out here
>
> Your driver has to return the proper hardware ID in response to
> BusQueryHardwareIDs. In the Toaster sample, this ID comes from the
> user-mode ioctl to plug in a new device.
>
> The hardware ID is used to find a match among the INF files.
>
> Let's assume that you succeed at fooling the system into loading a USB mass
> storage driver. What are you going to do next? Your software will have to
> emulate a USB mass storage device completely. Are you prepared to do that?
> --
> - Tim Roberts, timr@probo.com
> Providenza & Boekelheide, Inc.