From owner-freebsd-usb@FreeBSD.ORG Mon Sep 21 20:09:14 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B953106566B for ; Mon, 21 Sep 2009 20:09:14 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [87.251.61.211]) by mx1.freebsd.org (Postfix) with ESMTP id 02B238FC08 for ; Mon, 21 Sep 2009 20:09:13 +0000 (UTC) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 62F2A1D0D6; Mon, 21 Sep 2009 21:49:33 +0200 (CEST) Date: Mon, 21 Sep 2009 21:49:33 +0200 From: Ed Schouten To: Hans Petter Selasky Message-ID: <20090921194933.GB95398@hoeg.nl> References: <4AB6DA79.7050209@pldrouin.net> <200909211827.53014.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2zue9K3IhLF/3KAd" Content-Disposition: inline In-Reply-To: <200909211827.53014.hselasky@c2i.net> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-usb@freebsd.org Subject: Re: usb/138659: uftdi driver broken in RELENG_8/CURRENT X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Sep 2009 20:09:14 -0000 --2zue9K3IhLF/3KAd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Pierre-Luc, Hans, * Hans Petter Selasky 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 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--