delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
From: | andyburgess <AndyBurgess AT argonet DOT co DOT uk> |
To: | ebb9 AT byu DOT net |
Cc: | cygwin AT cygwin DOT com |
Date: | Tue, 24 Jan 2006 10:29:12 +0000 (GMT) |
Subject: | Re: Serial port hangs unless I run Hyperterminal? |
Message-ID: | <4dee31fcd5AndyBurgess@argonet.co.uk> |
In-Reply-To: | <4dede53945AndyBurgess@argonet.co.uk> |
References: | <4dede53945AndyBurgess AT argonet DOT co DOT uk> |
User-Agent: | Pluto/3.03h (RISC-OS/4.02) POPstar/2.06-ds.3 |
X-orpheus-MailScanner: | Found to be clean |
X-orpheus-MailScanner-SpamCheck: | not spam, SpamAssassin (score=0.052, required 5, autolearn=disabled, AWL 0.05) |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Thanks all for your replies - I looked into errno - will be useful for future issues. Thanks to Eric, found my problem was although Cygwin happy with using port labelled COM1 (and presumably picking up Windows settings thereof - hence their changing after Hyperterminal), it couldn't do the tcgetattr and tcsetattr for that port successfully. Using the correct POSIX labelled port of "/dev/ttyS0" allowed get and set to work perfectly in C! Thanks all! Andy Burgess -- __ __ __ __ __ ___ _____________________________________________ |__||__)/ __/ \|\ ||_ | / | || \\__/\__/| \||__ | /...Internet access for all Acorn RISC machines ___________________________/ andyburgess AT argonet DOT co DOT uk -- 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 |