Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Sep 2009 21:49:33 +0200
From:      Ed Schouten <ed@80386.nl>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: usb/138659: uftdi driver broken in RELENG_8/CURRENT
Message-ID:  <20090921194933.GB95398@hoeg.nl>
In-Reply-To: <200909211827.53014.hselasky@c2i.net>
References:  <4AB6DA79.7050209@pldrouin.net> <200909211827.53014.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi Pierre-Luc, Hans,

* Hans Petter Selasky <hselasky@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@80386.nl>
 WWW: http://80386.nl/

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAkq32M0ACgkQ52SDGA2eCwUbJQCbBC0jZTf2LS9jbO5ITvDqR4ds
m5sAn0HJnlFnL4YJNpGtzTjlvXAjAI4/
=2P0a
-----END PGP SIGNATURE-----

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