Earphone mic doesn't work on Ubuntu 21.10
This issue can be resolved by following these steps:
- Find out your machine's codecs with
cat /proc/asound/card*/codec* | grep Codec
- In my case I saw
Codec: Realtek ALC236 Codec: Intel Kabylake HDMI
. - Go to www.kernel.org and lookup your codec. In my case it was
Realtek ALC23x
- I chose
dell-headset-multi
as the other codec options did not work for me. - Add the line
options snd-hda-intel model=dell-headset-multi
in thealsa-base.conf
file by opening the file with the commandsudo gedit /etc/modprobe.d/alsa-base.conf
and edit it. - Save and close the file. Reboot your system for the changes to take effect.