Skip to content

Commit 4178d78

Browse files
tuxedoxttiwai
authored andcommitted
ALSA: hda/conexant: Add pincfg quirk to enable top speakers on Sirius devices
The Sirius notebooks have two sets of speakers 0x17 (sides) and 0x1d (top center). The side speakers are active by default but the top speakers aren't. This patch provides a pincfg quirk to activate the top speakers. Signed-off-by: Christoffer Sandberg <[email protected]> Signed-off-by: Werner Sembach <[email protected]> Cc: [email protected] Link: https://patch.msgid.link/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 28b329f commit 4178d78

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

sound/pci/hda/patch_conexant.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ enum {
307307
CXT_FIXUP_HEADSET_MIC,
308308
CXT_FIXUP_HP_MIC_NO_PRESENCE,
309309
CXT_PINCFG_SWS_JS201D,
310+
CXT_PINCFG_TOP_SPEAKER,
310311
};
311312

312313
/* for hda_fixup_thinkpad_acpi() */
@@ -974,6 +975,13 @@ static const struct hda_fixup cxt_fixups[] = {
974975
.type = HDA_FIXUP_PINS,
975976
.v.pins = cxt_pincfg_sws_js201d,
976977
},
978+
[CXT_PINCFG_TOP_SPEAKER] = {
979+
.type = HDA_FIXUP_PINS,
980+
.v.pins = (const struct hda_pintbl[]) {
981+
{ 0x1d, 0x82170111 },
982+
{ }
983+
},
984+
},
977985
};
978986

979987
static const struct snd_pci_quirk cxt5045_fixups[] = {
@@ -1070,6 +1078,8 @@ static const struct snd_pci_quirk cxt5066_fixups[] = {
10701078
SND_PCI_QUIRK_VENDOR(0x17aa, "Thinkpad", CXT_FIXUP_THINKPAD_ACPI),
10711079
SND_PCI_QUIRK(0x1c06, 0x2011, "Lemote A1004", CXT_PINCFG_LEMOTE_A1004),
10721080
SND_PCI_QUIRK(0x1c06, 0x2012, "Lemote A1205", CXT_PINCFG_LEMOTE_A1205),
1081+
SND_PCI_QUIRK(0x2782, 0x12c3, "Sirius Gen1", CXT_PINCFG_TOP_SPEAKER),
1082+
SND_PCI_QUIRK(0x2782, 0x12c5, "Sirius Gen2", CXT_PINCFG_TOP_SPEAKER),
10731083
{}
10741084
};
10751085

@@ -1089,6 +1099,7 @@ static const struct hda_model_fixup cxt5066_fixup_models[] = {
10891099
{ .id = CXT_FIXUP_HP_MIC_NO_PRESENCE, .name = "hp-mic-fix" },
10901100
{ .id = CXT_PINCFG_LENOVO_NOTEBOOK, .name = "lenovo-20149" },
10911101
{ .id = CXT_PINCFG_SWS_JS201D, .name = "sws-js201d" },
1102+
{ .id = CXT_PINCFG_TOP_SPEAKER, .name = "sirius-top-speaker" },
10921103
{}
10931104
};
10941105

0 commit comments

Comments
 (0)