From owner-freebsd-multimedia@FreeBSD.ORG Fri Sep 29 19:51:35 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 0CB4616A415 for ; Fri, 29 Sep 2006 19:51:35 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C84943D4C; Fri, 29 Sep 2006 19:51:34 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from misaki (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with SMTP id k8TJpV90023639; Fri, 29 Sep 2006 19:51:32 GMT (envelope-from ariff@FreeBSD.org) Date: Sat, 30 Sep 2006 03:49:53 +0800 From: Ariff Abdullah To: Wesley Morgan Message-Id: <20060930034953.05682f50.ariff@FreeBSD.org> In-Reply-To: <20060929135351.T90463@volatile.chemikals.org> References: <20060929044401.5c52bef3.ariff@FreeBSD.org> <20060929153713.GA86697@svzserv.kemerovo.su> <20060929234754.1023b4c1.ariff@FreeBSD.org> <20060929172908.GB86697@svzserv.kemerovo.su> <20060930014646.36d8fc66.ariff@FreeBSD.org> <20060929135351.T90463@volatile.chemikals.org> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Sat__30_Sep_2006_03_49_53_+0800_s2yMXPVEOz_UNOKP" Cc: freebsd-multimedia@FreeBSD.org Subject: Re: HEADS UP: Last call for snd_hda(4) testers - High Definition Audio driver 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, 29 Sep 2006 19:51:35 -0000 --Signature=_Sat__30_Sep_2006_03_49_53_+0800_s2yMXPVEOz_UNOKP Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, 29 Sep 2006 14:09:57 -0400 (EDT) Wesley Morgan wrote: > I have a STAC9220 codec and I noticed that during boot it calls for > soft pcm volume. Does this only apply to the pcm knob? I know for a > fact there is an outamp on nid 11 that controls the master volume. > I can't tell what nids are assigned to which volume controls from > the dmesg. Both pcm and master volume "work", but not as I would > expect. Going from 100 to 50 is definitely not half volume on > either control. I can't remember if the HDA spec sets the gain by > dB or not, which might make the response logarithmic, but when I > was toying with the other driver it seemed to give more natural > results. >=20 This is a bit unfortunate, since the driver tend to handle all kind of hardwares and codecs generously without specific bias on certain vendors. The good part about it is that it has "special" guarantee that at least will ensure that all playback path are laid out properly. Things like this (especially the parser) can be refactored and improved in near future. How about this one: replace your sys/dev/sound/pci/hda/hdac.c and sys/dev/sound/pci/hda/hdac_private.h with: http://people.freebsd.org/~ariff/test/hdac_stac9220_wesley.c (hdac.c) http://people.freebsd.org/~ariff/test/hdac_private.h -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot ***** users :P ........ --Signature=_Sat__30_Sep_2006_03_49_53_+0800_s2yMXPVEOz_UNOKP Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFHXjllr+deMUwTNoRApqAAJ9lcM/PYZAWNofeLG3X1KBH50SvxQCeL65M 9/0wjqCeqpBSAsu+gTFleQE= =1rs5 -----END PGP SIGNATURE----- --Signature=_Sat__30_Sep_2006_03_49_53_+0800_s2yMXPVEOz_UNOKP--