From owner-freebsd-current@FreeBSD.ORG Tue Sep 21 10:19:34 2004 Return-Path: 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 ; 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 ; 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" From: "Poul-Henning Kamp" 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> Sender: phk@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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2004 10:19:34 -0000 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.