Ed Schouten wrote:
Hello Pierre-Luc,
* Pierre-Luc Drouin <[email protected]> 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[email protected]"