From owner-freebsd-questions@FreeBSD.ORG Wed Sep 14 20:46:58 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67FF9106564A for ; Wed, 14 Sep 2011 20:46:58 +0000 (UTC) (envelope-from web@umich.edu) Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by mx1.freebsd.org (Postfix) with ESMTP id 33CAB8FC0C for ; Wed, 14 Sep 2011 20:46:57 +0000 (UTC) Received: FROM itcom245.staff.itd.umich.edu (itcom245.staff.itd.umich.edu [141.213.135.249]) By hellskitchen.mr.itd.umich.edu ID 4E7112C0.AD337.743 ; Authuser web; 14 Sep 2011 16:46:56 EDT Date: Wed, 14 Sep 2011 16:46:56 -0400 From: William Bulley To: Jakub Lach Message-ID: <20110914204656.GD12098@itcom245.staff.itd.umich.edu> Mail-Followup-To: Jakub Lach , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: Thinkpad audio question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2011 20:46:58 -0000 According to Jakub Lach on Wed, 09/14/11 at 16:25: > > For maximum verbosity you > can also try setting in sysctl.conf > > hw.snd.verbose=3 I've had that setting for years, but it didn't help in this case, sigh... :-( > and > > $ cat /dev/sndstat then. Sure, that is what I always do to check which sound driver I have. > Not sure if you really need it though. True, it wasn't any help for this problem. > As for man page, that was my experience > as well, and I just shamelessly copied > device.hints some kind spirit provided, > so I'm not exactly pinout expert either :) Heh... :-) > On a lighter note, once correct pinout > will be set, you shouldn't have any > more problems with CX20561, it's > common and well supported chip. That is nice to know... Here is the deal: when I "% cat /dev/sndstat" it shows both pcm0 and psm1 as: HDA Conexant CX20561 (Hermosa) but not in the "verbose" output below from dmesg(8). Right now I have this (after some reformatting - no TABs either!): HDA Codec #0: Conexant CX20561 (Hermosa) HDA Codec #1: Conexant (Unknown) <<<<<===== not sure why this is Dumping AFG cad=0 nid=1 pins: nid 22 0x022140f0 as 15 seq 0 Headphones Jack jack 1 loc 2 color Green misc 0 Caps: OUT HP Sense: 0x 7fffffff nid 23 0x61a190f0 as 15 seq 0 Mic None jack 1 loc 33 color Pink misc 0 [DISABLED] Caps: IN VREF Sense: 0x 7fffffff nid 24 0x02a190f0 as 15 seq 0 Mic Jack jack 1 loc 2 color Pink misc 0 Caps: IN VREF Sense: 0x 7fffffff nid 25 0x40f000f0 as 15 seq 0 Other None jack 0 loc 0 color Unknown misc 0 [DISABLED] Caps: OUT Sense: 0x 7fffffff nid 26 0x901701f0 as 15 seq 0 Speaker Fixed jack 7 loc 16 color Unknown misc 1 Caps: OUT EAPD nid 27 0x40f001f0 as 15 seq 0 Other None jack 0 loc 0 color Unknown misc 1 [DISABLED] Caps: OUT EAPD nid 28 0x40f001f0 as 15 seq 0 Other None jack 0 loc 0 color Unknown misc 1 [DISABLED] Caps: OUT nid 29 0x90a601f0 as 15 seq 0 Mic Fixed jack 6 loc 16 color Unknown misc 1 Caps: IN After disregarding the DISABLED lines I have this: nid 22 0x022140f0 as 15 seq 0 Headphones Jack jack 1 loc 2 color Green misc 0 Caps: OUT HP Sense: 0x 7fffffff nid 24 0x02a190f0 as 15 seq 0 Mic Jack jack 1 loc 2 color Pink misc 0 Caps: IN VREF Sense: 0x 7fffffff nid 26 0x901701f0 as 15 seq 0 Speaker Fixed jack 7 loc 16 color Unknown misc 1 Caps: OUT EAPD nid 29 0x90a601f0 as 15 seq 0 Mic Fixed jack 6 loc 16 color Unknown misc 1 Caps: IN The snd_hda(4) man page does not discuss what "EAPD" is, nor what "VREF" is, nor what "HP" is. It also does not discuss "Caps:" but I can infer what "IN" and "OUT" are. :-) So, I have a speaker (big whoop) and two "jacks": one pink and one green (but I already knew that, too). I note that there is only one AS (15, or is that 14?) and only one "seq" (0) which doesn't mesh well with your earlier T400 suggestion: > hint.hdac.0.cad0.nid22.config="as=1 seq=15" > hint.hdac.0.cad0.nid24.config="as=3" > hint.hdac.0.cad0.nid26.config="as=1" > hint.hdac.0.cad0.nid29.config="as=2" For example, where did 'AS'es 1, 2, 3 come from? And where did "seq" 15 come from? :-( However, it is mighty curious that your four "nid"s match my four non-DISABLED "nid"s - hmmm... :-) Recognizing from your comments above that you may not be able to answer these rhetorical questions, but if I just try your suggestions "blind" what are the chances it will "just work" for me? I do hate just copying something without knowing what the heck it means -- just the pedantic engineer in me, I reckon... :-) The snd_hda(4) man page is not very helpful in explaining what your four hints would do for my T500 problem, but I guess it is worth a try. Regards, web... -- William Bulley Email: web@umich.edu 72 characters width template ----------------------------------------->|