[alsa-devel] 5.1 surround on 3 jacks (retasking)

Keith Chew keith.chew at gmail.com
Fri Aug 27 01:19:50 CEST 2010

> I'm not 100% sure, but I think that HDA-analyzer approach will probably
> not work here as you'll need a complete codec reconfig. After the
> reconfig, you shouldn't even have a "Line in" in alsamixer, instead you
> should have volume controls for "rear" and "center/lfe".
> Also make sure that the pin configs are configured as "front", "rear",
> and "center/lfe".

Hi David

It is now working! I couldn't find documentation on how to determine
the correct pin config values, but found in patch_realtek.c the values
for rear, clfe and front. So, I executed this:

echo 0x14 0x01014510 > /sys/class/sound/hwC0D2/user_pin_configs
echo 0x19 0x01011012 > /sys/class/sound/hwC0D2/user_pin_configs
echo 0x1b 0x01016011 > /sys/class/sound/hwC0D2/user_pin_configs
echo 1 > /sys/class/sound/hwC0D2/reconfig

And 6 channels is now working perfectly. I have also tried the early
patch method, and that works too!

Thanks again for all your help.


More information about the Alsa-devel mailing list