From owner-freebsd-multimedia@FreeBSD.ORG Mon Dec 18 19:46:23 2006 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EF4BA16A417 for ; Mon, 18 Dec 2006 19:46:22 +0000 (UTC) (envelope-from tamaru@myn.rcast.u-tokyo.ac.jp) Received: from mail4.ecc.u-tokyo.ac.jp (mail4.ecc.u-tokyo.ac.jp [133.11.205.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEDA743CA3 for ; Mon, 18 Dec 2006 19:46:20 +0000 (GMT) (envelope-from tamaru@myn.rcast.u-tokyo.ac.jp) Received: from mail1.ecc.u-tokyo.ac.jp (mail1.ecc.u-tokyo.ac.jp [133.11.50.203]) by mail4.ecc.u-tokyo.ac.jp (Postfix) with ESMTP id 0102F5B0B89 for ; Tue, 19 Dec 2006 04:28:09 +0900 (JST) Received: from spam002.ecc.u-tokyo.ac.jp (spam002.ecc.u-tokyo.ac.jp [133.11.50.195]) by mail1.ecc.u-tokyo.ac.jp (Postfix) with ESMTP id 7956410070 for ; Tue, 19 Dec 2006 04:24:33 +0900 (JST) Received: from md002.ecc.u-tokyo.ac.jp (192.168.160.22 [192.168.160.22]) by spam002.ecc.u-tokyo.ac.jp (SpamBlock.pst 3.4.94) with ESMTP id for ; Tue, 19 Dec 2006 04:24:32 +0900 Received: from amulet.amuletic.net (v055252.ppp.asahi-net.or.jp [124.155.55.252]) by md002.ecc.u-tokyo.ac.jp (MOS 3.4.5-GR) with ESMTP id BOQ81449 (AUTH via LOGINBEFORESMTP); Tue, 19 Dec 2006 04:24:31 +0900 (JST) Date: Tue, 19 Dec 2006 04:24:34 +0900 Message-ID: From: Hiroharu Tamaru To: "Andrew Pantyukhin" In-Reply-To: References: <20061207010750.4f73bc15.ariff@FreeBSD.org> <20061212010805.3b1b3dff.ariff@FreeBSD.org> <20061212033104.051a7d0f.ariff@FreeBSD.org> User-Agent: User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-IP: 192.168.160.22 X-FROM-DOMAIN: myn.rcast.u-tokyo.ac.jp X-FROM-EMAIL: tamaru@myn.rcast.u-tokyo.ac.jp Cc: multimedia@freebsd.org, Ariff Abdullah Subject: Re: snd_hda: loud distorted sound with NVidia MCP51 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, 18 Dec 2006 19:46:23 -0000 At Mon, 18 Dec 2006 21:50:00 +0300, Andrew Pantyukhin wrote: > > On 12/11/06, Ariff Abdullah wrote: > > Committed. You can grab the latest binary modules or > > patch from the usual place. > > Hi! Thanks for all the effort. It seems I have the > very same problem with ATI SB460 built-in audio > (recognized as SB450). > > dmesg: http://people.freebsd.org/~sat/abc/hda1.dmesg > (skip the non-verbose beginning) > > What can I try? Reading _very_ briefly through your dmesg, I think the only essential difference from mine is: pcm0: PCI Subvendor: 0x10b81734 which, I have pcm0: PCI Subvendor: 0x81cb1043 Ariff's diff that made mine work was: --- hdac.c Tue Dec 12 14:26:13 2006 +++ hdac_asus_alc861.c Tue Dec 12 02:00:54 2006 @@ -3527,6 +3527,15 @@ w->enable = 0; } break; + case HDA_CODEC_ALC861: + if (subvendor == 0x81cb1043) { + struct hdac_audio_ctl *ctl; + + ctl = hdac_audio_ctl_amp_get(devinfo, 28, 1, 1); + if (ctl != NULL) + ctl->muted = HDA_AMP_MUTE_ALL; + } + break; case HDA_CODEC_ALC880: for (i = devinfo->startnode; i < devinfo->endnode; i++) { w = hdac_widget_get(devinfo, i); This is already commited. So look for this line if (subvendor == 0x81cb1043) { and replace it with if (subvendor == 0x81cb1043 || subvendor == 0x10b81734) { and have a try. # I haven't tried compiling from the sources myself though; Ariff was # so quick to provide me the binaries... ;-) If it doesn't help, well, we should read your dmesg more carefully. Hopefully, my long message the other day will help you go through the dmesgs yourself as well. -- Hiroharu