From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 12 23:57:56 2005 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 D53B916A41F for ; Mon, 12 Sep 2005 23:57:56 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [202.157.186.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C71143D45 for ; Mon, 12 Sep 2005 23:57:55 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 5B3906CC35; Tue, 13 Sep 2005 08:05:50 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (tomoyo.MyBSD.org.my [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 44372-06; Tue, 13 Sep 2005 08:05:49 +0800 (MYT) Received: from kasumi.MyBSD.org.my (unknown [218.111.181.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id AE7436CC32; Tue, 13 Sep 2005 08:05:48 +0800 (MYT) Date: Tue, 13 Sep 2005 07:58:35 +0800 From: Ariff Abdullah To: freebsd-multimedia@freebsd.org Message-Id: <20050913075835.5f055747.skywizard@MyBSD.org.my> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-antivirus-mail-gateway at TOMOYO.MYBSD.ORG.MY Cc: Subject: As promised: Soft volume mixer controller 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: Mon, 12 Sep 2005 23:57:57 -0000 As promised (last week?), here is soft volume mixer controller to control pcm volume. This is rather a long Lost Technology rather than a new feature because FEEDER_VOLUME already defined/existed as old as I can remember (only the implementation part missing, thus, a Lost Technology, bleh..). For -CURRENT/HEAD (make sure your src up to date with recent commit): http://staff.mybsd.org.my/skywizard/FreeBSD/sound/snd_HEAD_20050913_036softvol.diff For RELENG_5: http://staff.mybsd.org.my/skywizard/FreeBSD/sound/snd_RELENG_5_20050913_036softvol.diff Target audience: 1) AC97 CMI9738(?), CMI9739(?), CMI9761 (these codecs come without hardware/codec pcm volume controller although the register responded during probing). 2) usbaudio without pcm volume controller. 3) Anything. Tell me. Other than the above, this probably need special treatment. Note on giving feedback: Please include (before / after applying patch):- 1) dmesg | grep pcm 2) output of /usr/sbin/mixer 3) pciconf -lv (only those multimedia/audio part) -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4)