delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/20/11:18:01

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3B5848D7.8EC5F3EF@acris.co.uk>
Date: Fri, 20 Jul 2001 16:05:59 +0100
From: Julian Hall <jules AT acris DOT co DOT uk>
X-Mailer: Mozilla 4.7 [en-gb] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Quick query

I've just been trying to port some software that uses serial ports to
cygwin with limited success.  Specifically, some of my workstations here
have /dev/com1 and some don't.  What version of the Cygwin DLL is
required to get serial port access to work?  Also, should /dev/ttyS0 etc
work?  When I use ls I get strange results...

jules:~$ ls -l /dev/com1
crw-rw-rw-   1 Everyone Everyone   7,   1 Jul 20 16:02 /dev/com1
jules:~$ ls -l /dev/ttyS0
crw-rw-rw-   1 Everyone Everyone   7,   0 Jul 20 16:02 /dev/ttyS0

surely these two should refer to the same device, as the 'com1' entry is
(presumably) for compatibility with windows conventions and should
therefore be a reference to the first serial device, as should ttyS0 for
compatibility with unix conventions...?

Also, is there any chance of having a virtual /dev directory that lists
available devices?  Or do I have to 'mknod' them all by hand?

Jules




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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