Hi, i am newbie in windows device drivers.
we have usb driver which is generating three virtual port(creating three
PDO’s), resulting in creating three com port (COMX) in device manager along
with our device friendly name.
Like XXXserial virtual port(COM5), XXXserial virtual port(COM4), XXXserial
virtual port(COM6).
we have multiport serial adaptor class and ports class in device manager.
similarly like EDGE port drivers.like one is parent driver and another
child drivers.
now my problem is what ever com ports got allocated for my device is not
sequential with ports in device side(firmware).
i have google it and found, which port got enumerated first that will get
the first freed port number from the COMDB. is it like that?
in order to reslove this issue i decided to write coinstaller and started
implementing the coinstaller.
i am able get COMX numbers and firm ware port numbers whiile including the
coinstaller to child drivers .inf file . where as if included the
coinstaller to parent drivers .inf file the api’s returning failures.
Can some one help me in implementation of coinstaller. so that i can get
the all COMports and reallocate the COM ports in sequential manner ?
thanks in advance.