delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/26/05:42:31

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: "Leonid Krashenko" <Leonid DOT Krashenko AT gmail DOT com>
Subject: Re: /dev/ttyUSB0: No such file or directory
Date: Fri, 26 Jun 2009 13:42:15 +0400
Lines: 42
Message-ID: <h22559$gvs$1@ger.gmane.org>
References: <h1td8p$hq9$1 AT ger DOT gmane DOT org> <4A427184 DOT 2040909 AT gmx DOT de> <20090625082902 DOT GM7289 AT calimero DOT vinschen DOT de>
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

Well, it worked, thank you very much!

Windows recognized the USB adapter as COM3, so I've simply used /dev/ttyS2 
device (and also tuned it with stty command).

"Corinna Vinschen" <corinna-cygwin AT cygwin DOT com> ???????/???????? ? ???????? 
?????????: news:20090625082902 DOT GM7289 AT calimero DOT vinschen DOT de...
> On Jun 24 20:33, Matthias Andree wrote:
>> Leonid Krashenko schrieb:
>> > Hello.
>> >
>> > I am new to the Cygwin and have a problem connecting a device with 
>> > serial
>> > output to the computer throw USB adapter. In Linux it's name is
>> > /dev/ttyUSB0. I have no /dev/ttyUSB0 device in /dev (but ttyS0 works).
>> >
>> > So I plug the USB cable in, then trying to:
>> >
>> > $ cat /dev/ttyUSB0
>> > cat: /dev/ttyUSB0: No such file or directory
>>
>> Nevermind the name difference. Look up the proper COM name in device 
>> manager,
>> and use /dev/com7 (adjust the number as needed).
>
> Please use /dev/ttyS6 instead.   com(x) == ttyS(x-1)
>
>> Note that Cygwin 1.5 only maps 16 serial devices
>
> Well, actually it maps 64 serial devices.  You just have to use the
> /dev/ttySx syntax.  /dev/comx only supports 16 devices.
>
>
> Corinna
>
> -- 
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Project Co-Leader          cygwin AT cygwin DOT com
> Red Hat
> 




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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