www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Wed, 17 Jan 2007 12:47:19 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Problem open(...) serial port /dev/com20 and tcgetattr(...) |
Message-ID: | <20070117114719.GG28312@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <45ADF0D2 DOT 8080809 AT sauvages DOT be> |
Mime-Version: | 1.0 |
In-Reply-To: | <45ADF0D2.8080809@sauvages.be> |
User-Agent: | Mutt/1.4.2.2i |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
On Jan 17 10:48, Stan Pinte wrote: > Hello, > > accessing serial port under cygwin, with ids above 10 is broken: > > Using "/dev/com20" results in a "No such file or directory" error. Try the more POSIXy "/dev/ttyS19" instead. /dev/ttyS0 == /dev/com1 This is supposed to be supported up to /dev/ttyS63. > The following post: > http://www.cygwin.com/ml/cygwin/1999-12/msg00323.html says I should use > > "\\\\.\\com20" instead of "/dev/com20". If I do that, the call to open(...) succeed, > but the call to tcgetattr raises a "Inappropriate ioctl for device" error. This posting is 7(!) years old. Things have changed in the meantime. Don't use the Windows notation "\\.\comXX". It's not supported. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |