I have a product which provides a USB serial interface (using standard
windows driver usbser.sys) on winxp SP3. The product has unique serial numbers which are used as the device instance id during USB enumeration so that each device gets assigned a unique COMx: assignment. All is well.
My factory uses this USB interface to assign the serial number. The master image has a fixed serial number, so the factory starts with every device appearing the same and being assigned to a particlar COMx: The desire is to have all units with all serials directed to this single COMx: assignment during factory usage. I thought this would be straight forward. I would install a filter on the USB hub such that when the PnP manager was enumerating the device as it was plugged in, I could alter the serial number returned in IRP_MN_QUERY_ID. After experimentation, I found this not to be true and found http://www.osronline.com/showThread.cfm?link=29842
http: stating this is expected.
As filters are not the suggested route to this end, is there any simple way to accomplish my goal I am overlooking ?
I would prefer not to have a unique entry in the registry for each serial number that is ever produced. This knocks out some of the options of involving coinstallers and the registry after standard enumeration. These approaches are also not ideal as I cannot make a server-side {Quiet} install at this time, so these options lead to the new hardware wizard dialogs.
Thanks</http:>