www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/08/06/05:54:10

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <48997484.7030700@free.fr>
Date: Wed, 06 Aug 2008 11:53:08 +0200
From: Sylvain RICHARD <sr75pro AT free DOT fr>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Problem opening new serial ports
References: <20080805203523 DOT GA18964 AT suncomp3 DOT spk DOT agilent DOT com> <20080806023740 DOT GC18964 AT suncomp3 DOT spk DOT agilent DOT com> <Xns9AF2674CB5345ajm AT 80 DOT 91 DOT 229 DOT 13>
In-Reply-To: <Xns9AF2674CB5345ajm@80.91.229.13>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Andy Moreton a écrit :
> On Wed, 06 Aug 2008 02:37:41 GMT, Gary Johnson wrote:
>
>   
>> On 2008-08-05, Gary Johnson wrote:
>>     
> [snipped] 
>   
>> OK, I did some Googling and found a "Cygwin USB-to-Serial HOWTO" 
>> (http://tmp.ua964.com/cygwin-usb-to-serial-howto/) and a thread in 
>> this list from May, both mentioning Cygwin's limit of 16 com ports.  
>> They also say that this is in the FAQ, but I sure couldn't find it 
>> there.  So it looks like my choices are:
>>
>> 1.  Wait for 1.7 (I'm currently using 1.5.25(0.156/4/2).
>> 2.  Build my own cygwin1.dll and change the limit to 64.
>> 3.  Rename COM24 and COM25 to 16 or below.
>>
>> I tried #3, but the drop-down list of COM ports says ports COM1 - 
>> COM23 are "(in use)", yet only COM1, COM2, COM4, COM5, COM24 and  
>> COM25 are in the Device Manager List.  The other ports were probably 
>> taken by various USB devices I've plugged in at one time or another 
>> but am no longer using.
>>     
>
> Open Device Manager, and click on "Show Hidden Devices" on the "View" menu.
> Click on the "Ports (COM & LPT)" subtree, and look for greyed out ports. On 
> each of the greyed out ports, right click and choose "Uninstall". Do the 
> same thing for any geyed out device in the "USB serial bus controllers" 
> subtree if you find any entries for USB serial ports there.
>
> Once you have done that, you should then be able to reuse the previously 
> occupied COM port numbers.
>
>     	AndyM
>
>   
Don't forget the obvious: MS makes it easy for you to go mad!

It seems there are "hidden" hidden devices.  Have a look at this:
http://support.microsoft.com/kb/315539

So once you clean out the hidden devices and the hidden, hidden devices, 
then you can remap your USB Com port back to COM3 or whatever, and it'll 
stay there!

Note that even plugging the same USB-RS232 converter into another USB 
port on a hub will create a "new" COM port.


Best regards,

Sylvain

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019