I have an Acer E5-574-307M notebook and I have Ubuntu 20.04 installed but it cannot recognize my headset microphone (Xiaomi Piston 3).
I searched the internet and found these possible solutions:
Edit the file
/etc/modprobe.d/alsa-base.confand add this command to the last line:
options snd-hda-intel model=dell-headset-multi. However, it didn't work!
rm -rf ~/.config/pulse/and then restart the pc. However, it didn't work!
cat /proc/asound/card0/codec# | grep Codecto find out what the audio codec is and enter in this website to find out what the configuration is (alc255-acer, in my case). After knowing the configuration, enter the command:
options snd-hda-intel model=alc255-acerin the file:
/etc/modprobe.d/alsa-base.confand restart the PC. However, it didn't work!
P.S: This notebook only has one P2 input for the phone and microphone.