From owner-freebsd-multimedia@FreeBSD.ORG Fri Mar 10 11:08:39 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 F133716A423 for ; Fri, 10 Mar 2006 11:08:39 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFDB943D67 for ; Fri, 10 Mar 2006 11:08:38 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D47F.dip.t-dialin.net [84.165.212.127]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id k2AApcr9098449; Fri, 10 Mar 2006 11:51:39 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id k2AB8TFG053028; Fri, 10 Mar 2006 12:08:30 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Fri, 10 Mar 2006 12:08:29 +0100 Message-ID: <20060310120829.5wkcmkjae8cgsgg0@netchild.homeip.net> X-Priority: 3 (Normal) Date: Fri, 10 Mar 2006 12:08:29 +0100 From: Alexander Leidinger To: Bart van Leeuwen References: <20060309163525.M9264@bartsplace.net> <20060310.131822.343160869.kazuhito@ph.noda.tus.ac.jp> <20060310111225.93tbmzmxw4s8www4@netchild.homeip.net> <20060310102511.M65307@bartsplace.net> In-Reply-To: <20060310102511.M65307@bartsplace.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new 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: Fri, 10 Mar 2006 11:08:40 -0000 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, 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). So hps should provide a patch with his driver which remove this code. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 JUSTICE: A decision in your favor.