Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 May 2013 01:45:30 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r250797 - head/sys/dev/sound/pci/hda
Message-ID:  <201305190145.r4J1jU21028547@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbruno
Date: Sun May 19 01:45:29 2013
New Revision: 250797
URL: http://svnweb.freebsd.org/changeset/base/250797

Log:
  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

Modified:
  head/sys/dev/sound/pci/hda/hdaa_patches.c

Modified: head/sys/dev/sound/pci/hda/hdaa_patches.c
==============================================================================
--- head/sys/dev/sound/pci/hda/hdaa_patches.c	Sun May 19 01:33:17 2013	(r250796)
+++ head/sys/dev/sound/pci/hda/hdaa_patches.c	Sun May 19 01:45:29 2013	(r250797)
@@ -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 ||



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305190145.r4J1jU21028547>