Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F112713408
D49416.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D49416.id.diff
View Options
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
@@ -340,6 +340,20 @@
patch_str = "as=3 seq=15 color=Black loc=Left";
break;
}
+ } else if (id == HDA_CODEC_ALC295 &&
+ subid == FRAMEWORK_LAPTOP_0005_SUBVENDOR) {
+ switch (nid) {
+ case 20:
+ /*
+ * This pin is a duplicate of pin 23 (both as=1 seq=0),
+ * which ends up in the driver disabling the
+ * association altogether. Since sound quality from pin
+ * 23 seems to be better, assign this one as a back
+ * speaker.
+ */
+ patch_str = "as=1 seq=2";
+ break;
+ }
} else if (id == HDA_CODEC_ALC295 &&
subid == FRAMEWORK_LAPTOP_0006_SUBVENDOR) {
switch (nid) {
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
@@ -530,6 +530,7 @@
#define FRAMEWORK_LAPTOP_0001_SUBVENDOR HDA_MODEL_CONSTRUCT(FRAMEWORK, 0x0001)
#define FRAMEWORK_LAPTOP_0002_SUBVENDOR HDA_MODEL_CONSTRUCT(FRAMEWORK, 0x0002)
#define FRAMEWORK_LAPTOP_0003_SUBVENDOR HDA_MODEL_CONSTRUCT(FRAMEWORK, 0x0003)
+#define FRAMEWORK_LAPTOP_0005_SUBVENDOR HDA_MODEL_CONSTRUCT(FRAMEWORK, 0x0005)
#define FRAMEWORK_LAPTOP_0006_SUBVENDOR HDA_MODEL_CONSTRUCT(FRAMEWORK, 0x0006)
/* All codecs you can eat... */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 22, 7:58 PM (9 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17259710
Default Alt Text
D49416.id.diff (1 KB)
Attached To
Mode
D49416: snd_hda: Patch Framework 16 AMD
Attached
Detach File
Event Timeline
Log In to Comment