From owner-freebsd-stable@FreeBSD.ORG Sat Mar 19 17:46:55 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 3BBF6106564A for ; Sat, 19 Mar 2011 17:46:55 +0000 (UTC) (envelope-from fbsd@opal.com) Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) by mx1.freebsd.org (Postfix) with ESMTP id E3DEA8FC0A for ; Sat, 19 Mar 2011 17:46:54 +0000 (UTC) Received: from pool-141-154-217-103.bos.east.verizon.net ([141.154.217.103] helo=homobox.opal.com) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Q0zwZ-000PAF-5E; Sat, 19 Mar 2011 17:28:03 +0000 Received: from opal.com (localhost [IPv6:::1]) (authenticated bits=0) by homobox.opal.com (8.14.4/8.14.4) with ESMTP id p2JHRw8J085056 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 19 Mar 2011 13:27:59 -0400 (EDT) (envelope-from fbsd@opal.com) Received: from shibato.opal.com ([173.77.125.60] helo=shibato.opal.com) with IPv4:587 by opal.com; 19 Mar 2011 13:27:58 -0400 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 141.154.217.103 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18z3xYuV+rNlwWCh8aqM235 Date: Sat, 19 Mar 2011 13:27:50 -0400 From: "J.R. Oldroyd" To: Gua Chung Lim Message-ID: <20110319132750.7edc62b3@shibato.opal.com> In-Reply-To: <20110319144153.GA1370@gmail.com> References: <20110317142559.GA1576@gmail.com> <20110318193153.56dee965@shibato.opal.com> <20110319144153.GA1370@gmail.com> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/VtkrUc+/KFM7Kqqke8WuG_+"; protocol="application/pgp-signature" Cc: "Sergey V. Dyatko" , Jeremy, David Demelier , Steve Polyack , freebsd-stable , Chadwick 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: Sat, 19 Mar 2011 17:46:55 -0000 --Sig_/VtkrUc+/KFM7Kqqke8WuG_+ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, The info you attached below shows your problem. First, read the association list at the bottom. You have two associations, 0 for output and 1 for input. Look at the output association 0. It shows the output is mapped to nid 20 seq 0 and then nid 27 seq 15. The "seq" tells you what it will use. It will start at seq=3D0 then seq=3D1 then seq= =3D2 etc, but seq=3D15 is special which means to use that if there's something connected to the jack. So yours will use nid 20 normally or nid 27 if there's something connected to the jack. Now look at the nids in the main list, AFTER where it says "Patched". You see nid 20 is Line-out and nid 27 is Headphones. So, nid 27 is OK (you want it to use the headphones if they are connected to the jack), but nid 20 is not - nid 20 is your Line-out and you want to use Speakers. But all the Speaker nids are [DISABLED]. So you need to reprogram your HDAC. You have four speaker possibilities, nids 21, 22, 28 and 30. I can't tell which one is the one you want, so you'll need to try all four until you find it. Use config in your /boot/loader.conf.local like this: hint.hdac.0.cad0.nid21.config=3D"as=3D0 seq=3D0" hint.hdac.0.cad0.nid27.config=3D"as=3D0 seq=3D15" Reboot and see if that works. If not, replace the "21" with each of 22, 28 and 30 and try again. If you use verbose boot again, you will see the Patched nid list and you can verify that the speaker nid is not [DISABLED]. One thing puzzles me about your list. All your speakers have a location of "None". Normally, you'd expect one to have location of "Fixed" and that would be the built-in speaker. Since you can't tell here which is your built-in speaker, try all four and hope you find it. If none of the four work, you could try again explicitly setting the location: hint.hdac.0.cad0.nid21.config=3D"as=3D0 seq=3D0 device=3DSpeaker conn=3DFix= ed" to see if that helps. Note that if there is already configuration in either loader.conf.local or loader.conf for "hint.hdac" you should comment that out first. Also, be sure to run mixer each time to make sure that both the vol and the pcm are turned up when you test. Otherwise you won't hear anything. Your input side, association 1, is set to nid 24, 25 or 26 which are all Mic and Line-in, so probably OK. But if the mic doesn't work as expected, you can try changing these around, too. -jr On Sat, 19 Mar 2011 21:41:53 +0700, Gua Chung Lim = wrote: > > hdac0: Processing audio FG cad=3D0 nid=3D1... > hdac0: GPIO: 0x40000002 NumGPIO=3D2 NumGPO=3D0 NumGPI=3D0 GPIWake=3D0 GPI= Unsol=3D1 > hdac0: nid 20 0x01014010 as 1 seq 0 Line-out Jack jack 1 loc 1= color Green misc 0 > hdac0: nid 21 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1= color Black misc 1 > hdac0: nid 22 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1= color Black misc 1 > hdac0: nid 24 0x01a19830 as 3 seq 0 Mic Jack jack 1 loc 1= color Pink misc 8 > hdac0: nid 25 0x02a19831 as 3 seq 1 Mic Jack jack 1 loc 2= color Pink misc 8 > hdac0: nid 26 0x0181303f as 3 seq 15 Line-in Jack jack 1 loc 1= color Blue misc 0 > hdac0: nid 27 0x0221401f as 1 seq 15 Headphones Jack jack 1 loc 2= color Green misc 0 > hdac0: nid 28 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1= color Black misc 1 > hdac0: nid 29 0x4004c601 as 0 seq 1 Line-out None jack 4 loc 0= color Res.C misc 6 > hdac0: nid 30 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1= color Black misc 1 > hdac0: Patched pins configuration: > hdac0: nid 20 0x01014010 as 1 seq 0 Line-out Jack jack 1 loc 1= color Green misc 0 > hdac0: nid 21 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1= color Black misc 1 [DISABLED] > hdac0: nid 22 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1= color Black misc 1 [DISABLED] > hdac0: nid 24 0x01a19830 as 3 seq 0 Mic Jack jack 1 loc 1= color Pink misc 8 > hdac0: nid 25 0x02a19831 as 3 seq 1 Mic Jack jack 1 loc 2= color Pink misc 8 > hdac0: nid 26 0x0181303f as 3 seq 15 Line-in Jack jack 1 loc 1= color Blue misc 0 > hdac0: nid 27 0x0221401f as 1 seq 15 Headphones Jack jack 1 loc 2= color Green misc 0 > hdac0: nid 28 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1= color Black misc 1 [DISABLED] > hdac0: nid 29 0x4004c601 as 0 seq 1 Line-out None jack 4 loc 0= color Res.C misc 6 [DISABLED] > hdac0: nid 30 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1= color Black misc 1 [DISABLED] > hdac0: 2 associations found: > hdac0: Association 0 (1) out: > hdac0: Pin nid=3D20 seq=3D0 > hdac0: Pin nid=3D27 seq=3D15 > hdac0: Association 1 (3) in: > hdac0: Pin nid=3D24 seq=3D0 > hdac0: Pin nid=3D25 seq=3D1 > hdac0: Pin nid=3D26 seq=3D15 --Sig_/VtkrUc+/KFM7Kqqke8WuG_+ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAk2E55YACgkQls33urr0k4np1wCfc7ew1DI4Nn3/J0zUx6TKvu+D itoAn2g4JI5s8wYa76WVSfM1PHNJ5pig =1Q0H -----END PGP SIGNATURE----- --Sig_/VtkrUc+/KFM7Kqqke8WuG_+--