No microphone input on newly installed Manjaro 23 via audio jack

Hello,

I started not having no input from microphone on a wired headset via the audiojack(combined input+output on a single connector). So I reinstalled my Manjaro thinking I might have screwed up something in pulseaudio(I tried installing pipewire and such). Sadly, even on a clean install the audio input did not work(microphone).
The laptop’s internal mic does work(digital microphone). I am on an Asus Vivobook S.
inxi -A gives me this output:

Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio
    driver: sof-audio-pci-intel-tgl
  API: ALSA v: k6.5.1-1-MANJARO status: kernel-api
  Server-1: PulseAudio v: 16.1 status: active

I am assuming it’s an ALSA config issue but I do not know how to debug. BTW, the hardware is OK, I checked and in Windows the microphone works via the the audio jack.
Can you help me debug this?
here is my alsa info:
http://alsa-project.org/db/?f=da9e2f28837c70f68324ead2603cd9d9dd3d2a84

Hi again.
I’ve been struggling with this for the past few days.
I booted other distros and they all have this issue. I am convinced it is something with the ALSA pincfg.
I am unable however to patch snd-hda-intel on Manjaro. The hdajackretask patch is ignored at boot.
Can you help me with this?

Maybe this?
https://wiki.archlinux.org/title/Advanced_Linux_Sound_Architecture#Correctly_detect_microphone_plugged_in_a_4-pin_3.5mm_(TRRS)_jack

As to what you should use … I couldnt say, maybe headset-mic ?

Ex:

/etc/modprobe.d/alsa-base.conf

options sof-audio-pci-intel-tgl index=0 model=headset-mic

:person_shrugging:

Hi,
Thanks. I’ll try. I set this option to snd-hda-intel with no results.
Edit: sadly, that did not help.

The hdajackretask patch is ignored at boot

alsa-info would show if a boot override had been installed using hdajckretask

!!Modprobe options (Sound related)
!!--------------------------------

snd_hda_intel: patch=hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw

I suggest you run hdajackretask with root privileges

sudo hdajackretask

so it can install the boot override to system folder /etc/modprobe.d/

$ cat /etc/modprobe.d/hda-jack-retask.conf
# This file was added by the program 'hda-jack-retask'.
# If you want to revert the changes made by this program, you can simply erase this file and reboot your computer.
options snd-hda-intel patch=hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw

I’m experiencing the same issue, any solution for this case?