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

Keith Chew keith.chew at gmail.com
Mon Aug 30 21:45:09 CEST 2010

Hi Takashi

> This is nothing but the raw 32 bit values the codec chip will take.
> Refer to "default pin configuration" in HD-audio specification.
> Definitions can be found in hda_codec.h, too (AC_DEFCFG_*).

Thank you very much for this, I have managed to find it in both Intel
doc, and the hda_codec.h you mentioned. Interestingly, when I
configure all 3 jacks (via user_pin_configs) to be of type HP_OUT,
only 1 of them will be configured as that, the other 2 will not. There
must be something in the generic code that prevents more than 1 jack
being configured as HP_OUT. Looking at patch_realtek.c it appears the
norm is to set only 1 jack to be HP.

So, I ended up using the hda-verb program and set the HP_OUT on
startup, it works out well.

PS: Now I am getting static interference on one of the ports, but I
believe this is a hardware issue. In HP_OUT mode, the rear jack is
picking up static noise from the power source close by (ie noise only
comes in when keyboard is pressed repeatly or when CPU is in use).
Solved one problem, out comes another. More hardware debugging to do,
thanks again for all your help!


More information about the Alsa-devel mailing list