From owner-freebsd-multimedia@FreeBSD.ORG Sun May 1 15:44:15 2005 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0CEA16A4CE for ; Sun, 1 May 2005 15:44:15 +0000 (GMT) Received: from phws.ph.noda.tus.ac.jp (phws.ph.noda.tus.ac.jp [133.31.102.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C55843D39 for ; Sun, 1 May 2005 15:44:15 +0000 (GMT) (envelope-from kazuhito@ph.noda.tus.ac.jp) Received: from localhost (unknown [133.31.111.131]) by phws.ph.noda.tus.ac.jp (Postfix) with ESMTP id 043744D8035; Mon, 2 May 2005 00:44:14 +0900 (JST) Date: Mon, 02 May 2005 00:44:13 +0900 (JST) Message-Id: <20050502.004413.343153022.kazuhito@ph.noda.tus.ac.jp> To: hselasky@c2i.net From: Kazuhito HONDA In-Reply-To: <200504281547.42747.hselasky@c2i.net> References: <20050422.133916.343183478.kazuhito@ph.noda.tus.ac.jp> <200504281547.42747.hselasky@c2i.net> X-Mailer: Mew version 3.3 on XEmacs 21.5-b18 (chestnut) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable cc: freebsd-multimedia@freebsd.org Subject: Re: uaudio in full duplex X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 May 2005 15:44:16 -0000 From: Hans Petter Selasky Subject: Re: uaudio in full duplex Date: Thu, 28 Apr 2005 15:47:41 +0200 > On Friday 22 April 2005 06:39, Kazuhito HONDA wrote: > > the uaudio driver doesn't allow USB devices to > > open playback and record channel pipe, simultaneously, > > if in FreeBSD-stable, at line 3650 of uaudio.c as below: > > > > =A0 =A0 =A0 =A0 if ((sc->sc_playchan.pipe !=3D NULL) || (sc->sc_rec= chan.pipe !=3D > > NULL)) return (-1); > > > > If you do comment-out it, you may be able to read and write several= time. > > But USB low-level driver soon freezes with eternal errors messages.= > > I haven't found its cause. > = > What does the error messages say? It might be a bug in the UHCI drive= r, = > because it does currently not check when isochronous transfers are = > inserted in time ! Its message is `early return'. = This message is included in ohci.c, and isn't included in uhci.c. = And we (I and Artem Ignatiev) found that full duplex on uaudio = work with UHCI without any problem, but don't work with OHCI. Sincerely, Kazuhito HONDA