From owner-freebsd-stable@FreeBSD.ORG Tue Dec 29 12:28:47 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F224106566C for ; Tue, 29 Dec 2009 12:28:47 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from warped.bluecherry.net (unknown [IPv6:2001:440:eeee:fffb::2]) by mx1.freebsd.org (Postfix) with ESMTP id 1396D8FC08 for ; Tue, 29 Dec 2009 12:28:47 +0000 (UTC) Received: from volatile.chemikals.org (adsl-67-209-173.shv.bellsouth.net [98.67.209.173]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by warped.bluecherry.net (Postfix) with ESMTPSA id 17A31A1EB615; Tue, 29 Dec 2009 06:28:45 -0600 (CST) Received: from localhost (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.14.3/8.14.3) with ESMTP id nBTCSgKT074824; Tue, 29 Dec 2009 06:28:42 -0600 (CST) (envelope-from morganw@chemikals.org) Date: Tue, 29 Dec 2009 06:28:42 -0600 (CST) From: Wes Morgan X-X-Sender: morganw@volatile To: Mike Tancsa In-Reply-To: <200912290248.nBT2mJ3d009122@lava.sentex.ca> Message-ID: References: <200912290248.nBT2mJ3d009122@lava.sentex.ca> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Virus-Scanned: clamav-milter 0.95.2 at warped X-Virus-Status: Clean Cc: stable@freebsd.org Subject: Re: 7.2 to 8.0 serial not working X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Dec 2009 12:28:47 -0000 On Mon, 28 Dec 2009, Mike Tancsa wrote: > At 09:27 PM 12/28/2009, Wes Morgan wrote: >> I just upgraded from 7.2-stable to 8.0-stable, same kernel config (with >> uart), same everything else and now I can't receive more than a few bytes >> of data from my weather station before it just waits incessantly. >> Everything worked before, with the same serial port settings, uart device >> etc. Has anything else changed in the serial interface? I'm using the cuauX >> devices at 2400 baud. > > > For some low speed apps (1200bps in our case) I found I needed to set > > hint.uart.0.flags="0x00100" > > ---Mike Thanks for the suggestion. 0x100 doesn't seem to work, no data is being seen at all. Using 0x800, I get a bit more data, and if I slow down how fast I'm reading from the port I get a bit more (?????), but the final pass only reads two bytes before hanging indefinitely, not honoring the VMIN/VTIME parameters. It's almost like data is being thrown away, but the actual number of bytes is very small so I don't see how that could be happening.