From owner-freebsd-multimedia@FreeBSD.ORG Thu Dec 13 14:04:04 2007 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from miki (localhost [IPv6:::1]) by hub.freebsd.org (Postfix) with SMTP id D578516A417; Thu, 13 Dec 2007 14:04:03 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Date: Thu, 13 Dec 2007 22:03:50 +0800 From: Ariff Abdullah To: "Carlos A. M. dos Santos" Message-Id: <20071213220350.33937f7b.ariff@FreeBSD.org> In-Reply-To: References: 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=_Thu__13_Dec_2007_22_03_50_+0800_+waK4QmlN6+DNH_1" Cc: freebsd-multimedia@FreeBSD.org Subject: Re: snd_hda on HP DC7700 SFF 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: Thu, 13 Dec 2007 14:04:05 -0000 --Signature=_Thu__13_Dec_2007_22_03_50_+0800_+waK4QmlN6+DNH_1 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 13 Dec 2007 10:03:19 -0200 "Carlos A. M. dos Santos" wrote: > Hi, >=20 > I have a HP Compaq dc7700 Small Form Factor PC, as described here: >=20 > http://h10010.www1.hp.com/wwpc/us/en/sm/WF05a/12454-12454-64287-321860-33= 28898-3232029.html?jumpid=3Doc_R1002_USENC-001_HP%20Compaq%20dc7700%20Small= %20Form%20Factor%20PC&lang=3Den&cc=3Dus >=20 > (sorry for the lengthy URL) >=20 > The subvendor ID of this machine is 0x2801, not 0x2802 as expected > by the code in hdac.c. Also, sound usually is sento to the internal > speaker, as long as the phone and line outputs. I was able to make > it work better using the attached patch. I can see that with this patch, you can control headphone volume through "phout", am I correct (or, is that what you call better) ? > Perhaps there is a more elegant way to do this, so I'd like do hear > some opinions before submitting a PR. No, please, no more PR :) If things can be solved here, no need for PR. > I can run other tests on my machine, if necessary. > If it is good enough for you, I guess it must be enough for others (with simmilar hardware) as well. Thanks for the patch :) -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot ***** users :P ........ --Signature=_Thu__13_Dec_2007_22_03_50_+0800_+waK4QmlN6+DNH_1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHYTvGlr+deMUwTNoRAvZhAJ91LNMu8olCsYsmwftYmVTwiwH2MgCeMBR4 S6/ULlMwrK8W4cWchptspxA= =Es9h -----END PGP SIGNATURE----- --Signature=_Thu__13_Dec_2007_22_03_50_+0800_+waK4QmlN6+DNH_1--