From owner-freebsd-usb@FreeBSD.ORG Mon Sep 21 20:10:02 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8FBE1065679 for ; Mon, 21 Sep 2009 20:10:02 +0000 (UTC) (envelope-from pldrouin@pldrouin.net) Received: from smtp.cyberfingers.net (smtp.cyberfingers.net [198.177.254.227]) by mx1.freebsd.org (Postfix) with ESMTP id C081E8FC20 for ; Mon, 21 Sep 2009 20:10:02 +0000 (UTC) Received: from mdaemon.pldrouin.net (pldrouinlap2-pc.physics.carleton.ca [134.117.23.34]) by smtp.cyberfingers.net (Postfix) with ESMTP id 811A8AB6C24; Mon, 21 Sep 2009 16:07:12 -0400 (EDT) Message-ID: <4AB7DD9B.8070707@pldrouin.net> Date: Mon, 21 Sep 2009 16:10:03 -0400 From: Pierre-Luc Drouin User-Agent: Thunderbird 2.0.0.23 (X11/20090824) MIME-Version: 1.0 To: Ed Schouten References: <4AB6DA79.7050209@pldrouin.net> <200909211827.53014.hselasky@c2i.net> <20090921194933.GB95398@hoeg.nl> <4AB7DA4B.8050105@pldrouin.net> <20090921195920.GE95398@hoeg.nl> In-Reply-To: <20090921195920.GE95398@hoeg.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: usb/138659: uftdi driver broken in RELENG_8/CURRENT X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Sep 2009 20:10:03 -0000 Ed Schouten wrote: > Hello Pierre-Luc, > > * Pierre-Luc Drouin wrote: > >> Here is what I get from pstat when I run my executable: >> >> while ( 1 ) >> while? pstat -t ttyU0 | grep ttyU0 >> while? sleep 1 >> while? end >> LINE INQ CAN LIN LOW OUTQ USE LOW COL SESS PGID STATE >> ttyU0 0 0 0 0 0 0 0 4 0 0 ICl >> > > >> ttyU0 1920 0 0 192 1984 0 199 6 0 0 ICOil >> > > That all makes sense. Just let me know what it looks like when things go > sour. If it still displays the above mentioned lines, then I suspect it > to be a more complex problem... > > Well in my case (not to be confused with the starter of this thread), I simply cannot read any data. It hangs forever at the first read statement on FreeBSD in synchronous mode, or I get EINTR if I try reading in ASYNC mode after SIGIO is sent, independently of the number of bytes I try reading. All these tests run smoothly on Linux. Pierre-Luc Drouin