Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2004 18:38:30 +0200
From:      Emanuel Strobl <Emanuel.Strobl@gmx.net>
To:        freebsd-current@freebsd.org
Cc:        Kim Culhan <w8hdkim@yahoo.com>
Subject:   Re: usb serial port not working using tip
Message-ID:  <200409221838.38137.Emanuel.Strobl@gmx.net>
In-Reply-To: <20040919164532.98795.qmail@web50708.mail.yahoo.com>
References:  <20040919164532.98795.qmail@web50708.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1360010.09F0ZGXlI2
Content-Type: multipart/mixed;
  boundary="Boundary-01=_IqaUBX2OBWM/lid"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--Boundary-01=_IqaUBX2OBWM/lid
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Am Sonntag, 19. September 2004 18:45 schrieb Kim Culhan:
> This running 5.3-BETA4
>
> Trying to use tip to connect with a usb serial port
> ucom0, which is connected to the console on another
> machine running 5.3-BETA4
>
> The serial hardware:
>
> kernel: ucom0: Prolific Technology Inc. USB-Serial Controller,
> rev 1.10/3.00, addr 2
>
> It usually returns: connected

See the attached message. Just a hint, perhaps it's related to your problem.

-Mano

>
> Yet on sending a few c/r's nothing is displayed.
>
> The port on the other machine has been connected via
> cuaa0 for some time and it worked reliably.
>
> Rarely I can try it and it connects.. What is a method
> to help debug this?
>
> Also, after closing the tip connection with ~! then
> reopening the connection again, the lock file is still
> present and must be removed manually.
>
> Any help on this is greatly appreciated..
>
> -kim
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
> http://promotions.yahoo.com/new_mail
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

--Boundary-01=_IqaUBX2OBWM/lid
Content-Type: message/rfc822;
  name="forwarded message"
Content-Transfer-Encoding: 7bit
Content-Description: "Poul-Henning Kamp" <phk@phk.freebsd.dk>: Re: TTY
	cleanups have started...
Content-Disposition: inline

Return-Path: <bounce=owner-freebsd-current#afreebsd.org=209=67c4=emanuel.strobl@gmx.net>
Received: from korso.flintsbach.schmalzbauer.de ([unix socket])
	 by korso.flintsbach.schmalzbauer.de (Cyrus v2.2.6) with LMTPA;
	 Tue, 21 Sep 2004 12:20:08 +0200
X-Sieve: CMU Sieve 2.2
Received: from flb.schmalzbauer.de (mailjail.dmz.flintsbach.schmalzbauer.de
	[192.168.0.2])
	by korso.flintsbach.schmalzbauer.de (Postfix) with ESMTP id 88809153
	for <harry@korso.flintsbach.schmalzbauer.de>;
	Tue, 21 Sep 2004 12:20:08 +0200 (CEST)
Received: from mx0.gmx.net (mx0.gmx.de [213.165.64.100])
	by flb.schmalzbauer.de (8.12.11/8.12.11) with SMTP id i8LAK5uf070304
	for <gmx@schmalzbauer.de>; Tue, 21 Sep 2004 12:20:05 +0200 (CEST)
	bounce=owner-freebsd-current#afreebsd.org=209=67c4=emanuel.strobl@gmx.net)
Received: (qmail 22407 invoked by alias); 21 Sep 2004 10:19:59 -0000
Delivered-To: GMX delivery to emanuel.strobl@gmx.net
Received: (qmail 22322 invoked by uid 65534); 21 Sep 2004 10:19:59 -0000
Received: from mx2.freebsd.org (EHLO mx2.freebsd.org) (216.136.204.119)
  by mx0.gmx.net (mx037) with SMTP; 21 Sep 2004 12:19:59 +0200
Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18])
	by mx2.freebsd.org (Postfix) with ESMTP
	id 5B2DF578E2; Tue, 21 Sep 2004 10:19:39 +0000 (GMT)
	(envelope-from owner-freebsd-current@freebsd.org)
Received: from hub.freebsd.org (localhost [127.0.0.1])
	by hub.freebsd.org (Postfix) with ESMTP
	id 9A6C816A4D1; Tue, 21 Sep 2004 10:19:38 +0000 (GMT)
Delivered-To: freebsd-current@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 714A416A4CE
	for <freebsd-current@freebsd.org>;
	Tue, 21 Sep 2004 10:19:34 +0000 (GMT)
Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163])
	by mx1.FreeBSD.org (Postfix) with ESMTP id BFBA643D1D
	for <freebsd-current@freebsd.org>;
	Tue, 21 Sep 2004 10:19:33 +0000 (GMT)
	(envelope-from phk@critter.freebsd.dk)
Received: from critter.freebsd.dk (localhost [127.0.0.1])
	by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id i8LAJWpf080614;
	Tue, 21 Sep 2004 12:19:32 +0200 (CEST)
	(envelope-from phk@critter.freebsd.dk)
To: "Alexandre \"Sunny\" Kovalenko" <Alex.Kovalenko@verizon.net>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 21 Sep 2004 06:17:05 EDT."
             <1095761825.2535.31.camel@RabbitsDen> 
Date: Tue, 21 Sep 2004 12:19:32 +0200
Message-ID: <80613.1095761972@critter.freebsd.dk>
Cc: freebsd-current@freebsd.org
Subject: Re: TTY cleanups have started... 
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
	<freebsd-current.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
	<mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current>;
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
	<mailto:freebsd-current-request@freebsd.org?subject=subscribe>
Sender: owner-freebsd-current@freebsd.org
Errors-To: owner-freebsd-current@freebsd.org
X-GMX-Antispam: 0 (Mail was not recognized as spam)
X-Resent-By: Forwarder <forwarder@gmx.net>
X-Resent-For: emanuel.strobl@gmx.net
X-Resent-To: gmx@schmalzbauer.de
X-Spam-Status: No, hits=0.0 required=3.5 tests=none autolearn=no version=2.63
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on 
	mailjail.dmz.flintsbach.schmalzbauer.de
X-UID: 16686
X-Length: 4801
Content-Type: 

In message <1095761825.2535.31.camel@RabbitsDen>, "Alexandre \"Sunny\" Kovalenk
o" writes:

>> I bet you the problem is the DCD, since the most recent commit makes
>> ucom0 act like a real tty devices (rather than a cua device).
>> 
>> Can you try adding "O_NDELAY" to the open flags ?
>
>I have added O_NDELAY and 'open' went through. Will it break application
>or three or is it just me being silly?

Hopefully the discussion now on arch@ will result in us having "cua" devices
for USB serial ports, and that will solve the problem by giving you a
device you can open when there is no DCD signal present.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


--Boundary-01=_IqaUBX2OBWM/lid--

--nextPart1360010.09F0ZGXlI2
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQBBUaqNBylq0S4AzzwRAibbAJ0dXNg0kejdZyh6FXHK+WLl8RAXZACghawq
oErCFlIffbJ7/Qa/1yrmtFE=
=bAJA
-----END PGP SIGNATURE-----

--nextPart1360010.09F0ZGXlI2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409221838.38137.Emanuel.Strobl>