From owner-freebsd-multimedia@FreeBSD.ORG Sat Mar 11 18:15:53 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org 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 AD4CC16A41F for ; Sat, 11 Mar 2006 18:15:53 +0000 (GMT) (envelope-from kazuhito@ph.noda.tus.ac.jp) Received: from t-mta2.odn.ne.jp (mfep2.odn.ne.jp [143.90.131.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E20F43D45 for ; Sat, 11 Mar 2006 18:15:52 +0000 (GMT) (envelope-from kazuhito@ph.noda.tus.ac.jp) Received: from localhost ([219.66.84.110]) by t-mta2.odn.ne.jp with ESMTP id <20060311181551106.QEUW.125606.t-mta2.odn.ne.jp@mta2.odn.ne.jp>; Sun, 12 Mar 2006 03:15:51 +0900 Date: Sun, 12 Mar 2006 03:15:40 +0900 (JST) Message-Id: <20060312.031540.343188189.kazuhito@ph.noda.tus.ac.jp> To: Alexander@Leidinger.net From: Kazuhito HONDA In-Reply-To: <20060310120829.5wkcmkjae8cgsgg0@netchild.homeip.net> References: <20060310111225.93tbmzmxw4s8www4@netchild.homeip.net> <20060310102511.M65307@bartsplace.net> <20060310120829.5wkcmkjae8cgsgg0@netchild.homeip.net> X-Mailer: Mew version 3.3 on XEmacs 21.4.18 (Social Property) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: usb audio and a 1 channel input device X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Mar 2006 18:15:53 -0000 From: Alexander Leidinger Subject: Re: usb audio and a 1 channel input device Date: Fri, 10 Mar 2006 12:08:29 +0100 > Bart van Leeuwen wrote: > > > On Fri, 10 Mar 2006 11:12:25 +0100, Alexander Leidinger wrote > >> Kazuhito HONDA wrote: > >> > >> > If your USB controller is uhci, you should do 1) below only. > >> > But yours os ohci, you should 1) and 2). > >> > > >> > 1) Comment out these lines in a function "uaudio_init_params()" of > >> > a file "/usr/src/sys/dev/sound/usb/uaudio.c": > >> > if ((sc->sc_playchan.pipe != NULL) || (sc->sc_recchan.pipe > >> != NULL)) > >> > return (-1); > >> > >> Is there a sane way here if we are on a uhci or ohci chipset? I > >> would prefer to check it and allow it if we are on an uhci chipset. > > > > I believe the change is relevant to both cases? > > Sort of. With the driver of hps, you can remove it entirely, Oh. I haven't tried to use the recent driver of hps, so I didn't know it. With the recent driver of hps, 1) isn't necessary. > but with the > driver in the base system, we have the restriction to only remove this code > for an uhci chipset (since the ohci driver has problems with this duplex > operation). That's right, exactly. Sincerely yours, Kazuhito HONDA