Re: ALSA Multichannel through HDMI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 25, 2010 at 3:40 AM, Anssi Hannula <anssi.hannula@xxxxxx> wrote:
> On 25.11.2010 13:09, John Ettedgui wrote:
>> On Thu, Nov 25, 2010 at 2:49 AM, Anssi Hannula <anssi.hannula@xxxxxx> wrote:
>>> On 25.11.2010 06:12, John Ettedgui wrote:
>>>> I'm actually trying to get a 5.1 setup working without passthrough, if
>>>> I use mplayer with passthrough my receiver behaves just fine, but I am
>>>> trying to send the 6 channels from the computer.
>>>>
>>>> I was actually told that the current ALSA driver for radeon's hdmi
>>>> does not support more than 2 channels, and that would explain why I'm
>>>> getting this behavior. Is that true though?
>>>
>>> Yes.
>>>
>>>
>>> However, strangely your log output seems to show the intel's hdmi parser
>>> being used instead:
>>>
>>>> ALSA sound/pci/hda/patch_intelhdmi.c:842: hdmi_setup_stream: NID=0x2,
>>>> stream=0x1, new-format=0x11
>>>
>>> Were you just trying some patch at the time?
>>
>> yes Wu gave me a patch to try against the kernel, I'm guessing this is
>> the reason you see something unexpected.
>
> Did 6 channels work with that patch? (possibly with a wrong channel order)
Not any better as far as I remember.
>
> Also, could you provide the patch?
> (so that I won't ask you or anyone else to test unnecessary stuff :) )
I attached it to this email.
>
> I wasn't able to locate the original thread in archives.
>
>> Since I just moved to jack/rca cables I'm in no hurry anymore, but is
>> there any reason why the driver cannot work with more than 2 channels?
>
> I don't really know (it is simply not implemented).
Alright.
>
>> Anything I could do to help with that?
>
> Possibly. But see above, so that we won't try the same things you
> already tried :)
>
Sure :)
> --
> Anssi Hannula
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@xxxxxxxxxxxxxxxx
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>

Thanks,
John
---
 sound/pci/hda/patch_atihdmi.c   |    2 --
 sound/pci/hda/patch_intelhdmi.c |    2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)

--- sound-2.6.orig/sound/pci/hda/patch_atihdmi.c	2010-01-12 12:44:24.000000000 +0800
+++ sound-2.6/sound/pci/hda/patch_atihdmi.c	2010-01-12 12:45:58.000000000 +0800
@@ -189,7 +189,6 @@ static struct hda_codec_preset snd_hda_p
 	{ .id = 0x1002793c, .name = "RS600 HDMI", .patch = patch_atihdmi },
 	{ .id = 0x10027919, .name = "RS600 HDMI", .patch = patch_atihdmi },
 	{ .id = 0x1002791a, .name = "RS690/780 HDMI", .patch = patch_atihdmi },
-	{ .id = 0x1002aa01, .name = "R6xx HDMI", .patch = patch_atihdmi },
 	{ .id = 0x10951390, .name = "SiI1390 HDMI", .patch = patch_atihdmi },
 	{ .id = 0x17e80047, .name = "Chrontel HDMI",  .patch = patch_atihdmi },
 	{} /* terminator */
@@ -198,7 +197,6 @@ static struct hda_codec_preset snd_hda_p
 MODULE_ALIAS("snd-hda-codec-id:1002793c");
 MODULE_ALIAS("snd-hda-codec-id:10027919");
 MODULE_ALIAS("snd-hda-codec-id:1002791a");
-MODULE_ALIAS("snd-hda-codec-id:1002aa01");
 MODULE_ALIAS("snd-hda-codec-id:10951390");
 MODULE_ALIAS("snd-hda-codec-id:17e80047");
 
--- sound-2.6.orig/sound/pci/hda/patch_intelhdmi.c	2010-01-12 12:44:18.000000000 +0800
+++ sound-2.6/sound/pci/hda/patch_intelhdmi.c	2010-01-12 12:45:28.000000000 +0800
@@ -987,6 +987,7 @@ static struct hda_codec_preset snd_hda_p
 	{ .id = 0x80862804, .name = "G45 DEVIBX", .patch = patch_intel_hdmi },
 	{ .id = 0x80860054, .name = "Q57 DEVIBX", .patch = patch_intel_hdmi },
 	{ .id = 0x10951392, .name = "SiI1392 HDMI",     .patch = patch_intel_hdmi },
+	{ .id = 0x1002aa01, .name = "R6xx HDMI",	.patch = patch_intel_hdmi },
 	{} /* terminator */
 };
 
@@ -997,6 +998,7 @@ MODULE_ALIAS("snd-hda-codec-id:80862803"
 MODULE_ALIAS("snd-hda-codec-id:80862804");
 MODULE_ALIAS("snd-hda-codec-id:80860054");
 MODULE_ALIAS("snd-hda-codec-id:10951392");
+MODULE_ALIAS("snd-hda-codec-id:1002aa01");
 
 MODULE_LICENSE("GPL");
 MODULE_DESCRIPTION("Intel HDMI HD-audio codec");
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux