From owner-freebsd-multimedia@FreeBSD.ORG Mon Nov 23 21:50:36 2009 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD6FA1065696; Mon, 23 Nov 2009 21:50:36 +0000 (UTC) (envelope-from jgreco@aurora.sol.net) Received: from mail2.sol.net (mail2.sol.net [206.55.64.73]) by mx1.freebsd.org (Postfix) with ESMTP id 77D868FC0A; Mon, 23 Nov 2009 21:50:36 +0000 (UTC) Received: from aurora.sol.net (aurora.sol.net [206.55.65.130]) by mail2.sol.net (8.14.1/8.14.1/SNNS-1.04) with ESMTP id nANLoY1h044405; Mon, 23 Nov 2009 15:50:34 -0600 (CST) Received: (from jgreco@localhost) by aurora.sol.net (8.12.8p1/8.12.9/Submit) id nANLoYeO059257; Mon, 23 Nov 2009 15:50:34 -0600 (CST) From: Joe Greco Message-Id: <200911232150.nANLoYeO059257@aurora.sol.net> To: mav@FreeBSD.org (Alexander Motin) Date: Mon, 23 Nov 2009 15:50:34 -0600 (CST) In-Reply-To: <4B0AC03B.50602@FreeBSD.org> from "Alexander Motin" at Nov 23, 2009 07:02:51 PM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@FreeBSD.org Subject: Re: Pointers to debug lack-of-audio 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, 23 Nov 2009 21:50:36 -0000 > > Okay, so ... I'm trying, then, to get rid of what's currently listed as > > "Association 1 (2)"? That's simply "Pin nid=17 seq=0" which maps to > > "nid 17 0x9707e120 as 2 seq 0 Line-out Fixed jack 7 loc 23 color > > White misc 1" > > > > So would this be > > > > hint.hdac.0.cad0.nid17.config="as=1 seq=1 device=Line-out" > > > > ? I'm kind of guessing here. This gets me another nonfunctional config, > > > > hdac0: [MPSAFE] > > hdac0: [ITHREAD] > > hdac0: Probing codec #0... > > hdac0: HDA Codec #0: Realtek ALC260 > > hdac0: HDA Codec ID: 0x10ec0260 > > hdac0: Vendor: 0x10ec > > hdac0: Device: 0x0260 > > hdac0: Revision: 0x04 > > hdac0: Stepping: 0x00 > > hdac0: PCI Subvendor: 0x3011103c > > hdac0: Found audio FG nid=1 startnode=2 endnode=28 total=26 > > hdac0: > > hdac0: Processing audio FG cad=0 nid=1... > > hdac0: GPIO: 0x40000004 NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1 > > hdac0: nid 15 0x9993e133 as 3 seq 3 AUX Fixed jack 3 loc 25 color White misc 1 > > hdac0: nid 16 0x0221101f as 1 seq 15 Headphones Jack jack 1 loc 2 color Black misc 0 > > hdac0: nid 17 0x9707e120 as 2 seq 0 Line-out Fixed jack 7 loc 23 color White misc 1 > > hdac0: Patching pin config nid=17 0x9707e120 -> 0x9707e111 > > hdac0: nid 18 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 > > hdac0: nid 19 0x02a11930 as 3 seq 0 Mic Jack jack 1 loc 2 color Black misc 9 > > hdac0: nid 20 0x01813c31 as 3 seq 1 Line-in Jack jack 1 loc 1 color Blue misc 12 > > hdac0: nid 21 0x01014c10 as 1 seq 0 Line-out Jack jack 1 loc 1 color Green misc 12 > > hdac0: nid 22 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 > > hdac0: Patching widget caps nid=23 0x00400000 -> 0x00700000 > > hdac0: nid 24 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 > > hdac0: nid 25 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 > > hdac0: Patched pins configuration: > > hdac0: nid 15 0x9993e133 as 3 seq 3 AUX Fixed jack 3 loc 25 color White misc 1 > > hdac0: nid 16 0x0221101f as 1 seq 15 Headphones Jack jack 1 loc 2 color Black misc 0 > > hdac0: nid 17 0x9707e111 as 1 seq 1 Line-out Fixed jack 7 loc 23 color White misc 1 > > hdac0: nid 18 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED] > > hdac0: nid 19 0x02a11930 as 3 seq 0 Mic Jack jack 1 loc 2 color Black misc 9 > > hdac0: nid 20 0x01813c31 as 3 seq 1 Line-in Jack jack 1 loc 1 color Blue misc 12 > > hdac0: nid 21 0x01014c10 as 1 seq 0 Line-out Jack jack 1 loc 1 color Green misc 12 > > hdac0: nid 22 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED] > > hdac0: nid 24 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED] > > hdac0: nid 25 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=21 seq=0 > > hdac0: Pin nid=17 seq=1 > > hdac0: Pin nid=16 seq=15 > > hdac0: Association 1 (3) in: > > hdac0: Pin nid=19 seq=0 > > hdac0: Pin nid=20 seq=1 > > hdac0: Pin nid=15 seq=3 > > hdac0: Tracing association 0 (1) > > hdac0: Pin 21 traced to DAC 2 > > hdac0: Unable to trace pin 17 seq 1 with min nid 0 > > hdac0: Unable to trace pin 21 seq 0 with min nid 3 > > hdac0: Pin 21 traced to DAC 2 with fake redirection > > hdac0: Unable to trace pin 17 seq 1 with min nid 0 > > hdac0: Unable to trace pin 21 seq 0 with min nid 3 > > hdac0: Association 0 (1) trace failed > > hdac0: Tracing association 1 (3) > > hdac0: Pin 19 traced to ADC 4 > > hdac0: Pin 20 traced to ADC 4 > > hdac0: Pin 15 traced to ADC 4 > > hdac0: Association 1 (3) trace succeeded > > hdac0: Tracing input monitor > > hdac0: Tracing beeper > > hdac0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref > > > > But that's also getting "Unable to trace" messages. > > That what you have configured still require two DACs. Only one seq=15 > can share DAC with others. You'll have to disable one of them. I don't see two seq=15... am I misreading this? And it isn't clear to me what it is that requires two DACs. There's only one outbound association, with all the enabled outputs thrown into it. Is that supposed to work? I do not paricularly care about headphone jack functionality (nice to have but definitely optional)... > How much > connectors do you have on case? May be some of configured nids is fake? Possible, I suppose. There's a blue and green line in/out on the rear. There's a headphone and mic on the front. Those are all represented as nid 16, 19, 20, 21. There's what appears to be a CD input on the system board, I've been assuming that to be nid 15 / AUX. You suggest nid 17 was the speaker. That appears to account for all non-disabled nid's. > Looking on codec datasheet, nid 17 is mono out, so it is a good > candidate to be used for speaker. > > > Am I supposed to > > be trying to figure this out before trying to play with gpio signals? > > Better solve all possible problems before, as there is quite large > number of combinations. :-) So I think I'm a little lost on what is requiring two DAC's. I thought by throwing everything in association 0, that'd put the same outputs on everything. Am I better off disabling everything and then just walking through one nid at a time trying to establish what's what? I can do that without toooo much pain. Thanks for any further insight. ... JG -- Joe Greco - sol.net Network Services - Milwaukee, WI - http://www.sol.net "We call it the 'one bite at the apple' rule. Give me one chance [and] then I won't contact you again." - Direct Marketing Ass'n position on e-mail spam(CNN) With 24 million small businesses in the US alone, that's way too many apples.