svn commit: r312367 - stable/10/sys/dev/sound/pci/hda
Pyun YongHyeon
yongari at FreeBSD.org
Wed Jan 18 02:57:24 UTC 2017
Author: yongari
Date: Wed Jan 18 02:57:22 2017
New Revision: 312367
URL: https://svnweb.freebsd.org/changeset/base/312367
Log:
MFC r309527-309528:
r309527:
Recognize RealTek ALC1150 7.1 channel HD audio codec.
r309528:
Fix too low volume on MSI H170 GAMING M3 board by poking vendor
specific COEF.
Modified:
stable/10/sys/dev/sound/pci/hda/hdaa_patches.c
stable/10/sys/dev/sound/pci/hda/hdac.h
stable/10/sys/dev/sound/pci/hda/hdacc.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/sound/pci/hda/hdaa_patches.c
==============================================================================
--- stable/10/sys/dev/sound/pci/hda/hdaa_patches.c Wed Jan 18 02:56:24 2017 (r312366)
+++ stable/10/sys/dev/sound/pci/hda/hdaa_patches.c Wed Jan 18 02:57:22 2017 (r312367)
@@ -714,6 +714,15 @@ hdaa_patch_direct(struct hdaa_devinfo *d
hda_command(dev, HDA_CMD_12BIT(0, devinfo->nid,
0xf88, 0xc0));
break;
+ case HDA_CODEC_ALC1150:
+ if (subid == 0xd9781462) {
+ /* Too low volume on MSI H170 GAMING M3. */
+ hda_command(dev, HDA_CMD_SET_COEFF_INDEX(0, 0x20,
+ 0x07));
+ hda_command(dev, HDA_CMD_SET_PROCESSING_COEFF(0, 0x20,
+ 0x7cb));
+ }
+ break;
}
if (subid == APPLE_INTEL_MAC)
hda_command(dev, HDA_CMD_12BIT(0, devinfo->nid,
Modified: stable/10/sys/dev/sound/pci/hda/hdac.h
==============================================================================
--- stable/10/sys/dev/sound/pci/hda/hdac.h Wed Jan 18 02:56:24 2017 (r312366)
+++ stable/10/sys/dev/sound/pci/hda/hdac.h Wed Jan 18 02:57:22 2017 (r312367)
@@ -367,6 +367,7 @@
#define HDA_CODEC_ALC889 HDA_CODEC_CONSTRUCT(REALTEK, 0x0889)
#define HDA_CODEC_ALC892 HDA_CODEC_CONSTRUCT(REALTEK, 0x0892)
#define HDA_CODEC_ALC899 HDA_CODEC_CONSTRUCT(REALTEK, 0x0899)
+#define HDA_CODEC_ALC1150 HDA_CODEC_CONSTRUCT(REALTEK, 0x0900)
#define HDA_CODEC_ALCXXXX HDA_CODEC_CONSTRUCT(REALTEK, 0xffff)
/* Motorola */
Modified: stable/10/sys/dev/sound/pci/hda/hdacc.c
==============================================================================
--- stable/10/sys/dev/sound/pci/hda/hdacc.c Wed Jan 18 02:56:24 2017 (r312366)
+++ stable/10/sys/dev/sound/pci/hda/hdacc.c Wed Jan 18 02:57:22 2017 (r312367)
@@ -111,6 +111,7 @@ static const struct {
{ HDA_CODEC_ALC889, 0, "Realtek ALC889" },
{ HDA_CODEC_ALC892, 0, "Realtek ALC892" },
{ HDA_CODEC_ALC899, 0, "Realtek ALC899" },
+ { HDA_CODEC_ALC1150, 0, "Realtek ALC1150" },
{ HDA_CODEC_AD1882, 0, "Analog Devices AD1882" },
{ HDA_CODEC_AD1882A, 0, "Analog Devices AD1882A" },
{ HDA_CODEC_AD1883, 0, "Analog Devices AD1883" },
More information about the svn-src-stable
mailing list