ALSA: hda/realtek: Fix quiet 3.5mm jacks on Beelink SER6
PATCH v2 1/1 ALSA: hda/realtek: Fix quiet 3.5mm jacks on Beelink SER6
Both the front headphone jack and the rear line-out jack play back at a barely audible volume on the Beelink SER6 Max (ALC897, PCI subsystem ID 1f66:0202), even with all mixer controls at 0dB. GPIO2 on the codec gates an external headphone/line amplifier that the generic parser never enables. Add a fixup that asserts it. Verified fixed on both jacks.
---
v2: put the QUIRK in the correct position
remove comment from alc662_fixups[] addition, to better match others
append to enum and alc662_fixups[] rather than insert
---
sound/hda/codecs/realtek/alc662.c | 6 ++++++
1 file changed, 6 insertions(+)sound/hda/codecs/realtek/alc662.c +6 -0
@@ -325,6 +325,7 @@ enum {ALC897_FIXUP_UNIS_H3C_X500S ,ALC897_FIXUP_HEADSET_MIC_PIN3 ,ALC662_FIXUP_CSL_GPIO , + ALC897_FIXUP_BEELINK_SER6_AMP, }; static const struct hda_fixup alc662_fixups[] = {
@@ -782,6 +783,10 @@ static const struct hda_fixup alc662_fixups[] = { .type = HDA_FIXUP_FUNC, .v.func = alc662_fixup_csl_amp, }, + [ALC897_FIXUP_BEELINK_SER6_AMP] = { + .type = HDA_FIXUP_FUNC, + .v.func = alc_fixup_gpio4, + }, }; static const struct hda_quirk alc662_fixup_tbl[] = {
@@ -852,6 +857,7 @@ static const struct hda_quirk alc662_fixup_tbl[] = {SND_PCI_QUIRK (0x1b35 ,0x1234 ,"CZC ET26" ,ALC662_FIXUP_CZC_ET26 ),SND_PCI_QUIRK (0x1b35 ,0x2206 ,"CZC P10T" ,ALC662_FIXUP_CZC_P10T ),SND_PCI_QUIRK (0x1c6c ,0x1239 ,"Compaq N14JP6-V2" ,ALC897_FIXUP_HP_HSMIC_VERB ), +SND_PCI_QUIRK (0x1f66 ,0x0202 ,"Beelink SER6 Max 6900" ,ALC897_FIXUP_BEELINK_SER6_AMP ), #if 0/* Below is a quirk table taken from the old code.
Signature · 1 line
2.55.0
Takashi Iwai
AppliedQuoted 8 lines · Brian Koebbe
Both the front headphone jack and the rear line-out jack play back at a barely audible volume on the Beelink SER6 Max (ALC897, PCI subsystem ID 1f66:0202), even with all mixer controls at 0dB. GPIO2 on the codec gates an external headphone/line amplifier that the generic parser never enables. Add a fixup that asserts it. Verified fixed on both jacks.
Quoted 7 lines
Signed-off-by Brian Koebbe <[email protected]>---
v2: put the QUIRK in the correct positionremove comment from alc662_fixups[] addition, to better match others append to enum and alc662_fixups[] rather than insert
Applied to for-next branch now. Thanks.
Takashi