usb/138659: uftdi driver broken in RELENG_8/CURRENT

Ed Schouten ed at 80386.nl
Mon Sep 21 20:09:14 UTC 2009


Hi Pierre-Luc, Hans,

* Hans Petter Selasky <hselasky at c2i.net> wrote:
> You need to set raw mode for the TTY device I think. Maybe Ed can give you the 
> function name you need to call to do that?

Yes. You need cfmakeraw() to do that (or do everything yourself). See
src/lib/libc/gen/termios.c to see what it does.

So what I'm interested in, is the following:

	"even that device is answering requests slower and slower until
	it stalls completely within 1 hour"

Could you run `pstat -t' to see what's going on when it stalls? This
nifty tool just gives some random statistics on TTYs. Very useful to see
what's going on. Where data is stuck, etc. etc.

-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-usb/attachments/20090921/3d6eefe9/attachment.pgp


More information about the freebsd-usb mailing list