I am facing exactly the same issue. I have tried using 2-3 headphones (having inbuilt microphone as wel), but the OS is not recognizing any, as if the headphone jack is broken/faulty. These headpones are working well on another PC (Dell) though.
ravi@razer:~$ sudo hdajacksensetest -a //without plugging the headphone
Pin 0x12 (Internal Mic, Mobile-In): present = No
Pin 0x13 (Not connected): present = No
Pin 0x14 (Internal Speaker): present = No
Pin 0x18 (Not connected): present = No
Pin 0x19 (Black Mic, Right side): present = No
Pin 0x1a (Not connected): present = No
Pin 0x1b (Not connected): present = Yes
Pin 0x1d (Not connected): present = No
Pin 0x1e (Not connected): present = No
Pin 0x21 (Black Headphone, Right side): present = No
ravi@razer:~$ sudo hdajacksensetest -a //with plugging the headhone
Pin 0x12 (Internal Mic, Mobile-In): present = No
Pin 0x13 (Not connected): present = No
Pin 0x14 (Internal Speaker): present = No
Pin 0x18 (Not connected): present = No
Pin 0x19 (Black Mic, Right side): present = No
Pin 0x1a (Not connected): present = No
Pin 0x1b (Not connected): present = Yes
Pin 0x1d (Not connected): present = No
Pin 0x1e (Not connected): present = No
Pin 0x21 (Black Headphone, Right side): present = No
Under the "Output Devices" tab in the pavucontrol, it shows "Headphones (unplugged)". Strangely, selecting "Headphones (unplugged)" from the dropdown menu makes sound in my headphone. In summary, headphones are not detected automatically. I can hear using headphones after selecting them inside pavucontrol, but even inside pavucontrol, headphones are shown as "Headphones (unplugged)"
I am facing exactly the same issue. I have tried using 2-3 headphones (having inbuilt microphone as wel), but the OS is not recognizing any, as if the headphone jack is broken/faulty. These headpones are working well on another PC (Dell) though.
ravi@razer:~$ sudo hdajacksensetest -a //without plugging the headphone
Pin 0x12 (Internal Mic, Mobile-In): present = No
Pin 0x13 (Not connected): present = No
Pin 0x14 (Internal Speaker): present = No
Pin 0x18 (Not connected): present = No
Pin 0x19 (Black Mic, Right side): present = No
Pin 0x1a (Not connected): present = No
Pin 0x1b (Not connected): present = Yes
Pin 0x1d (Not connected): present = No
Pin 0x1e (Not connected): present = No
Pin 0x21 (Black Headphone, Right side): present = No
ravi@razer:~$ sudo hdajacksensetest -a //with plugging the headhone
Pin 0x12 (Internal Mic, Mobile-In): present = No
Pin 0x13 (Not connected): present = No
Pin 0x14 (Internal Speaker): present = No
Pin 0x18 (Not connected): present = No
Pin 0x19 (Black Mic, Right side): present = No
Pin 0x1a (Not connected): present = No
Pin 0x1b (Not connected): present = Yes
Pin 0x1d (Not connected): present = No
Pin 0x1e (Not connected): present = No
Pin 0x21 (Black Headphone, Right side): present = No
Under the "Output Devices" tab in the pavucontrol, it shows "Headphones (unplugged)". Strangely, selecting "Headphones (unplugged)" from the dropdown menu makes sound in my headphone. In summary, headphones are not detected automatically. I can hear using headphones after selecting them inside pavucontrol, but even inside pavucontrol, headphones are shown as "Headphones (unplugged)"
I reported at AskUbuntu (https:/ /askubuntu. com/q/1454505) but no response.