Hello.

I'm new in Windows driver development and I'd like to know if a software can
behave like a USB device (is emulate the right word?). The OS should be able
to
detect this software as a new device when I run it.

I have 4 questions:
1. Are there interrupts that signal the OS that a device has been plugged?
2. How can I make data (vendor ID and device ID) from the USB-emulator
available to the OS (for installation)?
3. How can I make data from the USB-emulator available to the driver?
4. How can I get data from the driver?

I guess questions 2-4 have one answer.

I'm working in a company that develops drivers for USB devices and I'm
planning to make a tool that allows me to "switch" between "hardware devices"
without physically doing it. I guess that makes me lazy. ;)

Thanks,
Ilian

Re: Can software pose as a USB device? by Pavel

Pavel
Sat Mar 19 10:43:09 CST 2005

Yes, software emulation of USB and other devices exists,
information can be found somewhere on WHDC site (WinHEC 2004 talks?)
--PA

"Ilian Jeri C. Pinzon" <Ilian Jeri C. Pinzon@discussions.microsoft.com> wrote in message
news:D0E5FB1C-7E50-4798-87D6-92976A8D39A5@microsoft.com...
> Hello.
>
> I'm new in Windows driver development and I'd like to know if a software can
> behave like a USB device (is emulate the right word?). The OS should be able
> to
> detect this software as a new device when I run it.
>
> I have 4 questions:
> 1. Are there interrupts that signal the OS that a device has been plugged?
> 2. How can I make data (vendor ID and device ID) from the USB-emulator
> available to the OS (for installation)?
> 3. How can I make data from the USB-emulator available to the driver?
> 4. How can I get data from the driver?
>
> I guess questions 2-4 have one answer.
>
> I'm working in a company that develops drivers for USB devices and I'm
> planning to make a tool that allows me to "switch" between "hardware devices"
> without physically doing it. I guess that makes me lazy. ;)
>
> Thanks,
> Ilian