[Midnightbsd-cvs] src [8386] trunk/sys/dev/sound/pci/hda/hdaa_patches.c: Asus EEPC 1001px has a strange variant of the ALC269 coded.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Sep 18 15:18:36 EDT 2016


Revision: 8386
          http://svnweb.midnightbsd.org/src/?rev=8386
Author:   laffer1
Date:     2016-09-18 15:18:35 -0400 (Sun, 18 Sep 2016)
Log Message:
-----------
Asus EEPC 1001px has a strange variant of the ALC269 coded.

Modified Paths:
--------------
    trunk/sys/dev/sound/pci/hda/hdaa_patches.c

Modified: trunk/sys/dev/sound/pci/hda/hdaa_patches.c
===================================================================
--- trunk/sys/dev/sound/pci/hda/hdaa_patches.c	2016-09-18 19:17:57 UTC (rev 8385)
+++ trunk/sys/dev/sound/pci/hda/hdaa_patches.c	2016-09-18 19:18:35 UTC (rev 8386)
@@ -541,6 +541,21 @@
 		if (w != NULL)
 			w->connsenable[0] = 0;
 		break;
+	case HDA_CODEC_ALC269:
+		/*
+		 * ASUS EeePC 1001px has strange variant of ALC269 CODEC,
+		 * that mutes speaker if unused mixer at NID 15 is muted.
+		 * Probably CODEC incorrectly reports internal connections.
+		 * Hide that muter from the driver.  There are several CODECs
+		 * sharing this ID and I have not enough information about
+		 * them to implement more universal solution.
+		 */
+		if (subid == 0x84371043) {
+			w = hdaa_widget_get(devinfo, 15);
+			if (w != NULL)
+				w->param.inamp_cap = 0;
+		}
+		break;
 	case HDA_CODEC_CX20582:
 	case HDA_CODEC_CX20583:
 	case HDA_CODEC_CX20584:



More information about the Midnightbsd-cvs mailing list