Some time ago, I wrote a filter driver for a legacy game
device, the Spacetec SpaceOrb 360. It relied on the serial
PNP system and installed itself based on the detected
device (similar to, I think, the mouser example).
Unfortunately, after release I discovered that many older
models of this device are NOT detected by XP on initial
boot. The initial driver worked OK, it just couldn't be
installed because XP never asked for the driver.
My first attempts at fixing this got out of hand quickly (I
installed an enumeration driver that latched into the port
enumeration system, grabbed new ports, queried them for the
device, and released them if it didn't exist). It worked
well but was way too complicated and also had the minor
problem of totally locking up the system when the device
was unplugged.
I want this to be as simple as possible. Are there
examples out there of how to force installation of a legacy
device onto an existing serial port? I want the user to be
able to say "I have this device on COM1:" and install it
there without relying on PNP to find the settings (it
should still work the PNP way, though...).
-->VPutz