mirror of
https://git.FreeBSD.org/src.git
synced 2026-06-02 11:24:32 +00:00
snd_hda: Patch Dell WYSE 7040
https://forums.freebsd.org/threads/dell-wyse-7040-thin-client-intel-i5-6500te-built-in-sound-alc255-mini-how-to.102656/
Reported by: razif (on the forum)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
(cherry picked from commit c6cefcbbbb)
This commit is contained in:
@@ -328,6 +328,15 @@ hdac_pin_patch(struct hdaa_widget *w)
|
||||
patch_str = "as=1 seq=15";
|
||||
break;
|
||||
}
|
||||
} else if (id == HDA_CODEC_ALC255 && subid == DELL_WYSE7040_SUBVENDOR) {
|
||||
switch (nid) {
|
||||
case 20:
|
||||
patch_str = "as=1 seq=0 device=Speaker";
|
||||
break;
|
||||
case 33:
|
||||
patch_str = "as=1 seq=15 device=Headphones";
|
||||
break;
|
||||
}
|
||||
} else if (id == HDA_CODEC_ALC256 && (subid == DELL_I7577_SUBVENDOR ||
|
||||
subid == DELL_L7480_SUBVENDOR)) {
|
||||
switch (nid) {
|
||||
|
||||
@@ -281,6 +281,7 @@
|
||||
#define DELL_164AID_SUBVENDOR HDA_MODEL_CONSTRUCT(DELL, 0x164a)
|
||||
#define DELL_164BID_SUBVENDOR HDA_MODEL_CONSTRUCT(DELL, 0x164b)
|
||||
#define DELL_I7577_SUBVENDOR HDA_MODEL_CONSTRUCT(DELL, 0x0802)
|
||||
#define DELL_WYSE7040_SUBVENDOR HDA_MODEL_CONSTRUCT(DELL, 0x0727)
|
||||
#define DELL_ALL_SUBVENDOR HDA_MODEL_CONSTRUCT(DELL, 0xffff)
|
||||
|
||||
/* Clevo */
|
||||
|
||||
Reference in New Issue
Block a user