This is the mail archive of the
mailing list for the Cygwin project.
Serial Port Problem
- From: "Romeo Ahohe" <rahohe at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 14 Aug 2007 00:08:23 -0500
- Subject: Serial Port Problem
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.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html