* [PATCH] ALSA: hda/realtek: Fix the Dell XPS 8940 headset microphone
@ 2026-11-03 15:03 Angel J
2026-11-04 7:15 ` Takashi Iwai
0 siblings, 1 reply; 7+ messages in thread
From: Angel J @ 2026-11-03 15:03 UTC (permalink / raw)
To: linux-sound; +Cc: tiwai, perex, linux-kernel, Angel J
The Dell XPS 8940 (1028:09c5) has an ALC3861 codec (0x10ec0899).
Its BIOS marks the headset microphone pin at NID 0x19 as disconnected
(0x411111f0). With no external microphone input in the pin configuration,
the generic parser creates a shared headphone/mic input on NID 0x1b
instead. Headphone playback works, but the headset microphone is silent.
Override NID 0x19 as a front microphone without independent presence
detection. This gives the generic parser the dedicated microphone
input and preserves NID 0x1b for simultaneous headphone playback.
I encountered this issue on my XPS 8940. Similar symptoms were also
reported by a user on Ubuntu:
https://bugs.launchpad.net/bugs/1971232
Cc: stable@vger.kernel.org
Assisted-by: Codex (GPT-6.1 Sol)
Signed-off-by: Angel J <iamanaws@httpd.dev>
---
Notes:
Build-tested alc882.o with x86_64 defconfig, GCC 16.2.0 and W=1
without warnings. The patch also applies to upstream v6.18.
Boot-tested on a Dell XPS 8940 running Linux 6.18.58.
Microphone capture and headphone playback work simultaneously.
sound/hda/codecs/realtek/alc882.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/sound/hda/codecs/realtek/alc882.c b/sound/hda/codecs/realtek/alc882.c
index 800c3d6f5..cf8d3c48e 100644
--- a/sound/hda/codecs/realtek/alc882.c
+++ b/sound/hda/codecs/realtek/alc882.c
@@ -50,6 +50,7 @@ enum {
ALC889_FIXUP_MP41_VREF,
ALC882_FIXUP_INV_DMIC,
ALC882_FIXUP_NO_PRIMARY_HP,
+ ALC898_FIXUP_DELL_XPS8940_MIC,
ALC887_FIXUP_ASUS_BASS,
ALC887_FIXUP_BASS_CHMAP,
ALC1220_FIXUP_GB_DUAL_CODECS,
@@ -507,6 +508,13 @@ static const struct hda_fixup alc882_fixups[] = {
.type = HDA_FIXUP_FUNC,
.v.func = alc882_fixup_no_primary_hp,
},
+ [ALC898_FIXUP_DELL_XPS8940_MIC] = {
+ .type = HDA_FIXUP_PINS,
+ .v.pins = (const struct hda_pintbl[]) {
+ { 0x19, 0x02a19130 }, /* headset mic, no separate jack detect */
+ {}
+ },
+ },
[ALC887_FIXUP_ASUS_BASS] = {
.type = HDA_FIXUP_PINS,
.v.pins = (const struct hda_pintbl[]) {
@@ -610,6 +618,8 @@ static const struct hda_quirk alc882_fixup_tbl[] = {
SND_PCI_QUIRK(0x1025, 0x0259, "Acer Aspire 5935", ALC889_FIXUP_DAC_ROUTE),
SND_PCI_QUIRK(0x1025, 0x026b, "Acer Aspire 8940G", ALC882_FIXUP_ACER_ASPIRE_8930G),
SND_PCI_QUIRK(0x1025, 0x0296, "Acer Aspire 7736z", ALC882_FIXUP_ACER_ASPIRE_7736),
+ SND_PCI_QUIRK(0x1028, 0x09c5, "Dell XPS 8940",
+ ALC898_FIXUP_DELL_XPS8940_MIC),
SND_PCI_QUIRK(0x1043, 0x13c2, "Asus A7M", ALC882_FIXUP_EAPD),
SND_PCI_QUIRK(0x1043, 0x1873, "ASUS W90V", ALC882_FIXUP_ASUS_W90V),
SND_PCI_QUIRK(0x1043, 0x1971, "Asus W2JC", ALC882_FIXUP_ASUS_W2JC),
base-commit: a4311e9447bbb219044db38897f95be112f46a8a
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ALSA: hda/realtek: Fix the Dell XPS 8940 headset microphone
2026-11-03 15:03 [PATCH] ALSA: hda/realtek: Fix the Dell XPS 8940 headset microphone Angel J
@ 2026-11-04 7:15 ` Takashi Iwai
2026-11-09 17:58 ` Angel J
0 siblings, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2026-11-04 7:15 UTC (permalink / raw)
To: Angel J; +Cc: linux-sound, tiwai, perex, linux-kernel
On Tue, 03 Nov 2026 16:03:36 +0100,
Angel J wrote:
>
> The Dell XPS 8940 (1028:09c5) has an ALC3861 codec (0x10ec0899).
> Its BIOS marks the headset microphone pin at NID 0x19 as disconnected
> (0x411111f0). With no external microphone input in the pin configuration,
> the generic parser creates a shared headphone/mic input on NID 0x1b
> instead. Headphone playback works, but the headset microphone is silent.
>
> Override NID 0x19 as a front microphone without independent presence
> detection. This gives the generic parser the dedicated microphone
> input and preserves NID 0x1b for simultaneous headphone playback.
>
> I encountered this issue on my XPS 8940. Similar symptoms were also
> reported by a user on Ubuntu:
> https://bugs.launchpad.net/bugs/1971232
>
> Cc: stable@vger.kernel.org
> Assisted-by: Codex (GPT-6.1 Sol)
> Signed-off-by: Angel J <iamanaws@httpd.dev>
The code change looks OK, but could you resubmit with a proper
Signed-off-by tag with your full name (also From tag, too)?
Signed-off-by is a legal requirement.
thanks,
Takashi
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ALSA: hda/realtek: Fix the Dell XPS 8940 headset microphone
2026-11-04 7:15 ` Takashi Iwai
@ 2026-11-09 17:58 ` Angel J
2026-11-10 6:02 ` Takashi Iwai
0 siblings, 1 reply; 7+ messages in thread
From: Angel J @ 2026-11-09 17:58 UTC (permalink / raw)
To: Takashi Iwai; +Cc: linux-sound, tiwai, perex, linux-kernel
[-- Attachment #1.1: Type: text/plain, Size: 688 bytes --]
On Tuesday, November 3rd, 2026 at 23:15, Takashi Iwai <tiwai@suse.de> wrote:
> The code change looks OK, but could you resubmit with a proper
> Signed-off-by tag with your full name (also From tag, too)?
> Signed-off-by is a legal requirement.
Hi Takashi,
Thanks for reviewing. My understanding is that the guidelines require
a known identity, without necessarily requiring disclosure of a full
name. I consistently use “Angel J” and this email address for kernel
contributions. My PCI fix, commit 8805840aad73, was merged with the same
author identity and Signed-off-by.
Is there an additional requirement for this submission that I’m missing?
Thanks,
Angel J
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 343 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ALSA: hda/realtek: Fix the Dell XPS 8940 headset microphone
2026-11-09 17:58 ` Angel J
@ 2026-11-10 6:02 ` Takashi Iwai
2026-11-10 13:36 ` Angel J
0 siblings, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2026-11-10 6:02 UTC (permalink / raw)
To: Angel J; +Cc: Takashi Iwai, linux-sound, tiwai, perex, linux-kernel
On Mon, 09 Nov 2026 18:58:47 +0100,
Angel J wrote:
>
> On Tuesday, November 3rd, 2026 at 23:15, Takashi Iwai <tiwai@suse.de> wrote:
> > The code change looks OK, but could you resubmit with a proper
> > Signed-off-by tag with your full name (also From tag, too)?
> > Signed-off-by is a legal requirement.
>
> Hi Takashi,
>
> Thanks for reviewing. My understanding is that the guidelines require
> a known identity, without necessarily requiring disclosure of a full
> name. I consistently use “Angel J” and this email address for kernel
> contributions. My PCI fix, commit 8805840aad73, was merged with the same
> author identity and Signed-off-by.
Is your identity really already widely known in the kernel community?
I see only one recent commit in the past, and I can't see it's really
"known".
thanks,
Takashi
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ALSA: hda/realtek: Fix the Dell XPS 8940 headset microphone
2026-11-10 6:02 ` Takashi Iwai
@ 2026-11-10 13:36 ` Angel J
2026-11-10 14:12 ` Takashi Iwai
0 siblings, 1 reply; 7+ messages in thread
From: Angel J @ 2026-11-10 13:36 UTC (permalink / raw)
To: Takashi Iwai; +Cc: linux-sound, tiwai, perex, linux-kernel
[-- Attachment #1.1: Type: text/plain, Size: 1183 bytes --]
On Monday, November 9th, 2026 at 22:02, Takashi Iwai <tiwai@suse.de> wrote:
> On Mon, 09 Nov 2026 18:58:47 +0100,
> Angel J wrote:
> > Thanks for reviewing. My understanding is that the guidelines require
> > a known identity, without necessarily requiring disclosure of a full
> > name. I consistently use “Angel J” and this email address for kernel
> > contributions. My PCI fix, commit 8805840aad73, was merged with the same
> > author identity and Signed-off-by.
>
> Is your identity really already widely known in the kernel community?
> I see only one recent commit in the past, and I can't see it's really
> "known".
Hi Takashi,
No, I'm a new contributor and not widely known, and a full name would
not change that. I don't read "known identity" as requiring it, though.
Documentation/process/submitting-patches.rst asks for "a known identity
(sorry, no anonymous contributions.)", which I understand as excluding
anonymous contributions rather than requiring a full name.
"Angel J" is the name I use consistently for my public work, and I can
be reached at this address.
Let me know if you read the guideline differently.
Thanks,
Angel J
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 343 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ALSA: hda/realtek: Fix the Dell XPS 8940 headset microphone
2026-11-10 13:36 ` Angel J
@ 2026-11-10 14:12 ` Takashi Iwai
2026-11-10 16:24 ` Angel J
0 siblings, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2026-11-10 14:12 UTC (permalink / raw)
To: Angel J; +Cc: Takashi Iwai, linux-sound, tiwai, perex, linux-kernel
On Tue, 10 Nov 2026 14:36:18 +0100,
Angel J wrote:
>
> On Monday, November 9th, 2026 at 22:02, Takashi Iwai <tiwai@suse.de> wrote:
> > On Mon, 09 Nov 2026 18:58:47 +0100,
> > Angel J wrote:
> > > Thanks for reviewing. My understanding is that the guidelines require
> > > a known identity, without necessarily requiring disclosure of a full
> > > name. I consistently use “Angel J” and this email address for kernel
> > > contributions. My PCI fix, commit 8805840aad73, was merged with the same
> > > author identity and Signed-off-by.
> >
> > Is your identity really already widely known in the kernel community?
> > I see only one recent commit in the past, and I can't see it's really
> > "known".
>
> Hi Takashi,
>
> No, I'm a new contributor and not widely known, and a full name would
> not change that.
As Signed-off-by tag is a legal requirement, giving a full name makes
the identity obviously clearer.
> I don't read "known identity" as requiring it, though.
> Documentation/process/submitting-patches.rst asks for "a known identity
> (sorry, no anonymous contributions.)", which I understand as excluding
> anonymous contributions rather than requiring a full name.
>
> "Angel J" is the name I use consistently for my public work, and I can
> be reached at this address.
>
> Let me know if you read the guideline differently.
>
> Thanks,
> Angel J
Honestly speaking, the problem is that I don't know you, so I can't
trust. If you have been involved with the kernel development long
enough, e.g. already appearing with "Angel J" in many threads or
commits, then it could be a good sign that it's a trustable known
identity. But it doesn't look like that for now...
thanks,
Takashi
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ALSA: hda/realtek: Fix the Dell XPS 8940 headset microphone
2026-11-10 14:12 ` Takashi Iwai
@ 2026-11-10 16:24 ` Angel J
0 siblings, 0 replies; 7+ messages in thread
From: Angel J @ 2026-11-10 16:24 UTC (permalink / raw)
To: Takashi Iwai; +Cc: linux-sound, tiwai, perex, linux-kernel
[-- Attachment #1.1: Type: text/plain, Size: 875 bytes --]
On Tuesday, November 10th, 2026 at ..., Takashi Iwai <tiwai@suse.de> wrote:
> Honestly speaking, the problem is that I don't know you, so I can't
> trust. If you have been involved with the kernel development long
> enough, e.g. already appearing with "Angel J" in many threads or
> commits, then it could be a good sign that it's a trustable known
> identity. But it doesn't look like that for now...
Hi Takashi,
That is fair, I am new to kernel development. Outside the kernel I am
an active open source contributor, mostly to NixOS, with over 100
merged changes in nixpkgs and contributions to other projects from
this account:
https://github.com/iamanaws
I am not comfortable publishing my full name in a public archive. If
the above is not enough, is there another way I could establish the
identity that would work for you?
Thanks,
Angel J
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 343 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2026-11-10 16:24 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 15:03 [PATCH] ALSA: hda/realtek: Fix the Dell XPS 8940 headset microphone Angel J
2026-11-04 7:15 ` Takashi Iwai
2026-11-09 17:58 ` Angel J
2026-11-10 6:02 ` Takashi Iwai
2026-11-10 13:36 ` Angel J
2026-11-10 14:12 ` Takashi Iwai
2026-11-10 16:24 ` Angel J
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®