Microphone from headset unrecognized on Fedora

I have my headset with a microphone plugged in the front panel with a 3.5mm jack cable. The sound works well but in pulseaudio it’s written my microphone is “Unpllugged” and in Gnome Settings it’s written there is “No input device”.

I have these cards in /proc/asound/cards

 0 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfc080000 irq 95
 1 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xfc588000 irq 96
 2 [Generic_1      ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xfc580000 irq 97

And with inxi -SMCIA :

Audio:
  Device-1: NVIDIA driver: snd_hda_intel
  Device-2: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
  Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel
  API: ALSA v: k6.9.5-200.fc40.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.0.7 status: active

In /etc/asound.conf I changed the default card to be the second one because previously it was the Nvidia one that was chosen