X-Spam-Check-By: sourceware.org Message-ID: <439e2d240708132208k2b952e94g644d515a25bd231f@mail.gmail.com> Date: Tue, 14 Aug 2007 00:08:23 -0500 From: "Romeo Ahohe" To: cygwin AT cygwin DOT com Subject: Serial Port Problem MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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/