aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2022-01-14 19:40:47 +0000
committerEd Maste <emaste@FreeBSD.org>2022-01-15 00:23:15 +0000
commit301b2b02dfcfddbb5da34dcc20136de1ab2f36af (patch)
tree56138f664825c0ddf7d30ef4770163ec3e8baa5e
parent4762aa57ad17b67b46570025ca21ac4a5eefed0c (diff)
downloadsrc-301b2b02dfcfddbb5da34dcc20136de1ab2f36af.tar.gz
src-301b2b02dfcfddbb5da34dcc20136de1ab2f36af.zip
snd_hda: restore pin patch for headphones on Lenovo X1 7th Gen
Fixes: ef790cc7407e ("hdaa: update pin patch configurations") Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33900
-rw-r--r--sys/dev/sound/pci/hda/pin_patch_realtek.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/dev/sound/pci/hda/pin_patch_realtek.h b/sys/dev/sound/pci/hda/pin_patch_realtek.h
index dfa262e3610a..e59cd6b78b8f 100644
--- a/sys/dev/sound/pci/hda/pin_patch_realtek.h
+++ b/sys/dev/sound/pci/hda/pin_patch_realtek.h
@@ -554,6 +554,21 @@ static struct hdaa_model_pin_patch_t realtek_model_pin_patches[] = {
}
}, { }
}
+ }, { /**** CODEC: HDA_CODEC_ALC285 ****/
+ .id = HDA_CODEC_ALC285,
+ .patches = (struct model_pin_patch_t[]){
+ {
+ .models = (struct pin_machine_model_t[]){
+ PIN_SUBVENDOR(LENOVO_X120KH_SUBVENDOR),
+ PIN_SUBVENDOR(LENOVO_X120QD_SUBVENDOR),
+ { }
+ },
+ .pin_patches = (struct pin_patch_t[]){
+ PIN_PATCH_STRING(33, "seq=15 as=1 color=Black ctype=1/8 device=Headphones loc=Left"),
+ { }
+ }
+ }, { }
+ }
}, { /**** CODEC: HDA_CODEC_ALC286 ****/
.id = HDA_CODEC_ALC286,
.patches = (struct model_pin_patch_t[]){