linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ALSA: hda/realtek: Apply jack fixup for Quanta NL3
@ 2020-12-22 15:04 Chris Chiu
  2020-12-22 15:04 ` [PATCH 2/2] ALSA/hda: apply jack fixup for the Acer Veriton N4640G/N6640G/N2510G Chris Chiu
  2020-12-22 16:45 ` [PATCH 1/2] ALSA: hda/realtek: Apply jack fixup for Quanta NL3 Takashi Iwai
  0 siblings, 2 replies; 4+ messages in thread
From: Chris Chiu @ 2020-12-22 15:04 UTC (permalink / raw)
  To: tiwai, kailang; +Cc: alsa-devel, linux-kernel, linux, Chris Chiu

The Quanta NL3 laptop has both a headphone output jack and a headset
jack, on the right edge of the chassis.

The pin information suggests that both of these are at the Front.
The PulseAudio is confused to differentiate them so one of the jack
can neither get the jack sense working nor the audio output.

The ALC269_FIXUP_LIFEBOOK chained with ALC269_FIXUP_QUANTA_MUTE can
help to differentiate 2 jacks and get the 'Auto-Mute Mode' working
correctly.

Signed-off-by: Chris Chiu <chiu@endlessos.org>
---
 sound/pci/hda/patch_realtek.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 8616c5624870..bb1010d78717 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -8013,6 +8013,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x1458, 0xfa53, "Gigabyte BXBT-2807", ALC283_FIXUP_HEADSET_MIC),
 	SND_PCI_QUIRK(0x1462, 0xb120, "MSI Cubi MS-B120", ALC283_FIXUP_HEADSET_MIC),
 	SND_PCI_QUIRK(0x1462, 0xb171, "Cubi N 8GL (MS-B171)", ALC283_FIXUP_HEADSET_MIC),
+	SND_PCI_QUIRK(0x152d, 0x1082, "Quanta NL3", ALC269_FIXUP_LIFEBOOK),
 	SND_PCI_QUIRK(0x1558, 0x1323, "Clevo N130ZU", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x1558, 0x1325, "System76 Darter Pro (darp5)", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x1558, 0x1401, "Clevo L140[CZ]U", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] ALSA/hda: apply jack fixup for the Acer Veriton N4640G/N6640G/N2510G
  2020-12-22 15:04 [PATCH 1/2] ALSA: hda/realtek: Apply jack fixup for Quanta NL3 Chris Chiu
@ 2020-12-22 15:04 ` Chris Chiu
  2020-12-22 16:46   ` Takashi Iwai
  2020-12-22 16:45 ` [PATCH 1/2] ALSA: hda/realtek: Apply jack fixup for Quanta NL3 Takashi Iwai
  1 sibling, 1 reply; 4+ messages in thread
From: Chris Chiu @ 2020-12-22 15:04 UTC (permalink / raw)
  To: tiwai, kailang; +Cc: alsa-devel, linux-kernel, linux, Chris Chiu, Jian-Hong Pan

This Acer Veriton N4640G/N6640G/N2510G desktops have 2 headphone
jacks(front and rear), and a separate Mic In jack.

The rear headphone jack is actually a line out jack but always silent
while playing audio. The front 'Mic In' also fails the jack sensing.
Apply the ALC269_FIXUP_LIFEBOOK to have all audio jacks to work as
expected.

Signed-off-by: Chris Chiu <chiu@endlessos.org>
Signed-off-by: Jian-Hong Pan <jhp@endlessos.org>
---
 sound/pci/hda/patch_realtek.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index bb1010d78717..9eb43d827bda 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -7803,11 +7803,14 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x1025, 0x0762, "Acer Aspire E1-472", ALC271_FIXUP_HP_GATE_MIC_JACK_E1_572),
 	SND_PCI_QUIRK(0x1025, 0x0775, "Acer Aspire E1-572", ALC271_FIXUP_HP_GATE_MIC_JACK_E1_572),
 	SND_PCI_QUIRK(0x1025, 0x079b, "Acer Aspire V5-573G", ALC282_FIXUP_ASPIRE_V5_PINS),
+	SND_PCI_QUIRK(0x1025, 0x101c, "Acer Veriton N2510G", ALC269_FIXUP_LIFEBOOK),
 	SND_PCI_QUIRK(0x1025, 0x102b, "Acer Aspire C24-860", ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x1025, 0x1065, "Acer Aspire C20-820", ALC269VC_FIXUP_ACER_HEADSET_MIC),
 	SND_PCI_QUIRK(0x1025, 0x106d, "Acer Cloudbook 14", ALC283_FIXUP_CHROME_BOOK),
 	SND_PCI_QUIRK(0x1025, 0x1099, "Acer Aspire E5-523G", ALC255_FIXUP_ACER_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x1025, 0x110e, "Acer Aspire ES1-432", ALC255_FIXUP_ACER_MIC_NO_PRESENCE),
+	SND_PCI_QUIRK(0x1025, 0x1166, "Acer Veriton N4640G", ALC269_FIXUP_LIFEBOOK),
+	SND_PCI_QUIRK(0x1025, 0x1167, "Acer Veriton N6640G", ALC269_FIXUP_LIFEBOOK),
 	SND_PCI_QUIRK(0x1025, 0x1246, "Acer Predator Helios 500", ALC299_FIXUP_PREDATOR_SPK),
 	SND_PCI_QUIRK(0x1025, 0x1247, "Acer vCopperbox", ALC269VC_FIXUP_ACER_VCOPPERBOX_PINS),
 	SND_PCI_QUIRK(0x1025, 0x1248, "Acer Veriton N4660G", ALC269VC_FIXUP_ACER_MIC_NO_PRESENCE),
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] ALSA: hda/realtek: Apply jack fixup for Quanta NL3
  2020-12-22 15:04 [PATCH 1/2] ALSA: hda/realtek: Apply jack fixup for Quanta NL3 Chris Chiu
  2020-12-22 15:04 ` [PATCH 2/2] ALSA/hda: apply jack fixup for the Acer Veriton N4640G/N6640G/N2510G Chris Chiu
@ 2020-12-22 16:45 ` Takashi Iwai
  1 sibling, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2020-12-22 16:45 UTC (permalink / raw)
  To: Chris Chiu; +Cc: tiwai, kailang, alsa-devel, linux-kernel, linux

On Tue, 22 Dec 2020 16:04:58 +0100,
Chris Chiu wrote:
> 
> The Quanta NL3 laptop has both a headphone output jack and a headset
> jack, on the right edge of the chassis.
> 
> The pin information suggests that both of these are at the Front.
> The PulseAudio is confused to differentiate them so one of the jack
> can neither get the jack sense working nor the audio output.
> 
> The ALC269_FIXUP_LIFEBOOK chained with ALC269_FIXUP_QUANTA_MUTE can
> help to differentiate 2 jacks and get the 'Auto-Mute Mode' working
> correctly.
> 
> Signed-off-by: Chris Chiu <chiu@endlessos.org>

Applied now with Cc to stable.  Thanks.


Takashi

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] ALSA/hda: apply jack fixup for the Acer Veriton N4640G/N6640G/N2510G
  2020-12-22 15:04 ` [PATCH 2/2] ALSA/hda: apply jack fixup for the Acer Veriton N4640G/N6640G/N2510G Chris Chiu
@ 2020-12-22 16:46   ` Takashi Iwai
  0 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2020-12-22 16:46 UTC (permalink / raw)
  To: Chris Chiu; +Cc: tiwai, kailang, alsa-devel, linux-kernel, linux, Jian-Hong Pan

On Tue, 22 Dec 2020 16:04:59 +0100,
Chris Chiu wrote:
> 
> This Acer Veriton N4640G/N6640G/N2510G desktops have 2 headphone
> jacks(front and rear), and a separate Mic In jack.
> 
> The rear headphone jack is actually a line out jack but always silent
> while playing audio. The front 'Mic In' also fails the jack sensing.
> Apply the ALC269_FIXUP_LIFEBOOK to have all audio jacks to work as
> expected.
> 
> Signed-off-by: Chris Chiu <chiu@endlessos.org>
> Signed-off-by: Jian-Hong Pan <jhp@endlessos.org>

Applied with Cc to stable.  Thanks.


Takashi

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-12-22 16:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-22 15:04 [PATCH 1/2] ALSA: hda/realtek: Apply jack fixup for Quanta NL3 Chris Chiu
2020-12-22 15:04 ` [PATCH 2/2] ALSA/hda: apply jack fixup for the Acer Veriton N4640G/N6640G/N2510G Chris Chiu
2020-12-22 16:46   ` Takashi Iwai
2020-12-22 16:45 ` [PATCH 1/2] ALSA: hda/realtek: Apply jack fixup for Quanta NL3 Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).