From owner-freebsd-multimedia@FreeBSD.ORG Fri Mar 11 20:22:42 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 2D59916A4CE for ; Fri, 11 Mar 2005 20:22:42 +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 0BFBB43D46 for ; Fri, 11 Mar 2005 20:22:41 +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 BA20D4D8035; Sat, 12 Mar 2005 05:22:38 +0900 (JST) Date: Sat, 12 Mar 2005 05:22:38 +0900 (JST) Message-Id: <20050312.052238.343190976.kazuhito@ph.noda.tus.ac.jp> To: freebsd-misuser@dyndns.dk From: Kazuhito HONDA In-Reply-To: <20050207.144135.343184916.kazuhito@ph.noda.tus.ac.jp> References: <20050202.125013.343181897.kazuhito@ph.noda.tus.ac.jp> <200502040227.j142Rnw4000784@Mail.NOSPAM.DynDNS.dK> <20050207.144135.343184916.kazuhito@ph.noda.tus.ac.jp> X-Mailer: Mew version 3.3 on XEmacs 21.5-b18 (chestnut) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-multimedia@freebsd.org Subject: Re: Which USB-Soundcards work? 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: Fri, 11 Mar 2005 20:22:42 -0000 From: Kazuhito HONDA Subject: Re: Which USB-Soundcards work? Date: Mon, 07 Feb 2005 14:41:35 +0900 (JST) > Oh, I couldn't have that idea to use FreeBSD sysctl knob > when my coding. It's a nice idea, > and mixer system for USB audios should be. All controllers of USB audio devices come to be able to control through FreeBSD sysctl knob. http://sobarally.dyndns.org/~trench/uaudio/uaudio-mixer-sysctl.gz For example, when SB Digital Music and SB Live! 24-bit External are connected after applying the patch above, sysctl says: hw.snd.pcm0.record@sel8-i10i11i12: 1 hw.snd.pcm0.outputs@speaker-mute: 0 hw.snd.pcm0.outputs@speaker: 7474 hw.snd.pcm0.record@mic-mute: 0 hw.snd.pcm0.record@mic: 26976600 hw.snd.pcm0.record@mic-agc: 0 hw.snd.pcm0.record@line-mute: 0 hw.snd.pcm0.record@line: 7474 hw.snd.pcm0.record@aux-mute: 0 hw.snd.pcm0.inputs@mic-mute: 0 hw.snd.pcm0.inputs@mic: 7400 hw.snd.pcm0.inputs@line-mute: 1 hw.snd.pcm0.inputs@line: 7474 hw.snd.pcm1.outputs@speaker-mute: 0 hw.snd.pcm1.outputs@speaker: 7400 hw.snd.pcm1.record@line: 7700 `*@*-mute's are mute controllers. 0 is OFF and 1 is ON. `*@sel*-*' is a source selector. each `i[num]' corresponds to each input source. `hw.snd.pcm0.record@sel8-i10i11i12' shows three input source, and we can select them by 1,2 or 3. Almost others are volumes. first two orders correspond to a left or mono's volume. last two orders correspond to a right volume. their values are from 0 to 99. `hw.snd.pcm0.record@mic: 26976600' is ...... a bug, I'll research sometime. `sysctl -w' changes behaviors of the USB audio device, but this isn't reflected by FreeBSD mixer command. Sincerely Kazuhito HONDA