my driver installs one or more COM ports. After I have installed the devices
and removed them again, the next install sometimes uses higher COM port
numbers. There must be a map somewhere of free COM numbers, which I have to
reset, but so far I have not found it yet. Anyone have an idea?

Thanks,
Jan

Re: COM ports disappear with install / remove cycle by Maxim

Maxim
Wed Jan 30 22:39:17 CST 2008

> numbers. There must be a map somewhere of free COM numbers, which I have

http://msdn2.microsoft.com/en-us/library/ms800603.aspx

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com


Re: COM ports disappear with install / remove cycle by jan

jan
Thu Jan 31 09:26:03 CST 2008

Thanks, that looks like what I was looking for!



"Maxim S. Shatskih" wrote:

> > numbers. There must be a map somewhere of free COM numbers, which I have
>
> http://msdn2.microsoft.com/en-us/library/ms800603.aspx
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> maxim@storagecraft.com
> http://www.storagecraft.com
>
>

Re: COM ports disappear with install / remove cycle by Doron

Doron
Thu Jan 31 13:27:01 CST 2008

if these ports are being installed under the ports device class and by
remove you mean you are uninstalling via device manager, the com port number
should be reclaimed automatically.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"jan" <jan@nospam.nospam> wrote in message
news:0F2FA43A-F55F-48C4-9426-D67D5A799FA8@microsoft.com...
> Thanks, that looks like what I was looking for!
>
>
>
> "Maxim S. Shatskih" wrote:
>
>> > numbers. There must be a map somewhere of free COM numbers, which I
>> > have
>>
>> http://msdn2.microsoft.com/en-us/library/ms800603.aspx
>>
>> --
>> Maxim Shatskih, Windows DDK MVP
>> StorageCraft Corporation
>> maxim@storagecraft.com
>> http://www.storagecraft.com
>>
>>


Re: COM ports disappear with install / remove cycle by jan

jan
Thu Jan 31 13:36:04 CST 2008

That is what I expected, but I started with COM 3 and now I get COM8.
Probably this is caused by me trying to uninstall when there is still an open
file, but even then, I like to clean up my own garbage (and now I know how
to).

Regards,
Jan

"Doron Holan [MSFT]" wrote:

> if these ports are being installed under the ports device class and by
> remove you mean you are uninstalling via device manager, the com port number
> should be reclaimed automatically.
>
> d
>
> --
> Please do not send e-mail directly to this alias. this alias is for
> newsgroup purposes only.
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
> "jan" <jan@nospam.nospam> wrote in message
> news:0F2FA43A-F55F-48C4-9426-D67D5A799FA8@microsoft.com...
> > Thanks, that looks like what I was looking for!
> >
> >
> >
> > "Maxim S. Shatskih" wrote:
> >
> >> > numbers. There must be a map somewhere of free COM numbers, which I
> >> > have
> >>
> >> http://msdn2.microsoft.com/en-us/library/ms800603.aspx
> >>
> >> --
> >> Maxim Shatskih, Windows DDK MVP
> >> StorageCraft Corporation
> >> maxim@storagecraft.com
> >> http://www.storagecraft.com
> >>
> >>
>
>

Re: COM ports disappear with install / remove cycle by chris

chris
Fri Feb 01 13:21:42 CST 2008

On Jan 31, 1:36 pm, jan <j...@nospam.nospam> wrote:

> That is what I expected, but I started with COM 3 and now I get COM8.
> Probably this is caused by me trying to uninstall when there is still an open
> file, but even then, I like to clean up my own garbage (and now I know how
> to).

This happens from time to time if you get a hosed device installation/
uninstallation, even if you are uninstalling properly (through
DIF_REMOVE or Device Manager). If you use the Don Burn method of
removing devices (deleting keys under CCS\Enum), you will definitely
start orphaning COM ports.

You can go through the list of assigned ports by choosing the "view
hidden devices" option in Device Manager, and then go through the
bitmask in COM Name Arbiter to make sure they match up.