delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/14/01:08:46

X-Spam-Check-By: sourceware.org
Message-ID: <439e2d240708132208k2b952e94g644d515a25bd231f@mail.gmail.com>
Date: Tue, 14 Aug 2007 00:08:23 -0500
From: "Romeo Ahohe" <rahohe AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Serial Port Problem
MIME-Version: 1.0
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

Hi,

I have a PC with multiple serial ports. One of the COM port is the
regular COM1 that comes with most PCs. The other ports are all located
on a PCI card. Under windows, those ports are mapped to COM3, 4, 5,
and 6. Under Linux, they are mapped to /dev/ttyS2, /dev/ttyS3,
/dev/ttyS4, and /dev/ttyS5 as one would expect.
I wrote a program to read all those ports one at a time. The program
works without any problem under Linux.

However, when I tried to run the same program under cygwin, I could
only read /dev/ttyS0. The program is unable to read any data from the
serial ports on the PCI card. I ran "stty -a" to determine what serial
ports cygwin is seeing on the machine, and I noticed that only "line
0" settings were reported.

So, either cygwin does not support serial ports on PCI cards or I need
to configure it properly to handle those cards. I've been googling
around to find some information about this, but I haven't found
anything so far. Any help would be really appreciated.

Thanks,

Romeo

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