On Tue, Jan 12, 2010 at 9:02 PM, Wu Fengguang fengguang.wu@intel.com wrote:
On Wed, Jan 13, 2010 at 12:55:09PM +0800, John Ettedgui wrote:
On Tue, Jan 12, 2010 at 8:52 PM, Wu Fengguang fengguang.wu@intel.com wrote:
On Wed, Jan 13, 2010 at 12:48:13PM +0800, John Ettedgui wrote:
On Tue, Jan 12, 2010 at 5:45 PM, Wu Fengguang fengguang.wu@intel.com wrote:
On Wed, Jan 13, 2010 at 09:32:04AM +0800, John Ettedgui wrote:
On Tue, Jan 12, 2010 at 5:09 PM, Wu Fengguang fengguang.wu@intel.com wrote:
>> > You can play a 5.1 track and find something like this in dmesg: >> > >> > HDMI: ASP channel %d => slot %d >> > HDMI: ASP channel %d => slot %d >> > HDMI: ASP channel %d => slot %d >> > HDMI: ASP channel %d => slot %d >> > HDMI: ASP channel %d => slot %d >> > HDMI: ASP channel %d => slot %d >> > HDMI: ASP channel %d => slot %d >> > HDMI: ASP channel %d => slot %d >> > >> After trying speaker-test -c6, I could not find anything like that. >> If I try mplayer -channel 6, it just does not output any sound. > > Did you enable CONFIG_SND_DEBUG_VERBOSE? >
Yes.
Then we need more debugging..
Can you send me the file /proc/asound/card*/eld*?
Attached to this email
And the alsainfo output: http://www.alsa-project.org/alsa-info.sh
and this one is at http://www.alsa-project.org/db/?f=59773f9117f653f3d20d21b90dc2104eeb5d1ecd
John, please try this and then redo speaker-test and check dmesg:
# echo monitor_present 1 > /proc/asound/card*/eld*
Thanks, Fengguang
Alright, I guess this is the output we are looking for:
ALSA sound/pci/hda/patch_intelhdmi.c:842: hdmi_setup_stream: NID=0x2, stream=0x1, new-format=0x11 ALSA sound/pci/hda/hda_intel.c:1641: azx_pcm_prepare: bufsize=0x10000, format=0x11 HDMI: ASP channel 0 => slot 0 HDMI: ASP channel 0 => slot 0 HDMI: ASP channel 0 => slot 0 HDMI: ASP channel 0 => slot 0 HDMI: ASP channel 0 => slot 0 HDMI: ASP channel 0 => slot 0 HDMI: ASP channel 0 => slot 0 HDMI: ASP channel 0 => slot 0
Oh well, I guess your hardware doesn't support channel mapping..
You can still do it in user space: http://article.gmane.org/gmane.linux.alsa.user/33393
Thanks, Fengguang
I am sorry to resurrect this thread after so long, but I still have not been able to get anywhere. Also it just came to my attention that if my receiver always sees the hdmi connection as stereo (apart from when using ac3/dts passthrough) channel remapping is not the solution, but somehow something else is messed up.
I think I should try some options in modprobe.conf for snd-hda-intel but I am not sure which ones, and from all the examples I can find on the web, it seems none of them are talking about a radeon hdmi connection...
So I'm asking for advice here again :)
Thanks!