RE: use toaster sample to simulate USB device enumeration by pavel_a
pavel_a
Wed Nov 15 13:21:02 CST 2006
"Kevin" wrote:
> can the the framework for simulation of USB devices be used on Win2000 and
> WinXP?
On win2000, definitely not. On XP SP2+ may be.
It depends on whether you simulate the device-side firmware,
or something that runs on the host OS side.
--PA
> "Pavel A." wrote:
>
> > "Kevin" wrote:
> > > I am studying the toaster on bus behavior. Now I want to know can I use this
> > > sample to simulate USB device plugin/unplug.
> > > 1. can I use 'enum' console application to send the IOCTL to tell the
> > > busenum driver that a new USB device is plugged in? Do I need to modify the
> > > code of it?
> > > 2. what do I need to modify the busenum driver code to tell PnP manager that
> > > a USB device is attached?
> > >
> > > Any comment is appreaciated.
> >
> > Perhaps the best thing for simulation USB devices is... the framework
> > for simulation of USB devices. Included in the latest WDK.
> >
> > Regards.
> > --PA
> >