Date: Mon, 02 May 2005 00:44:13 +0900 (JST) From: Kazuhito HONDA <kazuhito@ph.noda.tus.ac.jp> To: hselasky@c2i.net Cc: freebsd-multimedia@freebsd.org Subject: Re: uaudio in full duplex Message-ID: <20050502.004413.343153022.kazuhito@ph.noda.tus.ac.jp> In-Reply-To: <200504281547.42747.hselasky@c2i.net> References: <bf1230e8e54b0a986844371a3602d87b@mail.ru> <20050422.133916.343183478.kazuhito@ph.noda.tus.ac.jp> <200504281547.42747.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
From: Hans Petter Selasky <hselasky@c2i.net> 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: > > > > if ((sc->sc_playchan.pipe != NULL) || (sc->sc_recchan.pipe != > > 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 driver, > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050502.004413.343153022.kazuhito>
