From owner-freebsd-multimedia@FreeBSD.ORG Tue Aug 26 14:49:19 2008 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 CBB01106566B for ; Tue, 26 Aug 2008 14:49:19 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 5DDDB8FC1A for ; Tue, 26 Aug 2008 14:49:19 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from orphanage.alkar.net (account mav@alkar.net [212.86.226.11] verified) by cmail.optima.ua (CommuniGate Pro SMTP 5.1.14) with ESMTPA id 208775177; Tue, 26 Aug 2008 17:49:18 +0300 Message-ID: <48B417ED.50908@FreeBSD.org> Date: Tue, 26 Aug 2008 17:49:17 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.14 (X11/20080612) MIME-Version: 1.0 To: =?KOI8-R?Q?Raoul=5FM=E9g=E9las?= References: <20080826133434.060D63EA0E5@smtp4-g19.free.fr> In-Reply-To: <20080826133434.060D63EA0E5@smtp4-g19.free.fr> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Cc: freebsd-multimedia@freebsd.org Subject: Re: Hda patch from this day 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: Tue, 26 Aug 2008 14:49:19 -0000 Raoul_Mégélas wrote: > with your 20080825 patch: > cat /dev/sndstat: > FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) > Installed devices: > pcm0: at hdac0 cad 0 > kld snd_hda [20080825_0100] [GIANT] (0p:0v/1r:1v channels default) It said that you have only record channel, but not playback. Reason of this could be descried with: 1. 2 associations found in default codec configuration made by BIOS: > Aug 26 14:47:59 port kernel: hdac0: 2 associations found > Aug 26 14:47:59 port kernel: hdac0: Association 0 (1) out: > Aug 26 14:47:59 port kernel: hdac0: Pin nid=15 seq=1 > Aug 26 14:47:59 port kernel: hdac0: Pin nid=16 seq=2 > Aug 26 14:47:59 port kernel: hdac0: Association 1 (2) in: > Aug 26 14:47:59 port kernel: hdac0: Pin nid=18 seq=1 Association 0 is playback in this case, 1 - record. Association 0 has two pins, but none of them has ID 15 and type headphones. So there is no headphones redirection requested and driver will try to configure those 2 pins as quadraphonic setup. 2. Your codec has only one DAC, so it is unable to play two independent stereo streams. 3. Driver unable to setup quadro output with only one DAC present, so whole association was disabled: > Aug 26 14:47:59 port kernel: hdac0: Association 0 (1) trace failed This situation may be fixed with setting such device hint to override default codec configuration made by BIOS to reconfigure Line-out as Headphones with redirection: hint.hdac.0.cad0.nid16.config="seq=15 device=Headphones" Also your BIOS tells that there is no jack detection support on Line-out/Headphones connector. You cat test this using pin dump and if it really works you can override it by setting: hint.hdac.0.cad0.nid16.config="seq=15 device=Headphones misc=0" If you don't need external out or headphones you can disable them by setting one of: hint.hdac.0.cad0.nid15.config="as=0" hint.hdac.0.cad0.nid16.config="as=0" > sysctl -a|grep hdac: > dev.hdac.0.%desc: Intel 82801F High Definition Audio Controller > dev.hdac.0.%driver: hdac > dev.hdac.0.%location: slot=27 function=0 handle=\_SB_.PCI0.AZAL > dev.hdac.0.%pnpinfo: vendor=0x8086 device=0x2668 subvendor=0x104d > subdevice=0x81cc class=0x040300 > dev.hdac.0.%parent: pci0 > dev.hdac.0.polling: 0 > dev.hdac.0.polling_interval: 250 > dev.hdac.0.pindump: 0 > > sysctl dev.hdac.0.pindump=1 > dev.hdac.0.pindump: 0 -> 0 > > impossible to put it to 1! no dump. It is correct. Look into you messages log or system console, dump should be there. PS: Tell me please if that helped. And if so tell me your notebook model to make quirk for it in driver. -- Alexander Motin