From: Takashi Iwai Subject: Re: MCP7A HDMI passthrough audio Linux/ALSA Date: Wed, 01 Jul 2009 08:18:22 +0200 Message-ID: References: <4A4A01CF.9090203@emisfr.com> <4A4A0D45.7030501@emisfr.com> <4A4A7AB7.6050103@emisfr.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 736F5245BE for ; Wed, 1 Jul 2009 08:18:24 +0200 (CEST) In-Reply-To: <4A4A7AB7.6050103@emisfr.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Stephane BERTHELOT Cc: wni@nvidia.com, alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Tue, 30 Jun 2009 22:51:03 +0200, Stephane BERTHELOT wrote: > = > Takashi Iwai a =E9crit : > = > At Tue, 30 Jun 2009 15:04:05 +0200, > St=E9phane BERTHELOT wrote: > = > Hi Takashi, > = > Thanks for you answer. > I have the exact same problem and configuration than reported her= e = > https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3D4406 > apart : > - I'm using a ION platform (Acer Revo R3600 but still MCP7A : 0x1= 0de0007) > - I never get the Dolby Digital or DTS indicator illuminated on m= y Amp. > - My TV is a Sharp LC-52X20E > = > I thought this was a known problem and than someone at Nvidia cou= ld = > provide the missing HDA Verbs, if you prefer I can post to the = > alsa-devel mailing list to investigate further. > I can get a alsa-info output tonight, though it's very very simil= ar to = > the one in the bug report. (and Raymond was saying that we should= get = > "PCM AC3" on digital outputs) > = > Try ac3dec for a primary testing instead of mplayer. It's included in > alsa-tools. > = > % ac3dec -C -H foo.ac3 > = > Use the latest one so that it accespt -H option. > = > Takashi > = > Thank you Takashi for taking time to review my problem. I cc'ed alsa-devel > since I have more info now and maybe some other people have the same prob= lem > or already a workaround. > = > I'm attaching the output of alsa-info.sh with my mixer settings and after > having run ac3dec -H -C file.ac3 > = > It works with -R instead of -C but does not work with -C or with -P (cons= umer > or pro) > I also tried modifying settings using iecset (audio off / audio on and > consumer/pro) and no combination seems to work. > = > When I play stereo LPCM my TV set plays sound and so does my Amp in PCM m= ode. > When I try to play in AC3 mode (-C) my TV set says "incompatible format > received" and both the TV and Amp stay silent. Hm, so apparently your TV doesn't accept non-audio format? But TV accepted the ac3dec output with -R option, right? (Make sure this -- otherwise ac3dec might have decoded by itself.) Basically, -R means to send the encoded an AC3 stream (packed in the SPDIF format) without setting non-audio bit. Whether non-audio bit is 1 or 0 is the only difference between -C and -R. So, if -R really works but not -C, it means that the non-audio bit must be off no matter what you send. Weird. > I may try again on XP/Vista tomorrow to be really sure it works on them. > = > When changing play mode AES0 changes from 0x00 to 0x02 and AES1 to AES3 s= tay > the same (0x82,0x00,0x02 if I remember well) Note that the setup you made before ac3dec will be overridden anyway. And during ac3dec playback, the status bits are locked and can't be changed by others. Takashi