# Ubuntu – Ubuntu 20.04 headphones detected but no sound

So, after my computer started to be a bit slow this week, I decided to do a reboot. After, the sound output of my headset was not working at all and it seems to me that I have not changed anything on my computer before this infamous reboot. I've had many problem in the past with my output sound on my headset with things like headset not detected, and for this, I always used the command :

pulseaudio -k && sudo alsa force-reload

And, after a couple of tries, my headset would work again. But this time, it is a bit different, the command does not work and the headset IS detected (The headset works perfectly fine on windows). The speakers of my computers works fine and the sound has no problems to go through my HDMI port.

In Settings – Sound, it even says that sound is going to my headset (the little sound bar is moving just normally with my music), same thing with pavucontrol. Also, alsamixer seems quite normal to me (it seems to be the right sound card since I only got one), nothing out of ordinary. Last thing, I got a microphone integrated in my headset from which I can be heard without problems.

Some information about my laptop ASUS GL703V:
-I use dual-boot with Windows 10 and ubuntu 20.04.
-The output of $lspci | grep Audio is : 00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31) -My sound card according to Alsamixer : HDA Intel PCH -My chip according to Alsamixer : Realtek ALC295 What have I tried to correct the problem? First, I got to say I don't really understand most of the commands I've tried. pulseaudio -k && sudo alsa force-reload sudo alsactl restore sudo apt-get remove --purge alsa-base sudo apt-get update;sudo apt-get dist-upgrade; sudo apt-get install pavucontrol linux-sound-base alsa-base alsa-utils lightdm ubuntu-desktop linux-image-\uname -r\ libasound2; sudo apt-get -y --reinstall install linux-sound-base alsa-base alsa-utils lightdm ubuntu-desktop linux-image-\uname -r\ libasound2; killall pulseaudio; rm -r ~/.pulse*; ubuntu-support-status || ubuntu-security-status; sudo usermod -aG \cat /etc/group | grep -e '^pulse:' -e '^audio:' -e '^pulse-access:' -e '^pulse-rt:' -e '^video:' | awk -F: '{print$1}' | tr '\n' ',' | sed 's:,\$::g'\ \whoami\

I also tried to change the file analog-output-headphones.conf in /usr/share/pulseaudio/alsa-mixer/paths/. I changed

[Element Speaker]
switch = off
volume = off

to

[Element Speaker]
switch = on
volume = ignore

Thanks