From owner-freebsd-current@FreeBSD.ORG Wed Mar 23 07:10:47 2011 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 DE7A8106567A for ; Wed, 23 Mar 2011 07:10:46 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 69C0E8FC1E for ; Wed, 23 Mar 2011 07:10:46 +0000 (UTC) Received: by bwz12 with SMTP id 12so7470541bwz.13 for ; Wed, 23 Mar 2011 00:10:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=mhhTvjIc014cLbkRx9XrxvC3811vcZ2c3ijSXYbUzGc=; b=G6MmNDnxIJES67fhvqadpcHOVGvB0t2enUWumPHNDhfbfAD8a//rkHCaNTmEj0RSbt VwyWVE5mKvtTC+4lJzc8oeSqvs4jEAlLifjU6q4Bvd1JnNxbK7fchhIN2Adh6IbJxY2F VPbpkkI/n6Whsoz39062l2yWn83z0vWZ8a5w8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=n7fouWEIIDkk3eWR94iUES/we90XSZS4S1zEsgFSET2jUnb1T4NhSaiI0aCR/QcZ7l 4AxUUftFe/hYCkfL4xIoDu6MhftKSVdxAnWqtk57Qoc4674tUDiCYDH0gXMqrqihqQTJ jDm96yNHDO1BQiI1z8F3FoZMTbjjgMwyCttlk= Received: by 10.204.20.136 with SMTP id f8mr2893897bkb.174.1300864244623; Wed, 23 Mar 2011 00:10:44 -0700 (PDT) Received: from Melon.malikania.fr (wifi-osiris-sec-182-175.u-strasbg.fr [130.79.182.175]) by mx.google.com with ESMTPS id q18sm5678286bka.3.2011.03.23.00.10.42 (version=SSLv3 cipher=OTHER); Wed, 23 Mar 2011 00:10:43 -0700 (PDT) Message-ID: <4D899CA9.8060207@gmail.com> Date: Wed, 23 Mar 2011 08:09:29 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110306 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Fwd: snd_hda, codec attaching randomly? 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, 23 Mar 2011 07:10:47 -0000 Hello, I've setup a brand new computer from scratch, it has two HDMI output (via the on board and via the ati graphic card) with one codec for the main board. Usually I have these pcm : pcm0: at cad 0 nid 1 on hdac0 pcm1: at cad 0 nid 1 on hdac1 pcm2: at cad 0 nid 1 on hdac1 pcm3: at cad 0 nid 1 on hdac1 pcm4: at cad 3 nid 1 on hdac1 But sometime when I boot the pcm4 disappear, with a lot of : hdac1: hdac_widget_connection_parse: nid=2 WARNING: zero cnid entnum=4 j=0 index=0 entries=17 found=0 res=0x00000000 hdac1: hdac_widget_connection_parse: nid=2 WARNING: zero cnid entnum=4 j=1 index=0 entries=17 found=1 res=0x00000000 hdac1: hdac_widget_connection_parse: nid=2 WARNING: zero cnid entnum=4 j=2 index=0 entries=17 found=2 res=0x00000000 hdac1: hdac_widget_connection_parse: nid=2 WARNING: zero cnid entnum=4 j=3 index=0 entries=17 found=3 res=0x00000000 [.. snip ..] Here you can see the normal dmesg file : http://files.malikania.fr/normal.txt And here when the pcm disappear : http://files.malikania.fr/notnormal.txt A simple diff from the files show some weird things: diff -ub normal.txt notnormal.txt --- normal.txt 2011-03-10 08:06:14.000000000 +0100 +++ notnormal.txt 2011-03-10 08:06:18.000000000 +0100 @@ -116,24 +116,90 @@ hdac0: HDA Codec #0: ATI R6xx HDMI pcm0: at cad 0 nid 1 on hdac0 hdac1: HDA Codec #0: Realtek ALC888 -hdac1: HDA Codec #3: Intel G45 HDMI +hdac1: HDA Codec #3: Intel Q57 HDMI +hdac1: hdac_widget_connection_parse: nid=2 WARNING: zero cnid entnum=4 j=0 index=0 entries=17 found=0 res=0x00000000 +hdac1: hdac_widget_connection_parse: nid=2 WARNING: zero cnid entnum=4 j=1 index=0 entries=17 found=1 res=0x00000000 [... message repeated a lot of time ...] pcm1: at cad 0 nid 1 on hdac1 pcm2: at cad 0 nid 1 on hdac1 pcm3: at cad 0 nid 1 on hdac1 -pcm4: at cad 3 nid 1 on hdac1 Why does the HDMI codec is renamed to Q57? I didn't tweak snd_hda(4) much, I only added the following in my /boot/devices.hints to get a proper jack-sense on my front panel: hint.hdac.1.cad0.nid27.config="as=1 seq=15" Cheers, -- David Demelier