From owner-freebsd-multimedia@FreeBSD.ORG Fri Mar 10 10:12:40 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 E8AFA16A420 for ; Fri, 10 Mar 2006 10:12:40 +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 1C69F43D49 for ; Fri, 10 Mar 2006 10:12:39 +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 k2A9tcSH098279; Fri, 10 Mar 2006 10:55:41 +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 k2AACQWH042658; Fri, 10 Mar 2006 11:12:26 +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 11:12:25 +0100 Message-ID: <20060310111225.93tbmzmxw4s8www4@netchild.homeip.net> X-Priority: 3 (Normal) Date: Fri, 10 Mar 2006 11:12:25 +0100 From: Alexander Leidinger To: Kazuhito HONDA References: <20060309163525.M9264@bartsplace.net> <20060310.131822.343160869.kazuhito@ph.noda.tus.ac.jp> In-Reply-To: <20060310.131822.343160869.kazuhito@ph.noda.tus.ac.jp> 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 10:12:41 -0000 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. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 Let the machine do the dirty work. -- "Elements of Programming Style", Kernighan and Ritchie