You can assign model "ALC2XX_FIXUP_HEADSET_MIC" for the quirk. + SND_PCI_QUIRK(0x1025, 0x159c, "Acer Nitro 5 AN515-58", ALC2XX_FIXUP_HEADSET_MIC), > -----Original Message----- > From: Takashi Iwai <tiwai@xxxxxxx> > Sent: Sunday, December 1, 2024 4:27 PM > To: Kailang <kailang@xxxxxxxxxxx> > Cc: Hridesh MG <hridesh699@xxxxxxxxx>; Takashi Iwai <tiwai@xxxxxxx>; > Jaroslav Kysela <perex@xxxxxxxx>; Takashi Iwai <tiwai@xxxxxxxx>; Jonathan > Corbet <corbet@xxxxxxx>; Stefan Binding <sbinding@xxxxxxxxxxxxxxxxxxxxx>; > Simon Trimmer <simont@xxxxxxxxxxxxxxxxxxxxx>; Joshua Grisham > <josh@xxxxxxxxxxxxxxxxx>; Richard Fitzgerald <rf@xxxxxxxxxxxxxxxxxxxxx>; > linux-sound@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; > linux-doc@xxxxxxxxxxxxxxx; Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx> > Subject: Re: [PATCH 1/2] ALSA: hda/realtek: Fix headset mic on Acer Nitro 5 > > > External mail. > > > > On Sat, 30 Nov 2024 19:58:26 +0100, > Hridesh MG wrote: > > > > > know. I'll make an attempt to understand the cases and process > > > coefficients before sending v2. > > I did a deep dive into the code and frankly I'm a bit stumped right > > now since it appears that the code for the headset type detection was > > written by Kailang Yang from Realtek and i could not understand it > > since I'm not sure where to look for documentation on realtek codec > > processing coefficients. > > > > To rephrase what I had meant earlier, type detection for the ALC287 is > > currently not supported. I made an educated guess and added the codec > > to an existing block of code, which detected it as CTIA. However, I > > have no way of verifying if this guess is correct. Do you have any > > advice on what my next steps should be? > > Kailang, could you check that? > > > thanks, > > Takashi