Dell XPS 13 Ubuntu 20.04 select audio device no sound when no selection made (or pressing escape)

When inserting into the headphone jack a gnome graphical selection appears and by either not pressing anything or pressing escape there is no sound coming out of the headphones. In the Sound settings, it indicates that the headphones are selected, however, no sound is coming out. Everything works when I select option 1 (i.e. "Headphones") by clicking on it. Is anyone else getting this issue with Ubuntu 20.04.

I didn't have this problem with Ubuntu 18.04 I plugged in my microphone-less headphones hit escape and away I went listening to music.

Is anyone else getting this issue or does anyone know a good work-around for me just select option 1 (no mic headphones)?

EDIT: It seems its a bug that as of current has not been reported in launchpad. If anybody is experiencing the same issue it would be greater if you can add an alsa config report by running: wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh && chmod +x ./alsa-info.sh && ./alsa-info.sh and adding the resulting URL in the comment section in the following link: https://answers.launchpad.net/ubuntu/+question/690501

Hopefully it will be picked up as a bug report.


Solution 1:

alsactl restore causes sound to come out from both laptop speaker and headphones simultaneously.

To get sound from the wired headphones one has to open Sound Settings, go to Input and select Internal Microphone Built-in Audio every time headphones are connected to the 3.5mm jack. Observed the same on Dell XPS 13 and Dell 75-series gaming laptops.

Looks like a 20.04 bug. Reproducible in Cinnamon and KDE Plasma DEs. In 18.04 there was no such issue.

Solution 2:

I had the same issue. I fixed it by switching to Konsole and running:

alsactl restore