Comment 139 for bug 1332900

Revision history for this message
In , superquad.vortex2 (superquad.vortex2-linux-kernel-bugs) wrote :

you can add another model to support surround51

[ALC668_FIXUP_ALIENWARE_SURROUND51] = {
  .type = HDA_FIXUP_PINS,
  .v.pins = (const struct hda_pintbl[]) {
   { 0x14, 0x02011010 }, /* Front Line Out */
   { 0x15, 0x02011011 }, /* Rear Line Out */
   { 0x19, 0x02011012 }, /* Center / LFE */
   { 0x1a, 0x90170111 }, /* subwoofer */
   { }
  },
 },

static const struct hda_model_fixup alc662_fixup_models[] = {
 {.id = ALC272_FIXUP_MARIO, .name = "mario"},
 {.id = ALC662_FIXUP_ASUS_MODE1, .name = "asus-mode1"},
 {.id = ALC662_FIXUP_ASUS_MODE2, .name = "asus-mode2"},
 {.id = ALC662_FIXUP_ASUS_MODE3, .name = "asus-mode3"},
 {.id = ALC662_FIXUP_ASUS_MODE4, .name = "asus-mode4"},
 {.id = ALC662_FIXUP_ASUS_MODE5, .name = "asus-mode5"},
 {.id = ALC662_FIXUP_ASUS_MODE6, .name = "asus-mode6"},
 {.id = ALC662_FIXUP_ASUS_MODE7, .name = "asus-mode7"},
 {.id = ALC662_FIXUP_ASUS_MODE8, .name = "asus-mode8"},
 {.id = ALC662_FIXUP_INV_DMIC, .name = "inv-dmic"},
 {.id = ALC668_FIXUP_DELL_MIC_NO_PRESENCE, .name = "dell-headset-multi"},
+ {.id = ALC668_FIXUP_DELL_ALIENWARE, .name = "alienware-headset-hp-mic"},
+ {.id = ALC668_FIXUP_DELL_ALIENWARE_SURROUND51, .name = "alienware-surround51"},
 {}
};

user need to specify model to change the usage of the three audio jacks by specify model

options snd-hda-intel model=alienware-headset-hp-mic

options snd-hda-intel model=alienware-surround51