From owner-freebsd-multimedia@FreeBSD.ORG Fri Apr 1 17:21:53 2011 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 625341065670 for ; Fri, 1 Apr 2011 17:21:53 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id E74078FC0C for ; Fri, 1 Apr 2011 17:21:52 +0000 (UTC) Received: by wwc33 with SMTP id 33so4194986wwc.31 for ; Fri, 01 Apr 2011 10:21:51 -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:references:in-reply-to:content-type :content-transfer-encoding; bh=kjK36aY3hJLbBKfz5rmTJ51dEY7YsJsY+ODSwlOPMMM=; b=SBknJ6GBUGBAuJt/I5/ysjoVaBoa1G6dIOLVKw9gmk4UPlFH5ulEFDKNeznYijfd/B g4UWxAP2adgpEKNgwyS46z8B1rm5EoiB45JAxOGeq7rrfASqkRqHdl8qiU5oktqEERRd 6mPStMJm8Icci13d1iHA5oi+1DLFIJJh+q3fc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=FMQPCqB+W/z9ruVRgTMGzj/zkFMxOc4ub1xZTiFVRo8bNiJ/nGAPs9Xq9g/jtJLDbD 8TQayM+ClPIG+FZbmSEbH2LJhqm2YMo75RqNc7c6giqC/yq1X4rxdiNIMyjx3VI2ppV2 ojUqKYTKZRa2ctdZcqCMPOZfdBz3m0jdIFv8g= Received: by 10.227.139.164 with SMTP id e36mr4309864wbu.94.1301678511674; Fri, 01 Apr 2011 10:21:51 -0700 (PDT) Received: from Melon.malikania.fr (65.21.102-84.rev.gaoland.net [84.102.21.65]) by mx.google.com with ESMTPS id y29sm1394567wbd.4.2011.04.01.10.21.48 (version=SSLv3 cipher=OTHER); Fri, 01 Apr 2011 10:21:49 -0700 (PDT) Message-ID: <4D9609A6.9060103@gmail.com> Date: Fri, 01 Apr 2011 19:21:42 +0200 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-multimedia@freebsd.org References: <4D787AEC.3050407@gmail.com> <4D7BBFD3.3060800@gmail.com> In-Reply-To: <4D7BBFD3.3060800@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: snd_hda, codec attaching randomly? 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: Fri, 01 Apr 2011 17:21:53 -0000 On 12/03/2011 19:47, David Demelier wrote: > On 10/03/2011 08:17, David Demelier wrote: >> 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, >> > > Oh I noticed something weird too: > > SMP: AP CPU #1 Launched! > -SMP: AP CPU #3 Launched! > SMP: AP CPU #2 Launched! > +SMP: AP CPU #3 Launched! > > It seems the order of CPU change? I know that the Intel GMA HD graphics > needs a Intel CPU compatible to get this video chipset working. > > So maybe the audio codec is attaching to the wrong core? I have no > really idea, it appears really randomly nothing can change the behavior > > Cheers, > The update of the bios seems to solve the problem (not appears for 10 times) Users of Intel DH55HC are encouraged to upgrade the bios following this link : http://downloadcenter.intel.com/Detail_Desc.aspx?lang=eng&changeLang=true&DwnldId=19947 No need to install windows, put the .BIO file on a usb key and press F7 when booting. Hope it will helps someone. Cheers, -- David Demelier