From owner-freebsd-stable@FreeBSD.ORG Mon Mar 21 05:35:06 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 4370F1065670 for ; Mon, 21 Mar 2011 05:35:06 +0000 (UTC) (envelope-from gua.chunglim@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5D5C28FC13 for ; Mon, 21 Mar 2011 05:35:05 +0000 (UTC) Received: by iwn33 with SMTP id 33so7173424iwn.13 for ; Sun, 20 Mar 2011 22:35:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-type :content-disposition:content-transfer-encoding:in-reply-to :user-agent:x-operating-system; bh=b9aAG+Oc5BrqFk9OjeKx0SOkoCqXDI/+pO88aDKtVCs=; b=ZYFLM+nBgfK3XlEY8AeUuujK2QuDWGYjOyeUdEgjOzhEG9Q3ZYqZSqz8vLRoiHF2+W NlpsP2PkPSoKB7wGNRJqYYrOsPIHI1iGXbt0gsyzeIlMWxDW5Uisp4t+wRLtt74L9zT0 TU+9RxZJAc1Mz2LUB7X0t11d0ec91MGiaxcrI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent:x-operating-system; b=CGdNMhspjczbOlxK04htqIw8g52X5dj+LA71RaGX/I2KVAPsAlJgdj54K3LS/yh2e/ yfvFuNfaUB5ru8DfiKt3w3GW06SyKs9iLtrgp4+cALZDDHcJTySsgFzy5elP3EkOPL58 N5zdO2qwdALoQCYuecGJbEvYwk2KD2xcVRGdM= Received: by 10.42.230.199 with SMTP id jn7mr820339icb.114.1300685704568; Sun, 20 Mar 2011 22:35:04 -0700 (PDT) Received: from gmail.com ([182.52.59.252]) by mx.google.com with ESMTPS id c1sm3475599ibe.66.2011.03.20.22.35.00 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 20 Mar 2011 22:35:02 -0700 (PDT) Date: Mon, 21 Mar 2011 12:34:36 +0700 From: Gua Chung Lim To: "J.R. Oldroyd" Message-ID: <20110321053436.GA1483@gmail.com> Mail-Followup-To: "J.R. Oldroyd" , freebsd-stable References: <20110317142559.GA1576@gmail.com> <20110318193153.56dee965@shibato.opal.com> <20110319144153.GA1370@gmail.com> <20110319132750.7edc62b3@shibato.opal.com> <20110320064842.GA1335@gmail.com> <20110320145751.193fb06e@shibato.opal.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20110320145751.193fb06e@shibato.opal.com> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD/8.2-RELEASE (i386) 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: Mon, 21 Mar 2011 05:35:06 -0000 Hi, Thank you very much for your kind response. > The reprogramming I gave you was for pcm0. Your pcm1 is showing > with the HDMI digital chip pins. >=20 > Make sure that your "cat /dev/sndstat" is showing pcm0 as "default". > (Use the sysctl hw.snd.default_unit to set it.) Previously my sysctl hw.snd.default_unit was 1. So its default was set to pcm1. Therefore I change it to 0. By the way my configuration files got changed from time to time for each suggestion I received. So I would summarize my current config as follows. guacl@bsdhost:~% tail -n 1 /etc/sysctl.conf hw.snd.default_unit=3D0 guacl@bsdhost:~% cat /boot/loader.conf atapicam_load=3D"YES" snd_hda_load=3D"YES" guacl@bsdhost:~% cat /boot/loader.conf.local hint.hdac.0.cad0.nid30.config=3D"as=3D1 seq=3D0 device=3DSpeaker conn=3DFix= ed" hint.hdac.0.cad0.nid27.config=3D"as=3D1 seq=3D15" (I have tried nid21, 22, 28 and 30.) =46rom my current configurations, my speakers are still quiet. mixer(8) does not even show "speaker" or "volume" guacl@bsdhost:~% mixer Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer rec is currently set to 75:75 Mixer monitor is currently set to 75:75 Recording source: mic Anythings divert from your suggestion, please tell me. > Also, I am guessing from your verbose info that pcm0 also shows > "Analog" and "play" too? You need these for the speaker output. > If you, in fact, have pcm0, pcm1 on Analog and then a pcm2 on HDMI, > we will need to try other settings. Or if pcm0 does not show "play" > by it. Perhaps send me the /dev/sndstat info if it is not > pcm0: Analog...play and pcm1: HDMI. guacl@bsdhost:~% cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) Installed devices: pcm0: (rec) default pcm1: (play) No, pcm0 shows "Analog" but pcm1 shows "play". > You might also want to try explicitly adding statements to program > your input device. I notice that in your verbose info, your output > devices are listed on the input association. Try this: >=20 > hint.hdac.0.cad0.nidXX.config=3D"as=3D1 seq=3D0" > hint.hdac.0.cad0.nid27.config=3D"as=3D1 seq=3D15" > hint.hdac.0.cad0.nid24.config=3D"as=3D3 seq=3D0" > hint.hdac.0.cad0.nid25.config=3D"as=3D3 seq=3D1" > hint.hdac.0.cad0.nid26.config=3D"as=3D3 seq=3D15" Shall I fix pcm first, then try this later? I think that I tried reboot 30 times for the last couple days. :-( Thank you very much. --=20 Gua Chung Lim =20 Please help donate to Japan. -- for earthquake, tsunami and nuclear radiation reliefs (2011)