This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]