X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <481A1416.4030003@bmts.com>
Date: Thu, 01 May 2008 15:03:50 -0400
From: Ralph Hempel <rhempel@bmts.com>
User-Agent: Thunderbird 2.0.0.6 (X11/20071022)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: More than 16 Serial Ports
References: <4819E3A6.80704@bmts.com> <00fd01c8aba6$4aa83e80$2708a8c0@CAM.ARTIMI.COM>
In-Reply-To: <00fd01c8aba6$4aa83e80$2708a8c0@CAM.ARTIMI.COM>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-brucetelecom.com-MailScanner-Information: Please contact Bruce Telecom 519.368.2000 for more information
X-brucetelecom.com-MailScanner: Found to be clean
X-brucetelecom.com-MailScanner-From: rhempel@bmts.com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Dave Korn wrote:
> Ralph Hempel wrote on 01 May 2008 16:37:
> 
>> So now the question is, where do we poke around in the
>> source to increase the limit of serial ports under
>> Cygwin?
> 
>   Look at winsup/cygwin/devices.in, which is a template that is used to
> auto-generate the code in winsup/cygwin/devices.cc, using the
> winsup/cygwin/gendevices script.
> 
>   Note that on mainline (as opposed to the 1.5.x release branch), the number
> appears to have been raised to 64 quite some time ago.

So to get the >16 port support, I download the source from the snapshot
area and build cygwin1.dll myself? Or can I just get prebuilt version
from the snapshot tree?

Sorry for the dumb questions. I've been using and loving cygwin for
a while now and have built things as complex as an ARM7 toolchain
and custom GDB debug stub for the target, but I've never poked around
cygwin itself since it pretty much "just works"

The serial port issue is the first major issue I've not been able
to work around easily, so far.

Cheers, Ralph

--
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/

