At Tue, 9 Aug 2011 00:13:24 +0200, Andrée 'Glaucous' wrote:
Okay, after waking up and stopped being stupid, I cloned latest alsa-kernel,
Use sound git tree: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
this however still resulted in your patch failing, but I managed to install it manually.
I still can't run speaker-test with more than 2 channels.
Give the kernel message. It should show the raw value.
(HDMI is card1 now)
/proc/asound/card1/eld#0.0 monitor_present 1 eld_valid 1 monitor_name connection_type HDMI eld_version [0x0] reserved edid_version [0x0] no CEA EDID Timing Extension block present manufacture_id 0x0 product_id 0x0 port_id 0x0 support_hdcp 0 support_ai 0 audio_sync_delay 0 speakers [0xffff] FL/FR LFE FC RL/RR RC FLC/FRC RLC/RRC FLW/FRW FLH/FRH TC FCH sad_count 0
So, this means it's likely 0xffffffff or such.
--
Now monitor is present (which I should add, it also was when I updated to kernel 3.0 without any alsa patch), and there are many more channels, which is probably because due to your patch hardcoding the channel count.
No, the speaker configs read above are irrelevant from the channel count.
Takashi