delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/08/05/16:36:15

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 5 Aug 2008 13:35:24 -0700
From: Gary Johnson <garyjohn AT spk DOT agilent DOT com>
To: cygwin AT cygwin DOT com
Subject: Problem opening new serial ports
Message-ID: <20080805203523.GA18964@suncomp3.spk.agilent.com>
Mail-Followup-To: cygwin AT cygwin DOT com
MIME-Version: 1.0
X-Operating-System: SunOS suncomp3 5.8 sparc
User-Agent: Mutt/1.5.17 (2007-11-01)
X-IsSubscribed: yes
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

I've been successfully using the original two serial ports on my
Windows PC, COM1 and COM2, referring to them to Cygwin tools as
/dev/ttyS0 and /dev/ttyS1, respectively.  I needed two more serial
ports, so I used a device that plugs into a USB port on a PC and
provides two serial ports.  The device is an Edgeport/2 USB
Converter.  I installed the drivers and now the Windows Device
Manager shows the following under "Ports (COM & LPT)":

   Communications Port (COM1)
   Communications Port (COM2)
   EdgePort [V20853020-0] Serial Port - 1 (COM24)
   EdgePort [V20853020-0] Serial Port - 2 (COM25)

plus devices on LPT1, COM4 and COM5.

Cygwin tools don't seem to be able to find these two new ports.  For
example:

   $ stty < /dev/ttyS23
   bash: /dev/ttyS23: No such file or directory

   $ stty < /dev/ttyS24
   bash: /dev/ttyS24: No such file or directory

Is there something else I need to do to get Cygwin to recognize
these ports?  Do they look like serial ports to Cygwin, or does
Cygwin see only the USB port?

I have not rebooted the machine since installing the EdgePort device
since I have experiments running on it at the moment.

Regards,
Gary


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