Comment 74 for bug 1040873

Revision history for this message
Raymond (superquad-vortex2) wrote :

setup the speaker pin complex 0x16 if the subwoofer is connected before boot

+static void alc663_fixup_asus_sonicmaster(struct hda_codec *codec,
+ const struct hda_fixup *fix, int action)
+{
+ if (action != HDA_FIXUP_ACT_PRE_PROBE)
+ return;
+ if (snd_hda_pin_sense(codec, 0x18) == AC_PINSENSE_PRESENCE)
+ snd_hda_codec_set_pincfg(codec, 0x16, 0x99130111);
+}