From owner-freebsd-stable@FreeBSD.ORG Thu Mar 17 16:14:34 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52260106566B for ; Thu, 17 Mar 2011 16:14:34 +0000 (UTC) (envelope-from korvus@comcast.net) Received: from qmta15.emeryville.ca.mail.comcast.net (qmta15.emeryville.ca.mail.comcast.net [76.96.27.228]) by mx1.freebsd.org (Postfix) with ESMTP id 3CFA58FC0A for ; Thu, 17 Mar 2011 16:14:34 +0000 (UTC) Received: from omta18.emeryville.ca.mail.comcast.net ([76.96.30.74]) by qmta15.emeryville.ca.mail.comcast.net with comcast id LG071g0081bwxycAFG1QQ1; Thu, 17 Mar 2011 16:01:24 +0000 Received: from [192.168.2.164] ([206.210.89.202]) by omta18.emeryville.ca.mail.comcast.net with comcast id LG0b1g0254Mx3R28eG0oDu; Thu, 17 Mar 2011 16:01:02 +0000 Message-ID: <4D823020.1020202@comcast.net> Date: Thu, 17 Mar 2011 12:00:32 -0400 From: Steve Polyack User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110316 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: gua.chunglim@gmail.com References: <20110317142559.GA1576@gmail.com> In-Reply-To: <20110317142559.GA1576@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable Subject: Re: FBSD 8.2R does not probe sound card X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2011 16:14:34 -0000 On 03/17/11 10:25, Gua Chung Lim wrote: > Hi all, > > I have been using FBSD since mid 2005 without any problems. > Recently, I installed 8.2R from DVD on my new machine. > (HP Pavilion p6276l Home PC) > FBSD 8.2R does not probe my sound card. > > # kldload snd_driver > ppc0: parallel port not found. > ppc0: parallel port not found. > ppc0: parallel port not found. > ppc0: parallel port not found. > hdac0: mem 0xfbdf8000-0xfbdfbfff irq 23 at device 5.0 on pci0 > hdac0: HDA Driver Revision: 20100226_0142 > hdac0: [ITHREAD] > hdac0: HDA Codec #0: Realtek ALC662 > hdac1: mem 0xfbeec000-0xfbeeffff irq 17 at device 0.1 on pci2 > hdac1: HDA Driver Revision: 20100226_0142 > hdac1: [ITHREAD] > hdac1: HDA Codec #0: ATI R6xx HDMI > pcm0: at cad 0 nid 1 on hdac0 > pcm1: at cad 0 nid 1 on hdac1 > ppc0: parallel port not found. > ppc0: parallel port not found. > > I check sound card properties with Win7 (on another partition/slice). > It says ``High Definition Audio Device'' and nothing else. > So I try again. > > # kldload snd_hda > hdac0: mem 0xfbdf8000-0xfbdfbfff irq 23 at device 5.0 on pci0 > hdac0: HDA Driver Revision: 20100226_0142 > hdac0: [ITHREAD] > hdac0: HDA Codec #0: Realtek ALC662 > hdac1: mem 0xfbeec000-0xfbeeffff irq 17 at device 0.1 on pci2 > hdac1: HDA Driver Revision: 20100226_0142 > hdac1: [ITHREAD] > hdac1: HDA Codec #0: ATI R6xx HDMI > pcm0: at cad 0 nid 1 on hdac0 > pcm1: at cad 0 nid 1 on hdac1 > > Both cases the speakers are still quiet. > Anyone who has a clue or experieces this problem, please point me out. It looks like your card is getting probed in both cases, unless you have an additional device that is not being listed. The pcm0 device above looks to be from onboard sound on your nvidia motherboard, while the pcm1 device is the HDMI audio output on your graphics card. My only suggestion here is to play with the sysctl hw.snd.default_unit: $ sysctl -d hw.snd.default_unit hw.snd.default_unit: default sound device It defaults to 0, try 1-5 and see if there is any improvement, as you have multiple sound output devices. What programs are you using to test the sound output?