How to force PNP device to be a fixed COM port?



Paul
07-09-2005, 09:24 PM
I have a serial multifunction card with 4 serial ports... i wish to have
constant COM ports allocated to each serial device across all computers. This
works automatically for nearly all machines so far, but i have one machine
that is misbehaving. My multifunction device appears now on com3 when it
always usually should be on COM6. My question is how do i force my devices
and device drivers to be in the COM port order i define?

This is what i expect:
OXPCIMF\*PNP0501\000D0003 -> COM 6
OXPCIMF\*PNP0501\000D0000 -> COM 3
OXPCIMF\*PNP0501\000D0001 -> COM 4
OXPCIMF\*PNP0501\000D0002 -> COM 5

The com ports for all these devices are out of order on this one system:
OXPCIMF\*PNP0501\000D0003 -> COM 3
OXPCIMF\*PNP0501\000D0000 -> COM 4
OXPCIMF\*PNP0501\000D0001 -> COM 5
OXPCIMF\*PNP0501\000D0002 -> COM 6

Slobodan Brcin \(eMVP\)
07-09-2005, 09:24 PM
Paul,

You can do this trough simple application executed during the FBA or even by
reg.exe that will change port names after PnP install drivers.

In your case find:
HKLM\System\ControlSet001\Enum\ .... \FriendlyName and change it to some
text that you would like to see.
HKLM\System\ControlSet001\Enum\ .... \Device Parameters\PortName and change
it to name that you would like to use. (COMX)

After the reboot these changes will be applied.

Regards,
Slobodan

"Paul" <Paul@discussions.microsoft.com> wrote in message
news:C2D44F0E-73D1-4398-AEF3-AE680423F6A3@microsoft.com...
>I have a serial multifunction card with 4 serial ports... i wish to have
> constant COM ports allocated to each serial device across all computers.
> This
> works automatically for nearly all machines so far, but i have one machine
> that is misbehaving. My multifunction device appears now on com3 when it
> always usually should be on COM6. My question is how do i force my devices
> and device drivers to be in the COM port order i define?
>
> This is what i expect:
> OXPCIMF\*PNP0501\000D0003 -> COM 6
> OXPCIMF\*PNP0501\000D0000 -> COM 3
> OXPCIMF\*PNP0501\000D0001 -> COM 4
> OXPCIMF\*PNP0501\000D0002 -> COM 5
>
> The com ports for all these devices are out of order on this one system:
> OXPCIMF\*PNP0501\000D0003 -> COM 3
> OXPCIMF\*PNP0501\000D0000 -> COM 4
> OXPCIMF\*PNP0501\000D0001 -> COM 5
> OXPCIMF\*PNP0501\000D0002 -> COM 6
>
>
>


How to force PNP device to be a fixed COM port?