From owner-freebsd-current@FreeBSD.ORG Wed Sep 17 11:38:08 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DE49106564A; Wed, 17 Sep 2008 11:38:08 +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 A96B68FC20; Wed, 17 Sep 2008 11:38:07 +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 221088840; Wed, 17 Sep 2008 14:38:06 +0300 Message-ID: <48D0EC1D.9040901@FreeBSD.org> Date: Wed, 17 Sep 2008 14:38:05 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.14 (X11/20080612) MIME-Version: 1.0 To: Alex Keda References: <48CBF399.9080801@FreeBSD.org> <48D0CB33.9060303@lissyara.su> <48D0D037.4000005@FreeBSD.org> <48D0DDF3.7050207@lissyara.su> In-Reply-To: <48D0DDF3.7050207@lissyara.su> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@FreeBSD.org, freebsd-current@freebsd.org Subject: Re: New snd_hda driver came in. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2008 11:38:08 -0000 Alex Keda wrote: >>> after today update source, not work internal speaker... >>> phones - works... >>> lissyara$ dmesg | grep hda >>> hdac0: mem >>> 0xd8900000-0xd8903fff irq 16 at device 20.2 on pci0 >>> hdac0: >>> hdac0: [ITHREAD] >>> hdac0: >>> pcm0: on hdac0 >>> lissyara$ uname -a >>> FreeBSD lissyara.moskb.local 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed Sep >>> 17 10:41:27 MSD 2008 >>> lissyara@lissyara.moskb.local:/tmp/obj/usr/src/sys/GENERIC amd64 >>> lissyara$ >>> before update work and phones and speaker (but, when plug phones speaker >>> not dead =() >>> how say driver use internal speaker? >> >> Send me please verbose boot messages from your system. Also try to >> plug/unplug headphones with verbose messages enabled looking for any >> kernel log activity and send that logs to me. >> > see attached file As I can see, your BIOS configures codec in very unusual way. It defines 2 playback associations (logical devices): one for line-out jack and headphones jack and another for speaker. As soon as your ALC262 codec allows playback to speaker only from first DAC and it was already used by the first association, driver was unable to route any signal to speaker reporting: hdac0: Association 1 (2) trace failed You can specify hint.hdac.0.cad3.nid22.config="as=1" hint.hdac.0.cad3.nid27.config="as=2" in your loader.conf to reconfigure codec in a more usual way to make speaker and headphones jack a first association and line-out - second. That combination should work fine I think. If it will - tell me your system model to add permanent quirk to the driver. > and > > plug phones: > hdac0: Unsol Tag: 0x00000000 > hdac0: Pin sense: nid=21 res=0x80000000 > > unplug phones: > hdac0: Unsol Tag: 0x00000000 > hdac0: Pin sense: nid=21 res=0x00000000 This means that jack detection works. -- Alexander Motin