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

--2zue9K3IhLF/3KAd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 yo=
u the=20
> 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.

--=20
 Ed Schouten <ed@80386.nl>
 WWW: http://80386.nl/

--2zue9K3IhLF/3KAd
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

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

--2zue9K3IhLF/3KAd--



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