FreeBSD Bugzilla – Attachment 210138 Details for
Bug 242802
[snd:hda] fix no sound on headphones of Asus UX331UAL (ALC294)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Enable headphone jack on Asus UX331UAL
0001-sound-pci-hda-Enable-sound-output-on-headphones-of-A.patch (text/plain), 1.53 KB, created by
Lutz Bichler
on 2019-12-22 14:20:36 UTC
(
hide
)
Description:
Enable headphone jack on Asus UX331UAL
Filename:
MIME Type:
Creator:
Lutz Bichler
Created:
2019-12-22 14:20:36 UTC
Size:
1.53 KB
patch
obsolete
>From 10c24f50562b63da85b222effd88c0a989725520 Mon Sep 17 00:00:00 2001 >From: Lutz Bichler <Lutz.Bichler@gmail.com> >Date: Sun, 22 Dec 2019 15:08:41 +0100 >Subject: [PATCH] sound/pci/hda: Enable sound output on headphones of Asus > UX331UAL > >--- > sys/dev/sound/pci/hda/hdaa_patches.c | 9 +++++++++ > sys/dev/sound/pci/hda/hdac.h | 1 + > 2 files changed, 10 insertions(+) > >diff --git a/sys/dev/sound/pci/hda/hdaa_patches.c b/sys/dev/sound/pci/hda/hdaa_patches.c >index 755f2aef461..d15abf66fc6 100644 >--- a/sys/dev/sound/pci/hda/hdaa_patches.c >+++ b/sys/dev/sound/pci/hda/hdaa_patches.c >@@ -458,6 +458,15 @@ hdac_pin_patch(struct hdaa_widget *w) > patch = "as=1 seq=15"; > break; > } >+ } else if (id == HDA_CODEC_ALC294 && subid == ASUS_UX331_SUBVENDOR) { >+ switch (nid) { >+ case 25: >+ config = 0x01a1103c; >+ break; >+ case 33: >+ patch = "as=1 seq=15"; >+ break; >+ } > } > > if (patch != NULL) >diff --git a/sys/dev/sound/pci/hda/hdac.h b/sys/dev/sound/pci/hda/hdac.h >index dfdb701d242..f9b6b4f4c81 100644 >--- a/sys/dev/sound/pci/hda/hdac.h >+++ b/sys/dev/sound/pci/hda/hdac.h >@@ -232,6 +232,7 @@ > #define ASUS_F3JC_SUBVENDOR HDA_MODEL_CONSTRUCT(ASUS, 0x1338) > #define ASUS_G2K_SUBVENDOR HDA_MODEL_CONSTRUCT(ASUS, 0x1339) > #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_W2J_SUBVENDOR HDA_MODEL_CONSTRUCT(ASUS, 0x1971) > #define ASUS_M5200_SUBVENDOR HDA_MODEL_CONSTRUCT(ASUS, 0x1993) >-- >2.24.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 242802
: 210138
Working