Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Sep 2009 16:10:03 -0400
From:      Pierre-Luc Drouin <pldrouin@pldrouin.net>
To:        Ed Schouten <ed@80386.nl>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: usb/138659: uftdi driver broken in RELENG_8/CURRENT
Message-ID:  <4AB7DD9B.8070707@pldrouin.net>
In-Reply-To: <20090921195920.GE95398@hoeg.nl>
References:  <4AB6DA79.7050209@pldrouin.net> <200909211827.53014.hselasky@c2i.net> <20090921194933.GB95398@hoeg.nl> <4AB7DA4B.8050105@pldrouin.net> <20090921195920.GE95398@hoeg.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Ed Schouten wrote:
> Hello Pierre-Luc,
>
> * Pierre-Luc Drouin <pldrouin@pldrouin.net> 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
>>     
> <snip>
>   
>>     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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AB7DD9B.8070707>