delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
References: | <7c5010d60805290558o3717c302u959dd34f396cdb81 AT mail DOT gmail DOT com> |
Subject: | RE: serial ports not visible with 1.7 under Vista |
Date: | Thu, 29 May 2008 15:14:45 +0100 |
Message-ID: | <005a01c8c196$587b9b50$2708a8c0@CAM.ARTIMI.COM> |
MIME-Version: | 1.0 |
X-Mailer: | Microsoft Office Outlook 11 |
In-Reply-To: | <7c5010d60805290558o3717c302u959dd34f396cdb81@mail.gmail.com> |
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 |
Giovanni Maruzzelli wrote on 29 May 2008 13:59: > I cannot see the serial ports (/dev/ttyS*), it seems that they do not > exist under Vista (tried both as a user with admin rights and as > Administrator, and tried also with AUC disabled). > > Is this a known bug? What, not checking errno? > int main (int argc, char* argv[]) > { > int tty; > > tty = open ("/dev/ttyS5", O_RDWR | O_NOCTTY | O_NONBLOCK); > > if (tty < 0) > { > printf ("Unable to open /dev/ttyS5\n"); > exit (1); > } > > close (tty); > > return 0; > } Yeh, that's one of the classics! ;-) cheers, DaveK -- Can't think of a witty .sigline today.... -- 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 |