summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound
diff options
context:
space:
mode:
authorsbruno <sbruno@FreeBSD.org>2013-05-19 01:45:29 +0000
committersbruno <sbruno@FreeBSD.org>2013-05-19 01:45:29 +0000
commit678597bc5abd3902a84210a703be65ad9c972b5d (patch)
tree3ed594ecc0e580f87a9b013016d2b38a0cb9eea4 /sys/dev/sound
parent16418fa47289c8136078cbbb67f903d11131dcc5 (diff)
downloadFreeBSD-src-678597bc5abd3902a84210a703be65ad9c972b5d.zip
FreeBSD-src-678597bc5abd3902a84210a703be65ad9c972b5d.tar.gz
Update snd quirks for T520, T420, X220.
Group onboard mic and headphone mic jack together. Creates association that will switch between microphone inputs depending on the state of the headphone jack being connected to a live mic. Fixes onboard mic not working at all on T520. Tested on T520, T420. Suspect X220 needs this too, untested on. MFC after: 1 month
Diffstat (limited to 'sys/dev/sound')
-rw-r--r--sys/dev/sound/pci/hda/hdaa_patches.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/dev/sound/pci/hda/hdaa_patches.c b/sys/dev/sound/pci/hda/hdaa_patches.c
index ffa1f75..e1e2d74 100644
--- a/sys/dev/sound/pci/hda/hdaa_patches.c
+++ b/sys/dev/sound/pci/hda/hdaa_patches.c
@@ -347,6 +347,16 @@ hdac_pin_patch(struct hdaa_widget *w)
case 25:
patch = "as=1 seq=15";
break;
+ /*
+ * Group onboard mic and headphone mic
+ * together. Fixes onboard mic.
+ */
+ case 27:
+ patch = "as=2 seq=15";
+ break;
+ case 35:
+ patch = "as=2";
+ break;
}
} else if (id == HDA_CODEC_ALC269 &&
(subid == LENOVO_X1CRBN_SUBVENDOR ||
OpenPOWER on IntegriCloud