X-Recipient: archive-cygwin@delorie.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@cygwin.com
From: "Leonid Krashenko" <Leonid.Krashenko@gmail.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@ger.gmane.org> <4A427184.2040909@gmx.de> <20090625082902.GM7289@calimero.vinschen.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@cygwin.com> ???????/???????? ? ???????? 
?????????: news:20090625082902.GM7289@calimero.vinschen.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

