delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/17/07:18:32

X-Spam-Check-By: sourceware.org
Message-ID: <45AE13FA.2050901@sauvages.be>
Date: Wed, 17 Jan 2007 13:18:02 +0100
From: Stan Pinte <stan AT sauvages DOT be>
User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com, corinna-cygwin AT cygwin DOT com
Subject: Re: Problem open(...) serial port /dev/com20 and tcgetattr(...)
References: <45ADF0D2 DOT 8080809 AT sauvages DOT be> <20070117114719 DOT GG28312 AT calimero DOT vinschen DOT de>
In-Reply-To: <20070117114719.GG28312@calimero.vinschen.de>
OpenPGP: id=BC4F5802
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

--------------enig782478A21E6B35F5C6D22206
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Dear Corinna,

Thanks for your quick follow-up!

I tried the more POSIXy /dev/ttySxx, and they work until /dev/ttyS16.
This, and the next ones (I tested up to ttyS20) fail with a "No such
file or directory" error.

One note: I am using VSPD5 from eltima software to create virtual serial
ports under windows XP. However, all my other windows applications seem
to be perfectly able to taok to these virtuals serial ports.

Stan.

Corinna Vinschen a =E9crit :
> On Jan 17 10:48, Stan Pinte wrote:
>=20=20=20
>> Hello,
>>
>> accessing serial port under cygwin, with ids above 10 is broken:
>>
>> Using "/dev/com20" results in a "No such file or directory" error.
>>=20=20=20=20=20
>
> Try the more POSIXy "/dev/ttyS19" instead.  /dev/ttyS0 =3D=3D /dev/com1
> This is supposed to be supported up to /dev/ttyS63.
>
>=20=20=20
>> 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,=20
>> but the call to tcgetattr raises a "Inappropriate ioctl for device" erro=
r.
>>=20=20=20=20=20
>
> This posting is 7(!) years old.  Things have changed in the meantime.
> Don't use the Windows notation "\\.\comXX".  It's not supported.
>
>
> Corinna
>
>=20=20=20



--------------enig782478A21E6B35F5C6D22206
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFrhP6/PmuubxPWAIRAsJ+AJ9HQAXMqJD2krPIEpdPUhBjmrChSACePr3z
m7BJZ6bLuyPPAGqKkdlkEcg=
=lSJ9
-----END PGP SIGNATURE-----

--------------enig782478A21E6B35F5C6D22206--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019