Page MenuHomeFreeBSD

D45238.id138945.diff
No OneTemporary

D45238.id138945.diff

diff --git a/sys/dev/sound/pci/hda/hdaa_patches.c b/sys/dev/sound/pci/hda/hdaa_patches.c
--- a/sys/dev/sound/pci/hda/hdaa_patches.c
+++ b/sys/dev/sound/pci/hda/hdaa_patches.c
@@ -359,6 +359,17 @@
patch_str = "as=4 seq=15";
break;
}
+ } else if (id == HDA_CODEC_ALC294 &&
+ subid == ASUS_UX331_SUBVENDOR) {
+ switch (nid) {
+ case 25:
+ /* XXX You are not expected to understand this. */
+ config = 0x01a1103c;
+ break;
+ case 33:
+ patch_str = "as=1 seq=15";
+ break;
+ }
} else {
/*
* loop over hdaa_model_pin_patch
diff --git a/sys/dev/sound/pci/hda/hdac.h b/sys/dev/sound/pci/hda/hdac.h
--- a/sys/dev/sound/pci/hda/hdac.h
+++ b/sys/dev/sound/pci/hda/hdac.h
@@ -332,6 +332,7 @@
#define ASUS_G2K_SUBVENDOR HDA_MODEL_CONSTRUCT(ASUS, 0x1339)
#define ASUS_Z550SA_SUBVENDOR HDA_MODEL_CONSTRUCT(ASUS, 0x13b0)
#define ASUS_A7T_SUBVENDOR HDA_MODEL_CONSTRUCT(ASUS, 0x13c2)
+#define ASUS_UX331_SUBVENDOR HDA_MODEL_CONSTRUCT(ASUS, 0x14de)
#define ASUS_UX31A_SUBVENDOR HDA_MODEL_CONSTRUCT(ASUS, 0x1517)
#define ASUS_GL553VE_SUBVENDOR HDA_MODEL_CONSTRUCT(ASUS, 0x15e0)
#define ASUS_Z71V_SUBVENDOR HDA_MODEL_CONSTRUCT(ASUS, 0x1964)

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 11, 5:40 PM (5 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31276285
Default Alt Text
D45238.id138945.diff (1 KB)

Event Timeline