* [PATCH] ALSA: hda - Fix the dock headphone output on Fujitsu Lifebook E780
@ 2015-06-29 6:42 Takashi Iwai
2015-06-29 13:36 ` Raymond Yau
0 siblings, 1 reply; 2+ messages in thread
From: Takashi Iwai @ 2015-06-29 6:42 UTC (permalink / raw)
To: alsa-devel
Fujitsu Lifebook E780 sets the sequence number 0x0f to only only of
the two headphones, thus the driver tries to assign another as the
line-out, and this results in the inconsistent mapping between the
created jack ctl and the actual I/O. Due to this, PulseAudio doesn't
handle it properly and gets the silent output.
The fix is to ignore the non-HP sequencer checks.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=99681
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
sound/pci/hda/patch_realtek.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index cab09c42598b..dfa3852a3476 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -4464,6 +4464,7 @@ enum {
ALC269_FIXUP_LIFEBOOK,
ALC269_FIXUP_LIFEBOOK_EXTMIC,
ALC269_FIXUP_LIFEBOOK_HP_PIN,
+ ALC269_FIXUP_LIFEBOOK_NO_HP_TO_LINEOUT,
ALC269_FIXUP_AMIC,
ALC269_FIXUP_DMIC,
ALC269VB_FIXUP_AMIC,
@@ -4634,6 +4635,10 @@ static const struct hda_fixup alc269_fixups[] = {
{ }
},
},
+ [ALC269_FIXUP_LIFEBOOK_NO_HP_TO_LINEOUT] = {
+ .type = HDA_FIXUP_FUNC,
+ .v.func = alc269_fixup_pincfg_no_hp_to_lineout,
+ },
[ALC269_FIXUP_AMIC] = {
.type = HDA_FIXUP_PINS,
.v.pins = (const struct hda_pintbl[]) {
@@ -5208,6 +5213,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
SND_PCI_QUIRK(0x104d, 0x9084, "Sony VAIO", ALC275_FIXUP_SONY_HWEQ),
SND_PCI_QUIRK(0x104d, 0x9099, "Sony VAIO S13", ALC275_FIXUP_SONY_DISABLE_AAMIX),
SND_PCI_QUIRK(0x10cf, 0x1475, "Lifebook", ALC269_FIXUP_LIFEBOOK),
+ SND_PCI_QUIRK(0x10cf, 0x159f, "Lifebook E780", ALC269_FIXUP_LIFEBOOK_NO_HP_TO_LINEOUT),
SND_PCI_QUIRK(0x10cf, 0x15dc, "Lifebook T731", ALC269_FIXUP_LIFEBOOK_HP_PIN),
SND_PCI_QUIRK(0x10cf, 0x1757, "Lifebook E752", ALC269_FIXUP_LIFEBOOK_HP_PIN),
SND_PCI_QUIRK(0x10cf, 0x1845, "Lifebook U904", ALC269_FIXUP_LIFEBOOK_EXTMIC),
--
2.4.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ALSA: hda - Fix the dock headphone output on Fujitsu Lifebook E780
2015-06-29 6:42 [PATCH] ALSA: hda - Fix the dock headphone output on Fujitsu Lifebook E780 Takashi Iwai
@ 2015-06-29 13:36 ` Raymond Yau
0 siblings, 0 replies; 2+ messages in thread
From: Raymond Yau @ 2015-06-29 13:36 UTC (permalink / raw)
To: Takashi Iwai; +Cc: ALSA Development Mailing List
>
> Fujitsu Lifebook E780 sets the sequence number 0x0f to only only of
> the two headphones, thus the driver tries to assign another as the
> line-out, and this results in the inconsistent mapping between the
> created jack ctl and the actual I/O. Due to this, PulseAudio doesn't
> handle it properly and gets the silent output.
>
> The fix is to ignore the non-HP sequencer checks.
>
> Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=99681
Should driver create dock headphone playbavk switch and headphone playback
volume for headphone and dock headphone ?
This allow pulseaudio/user to mute dock headphone
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-29 13:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-29 6:42 [PATCH] ALSA: hda - Fix the dock headphone output on Fujitsu Lifebook E780 Takashi Iwai
2015-06-29 13:36 ` Raymond Yau
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.