Skip to content

Commit 73f1c75

Browse files
dengxiangtiwai
authored andcommitted
ALSA: hda/realtek: Add quirks for Unis H3C Desktop B760 & Q760
These models use NSIWAY amplifiers for internal speaker, but cannot put sound outside from these amplifiers. So eapd verbs are needed to initialize the amplifiers. They can be added during boot to get working sound out of internal speaker. Signed-off-by: dengxiang <dengxiang@nfschina.com> Link: https://lore.kernel.org/r/20230703021751.2945750-1-dengxiang@nfschina.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 22065e4 commit 73f1c75

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11287,6 +11287,7 @@ enum {
1128711287
ALC897_FIXUP_HP_HSMIC_VERB,
1128811288
ALC897_FIXUP_LENOVO_HEADSET_MODE,
1128911289
ALC897_FIXUP_HEADSET_MIC_PIN2,
11290+
ALC897_FIXUP_UNIS_H3C_X500S,
1129011291
};
1129111292

1129211293
static const struct hda_fixup alc662_fixups[] = {
@@ -11726,6 +11727,13 @@ static const struct hda_fixup alc662_fixups[] = {
1172611727
.chained = true,
1172711728
.chain_id = ALC897_FIXUP_LENOVO_HEADSET_MODE
1172811729
},
11730+
[ALC897_FIXUP_UNIS_H3C_X500S] = {
11731+
.type = HDA_FIXUP_VERBS,
11732+
.v.verbs = (const struct hda_verb[]) {
11733+
{ 0x14, AC_VERB_SET_EAPD_BTLENABLE, 0 },
11734+
{}
11735+
},
11736+
},
1172911737
};
1173011738

1173111739
static const struct snd_pci_quirk alc662_fixup_tbl[] = {
@@ -11887,6 +11895,7 @@ static const struct hda_model_fixup alc662_fixup_models[] = {
1188711895
{.id = ALC662_FIXUP_USI_HEADSET_MODE, .name = "usi-headset"},
1188811896
{.id = ALC662_FIXUP_LENOVO_MULTI_CODECS, .name = "dual-codecs"},
1188911897
{.id = ALC669_FIXUP_ACER_ASPIRE_ETHOS, .name = "aspire-ethos"},
11898+
{.id = ALC897_FIXUP_UNIS_H3C_X500S, .name = "unis-h3c-x500s"},
1189011899
{}
1189111900
};
1189211901

0 commit comments

Comments
 (0)