Enable dock line in/line out on an HP machine (ALC280)
Bug #1412800 reported by
David Henningsson
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
Medium
|
David Henningsson | ||
linux (Ubuntu) |
Fix Released
|
Medium
|
David Henningsson |
Bug Description
This bug is used for tracking purposes. Please do not triage.
Changed in linux (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → David Henningsson (diwic) |
summary: |
- Enable dock line in/line out on an HP machine + Enable dock line in/line out on an HP machine (ALC280) |
Changed in linux (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in hwe-next: | |
status: | New → Fix Committed |
assignee: | nobody → David Henningsson (diwic) |
Changed in hwe-next: | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
Changed in hwe-next: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
From: TienFu Chen <email address hidden>
On this machine we need to inform the driver where the docking
station pins are, because it has not been set up by BIOS.
Tested-by: TienFu Chen <email address hidden> /bugs.launchpad .net/bugs/ 1412800 pci/hda/ patch_realtek. c | 13 +++++++++++++
BugLink: https:/
Signed-off-by: TienFu Chen <email address hidden>
Signed-off-by: David Henningsson <email address hidden>
---
sound/
1 file changed, 13 insertions(+)
diff --git a/sound/ pci/hda/ patch_realtek. c b/sound/ pci/hda/ patch_realtek. c pci/hda/ patch_realtek. c pci/hda/ patch_realtek. c FIXUP_HP_ GPIO4, FIXUP_HP_ GPIO_LED, FIXUP_HP_ GPIO2_MIC_ HOTKEY, FIXUP_HP_ DOCK_PINS,
index 1720f8a..0403061 100644
--- a/sound/
+++ b/sound/
@@ -4417,6 +4417,7 @@ enum {
ALC280_
ALC286_
ALC280_
+ ALC280_
};
static const struct hda_fixup alc269_fixups[] = { fixup_hp_ gpio2_mic_ hotkey, FIXUP_HP_ DOCK_PINS] = { FIXUP_HP_ GPIO4
@@ -4894,6 +4895,17 @@ static const struct hda_fixup alc269_fixups[] = {
.type = HDA_FIXUP_FUNC,
.v.func = alc280_
},
+ [ALC280_
+ .type = HDA_FIXUP_PINS,
+ .v.pins = (const struct hda_pintbl[]) {
+ { 0x1b, 0x21011020 }, /* line-out */
+ { 0x1a, 0x01a1903c }, /* headset mic */
+ { 0x18, 0x2181103f }, /* line-in */
+ { },
+ },
+ .chained = true,
+ .chain_id = ALC280_
+ },
};
static const struct snd_pci_quirk alc269_fixup_tbl[] = { QUIRK(0x103c, 0x226b, "HP", ALC269_ FIXUP_HP_ MUTE_LED_ MIC1), QUIRK(0x103c, 0x226e, "HP", ALC269_ FIXUP_HP_ MUTE_LED_ MIC1), QUIRK(0x103c, 0x2271, "HP", ALC286_ FIXUP_HP_ GPIO_LED) , QUIRK(0x103c, 0x2272, "HP", ALC280_ FIXUP_HP_ DOCK_PINS) , QUIRK(0x103c, 0x229e, "HP", ALC269_ FIXUP_HP_ MUTE_LED_ MIC1), QUIRK(0x103c, 0x22b2, "HP", ALC269_ FIXUP_HP_ MUTE_LED_ MIC1), QUIRK(0x103c, 0x22b7, "HP", ALC269_ FIXUP_HP_ MUTE_LED_ MIC1),
@@ -4937,6 +4949,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
SND_PCI_
SND_PCI_
SND_PCI_
+ SND_PCI_
SND_PCI_
SND_PCI_
SND_PCI_
--
1.9.1