Headphones mic doesn't work on KDE Plasma

Hello, I’ve recently installed Manjaro KDE Plasma. When I plug in wired headphones (3.5mm jack) with a mic, I hear the system sounds, but the applications do not capture the voice from the microphone.

My kernel:
mhwd-kernel -li
Currently running: 5.15.76-1-MANJARO (linux515)
My sound hardware:

(I have uninstalled Pulse Audio)

Audio:
  Device-1: Intel vendor: Lenovo driver: snd_hda_intel v: kernel
    bus-ID: 00:1f.3 chip-ID: 8086:f0c8 class-ID: 0403
  Device-2: NVIDIA TU116 High Definition Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 16
    link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.1 chip-ID: 10de:1aeb
    class-ID: 0403
  Sound API: ALSA v: k5.15.76-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: no
  Sound Server-3: PipeWire v: 0.3.59 running: yes

When I run alsamixer --device=sysdefault --view=capture it shows that my chip is Realtek ALC897 and presents me with the option to turn on the Headphone Mic Jak Mode. It turns off the headphones (I can no longer hear system sounds) but turns on the microphone… but when I try to record anything, the recording is filled with a wave of static noise on top of my voice.

This post by mmohajer9 proposed to add the line

options snd_hda_intel index=0 model=your_model_setting

into my /etc/modprobe.d/alsa-base.conf (I didn’t have that file so I created one), but I failed to find ALC897 on the list of models, so this method didn’t have any effect, although it shed some light on the source of the problem: soundcard only recognizes headphones’ output, but not input.

I’ve spent hours reading forums to no effect so far. I would be thankful if You lead me to the solution. Thank you.