From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anssi Hannula Subject: Re: [PATCH v3 0/5] ALSA: hda - hdmi: ATI/AMD multi-channel and HBR support Date: Thu, 14 Nov 2013 02:04:10 +0200 Message-ID: <5284137A.8070200@iki.fi> References: <1382638238-25055-1-git-send-email-anssi.hannula@iki.fi> <5269665E.9050102@iki.fi> <1383887323.6455.37.camel@Wailaba2> <527CBC7F.4000805@iki.fi> <1383934622.22680.2.camel@Wailaba2> <1383946119.1089.4.camel@Wailaba2> <527D5FB4.6090603@iki.fi> <1384062124.29274.8.camel@Wailaba2> <527F2126.50006@iki.fi> <1384238111.21913.12.camel@Wailaba2> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from sinikuusama.dnainternet.net (sinikuusama.dnainternet.net [83.102.40.134]) by alsa0.perex.cz (Postfix) with ESMTP id 399EB26167D for ; Thu, 14 Nov 2013 01:04:21 +0100 (CET) In-Reply-To: <1384238111.21913.12.camel@Wailaba2> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Olivier Langlois Cc: Takashi Iwai , alsa-devel@alsa-project.org, =?ISO-8859-1?Q?Peter_Fr=FChberger?= List-Id: alsa-devel@alsa-project.org 12.11.2013 08:35, Olivier Langlois kirjoitti: > Anssi, > > With your speaker-test patch (v1), I have been able to make sure that I > could use the 8 channels with my AMD card. > > for the ramp up/down testing. I have the same result than with v2 of > your patch. > > eld#0.0 file content is identical as well. > > DTS-HD and Dolby True-HD are sent correctly and recognized by the > receiver by using the files from: > > http://phoronix.com/forums/showthread.php?27348-TrueHD-DTS-HD-E-AC3-Over-HDMI-On-Linux > > with the command:s > > aplay -Dhdmi:CARD=HDMI,DEV=0,AES0=6 -c8 -r192000 -f s16_le thd.spdif > aplay -Dhdmi:CARD=HDMI,DEV=0,AES0=6 -c8 -r192000 -f s16_le dts.spdif OK, good. Thanks a lot for testing :) > > >>>> >>>> >>> Sure, here is the output: >>> >>> [ 78.384821] ALSA sound/pci/hda/patch_hdmi.c:1167 HDMI hot plug event: >>> Codec=0 Pin=3 Device=0 Inactive=0 Presence_Detect=0 ELD_Valid=1 >>> [ 78.384834] ALSA sound/pci/hda/patch_hdmi.c:1512 HDMI status: Codec=0 >>> Pin=3 Presence_Detect=1 ELD_Valid=1 >>> [ 128.437676] ALSA sound/pci/hda/patch_hdmi.c:678 HDMI: select CA 0x13 >>> for 8-channel allocation: FL/FR LFE FC RL/RR RLC/RRC >>> [ 128.437797] CA XX 19 => 8 >>> [ 128.437799] XX hdmi_map 00 >>> [ 128.437801] XX hdmi_map 11 >>> [ 128.437802] XX hdmi_map 26 >>> [ 128.437804] XX hdmi_map 37 >>> [ 128.437806] XX hdmi_map 43 >>> [ 128.437807] XX hdmi_map 52 >>> [ 128.437809] XX hdmi_map 64 >>> [ 128.437810] XX hdmi_map 75 >>> [ 128.437957] ALSA sound/pci/hda/patch_hdmi.c:3108 >>> atihdmi_pin_hbr_setup: NID=0x3, hbr-ctl=0x1 >>> >>> This is looking good. Maybe this is coming from how the channel mapping >>> is communicated to speaker-test through ALSA API but I don't know much >>> about that. >>> >>> I'll try to understand as well on my side what is going on. >> >> Hmm seems I can reproduce this issue just fine on my side now on >> non-AMD, so I'm going to look into this myself as well. Looks a bit like >> a speaker-test bug to me (since the printed channel numbers are >> duplicated, and amixer shows proper chmap), though if that is the case I >> wonder why I didn't see this before... I'll take a look. >> > > > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel > -- Anssi Hannula