Laptop headphone jack produces no sound












22















The headphones are detected, because when they are plugged in, they appear in the sound settings.



The problem is that they just don't output any sound.



Laptop speakers output sound just fine.



I'm running Ubuntu 16.04 x64



This is the output from running alsa-info.sh:



http://pastebin.com/1aDcq86B



What steps can I take to try and debug this issue myself?



Edit 1



Thanks to @Rexford and this answer, I've worked out how to get detailed debugging output from pulseaudio, by temporarily modifying /etc/pulse/client.conf using the --log-level flag.



I'll report back after I play around with this new information and try to find the problem.



Edit 2



Woke up this morning planning on getting to the bottom of this issue, when I discovered that the sound from the headphones started working.



Last night I had tried many solutions (from various forums and webpages), but was not restarting my computer (was just doing pulseaudio -k && sudo alsa force-reload).



So I guess that the reboot was necessary to make one of the solutions kick in and actually work.



One of the biggest things I tried was uninstalling pulseaudio, installing gnome-audio as a replacement and going back to pulseaudio. So I recommend others try that if they are struggling.
Just note that if you do that, you should follow the instructions here to get your volume/sound icon back (if it's missing after reboot - which it was for me).



I can't get to the root of this problem now, because it no longer exists for me.



Edit 3



The problem came back...



Debug logs from pulseaudio don't reveal anything useful (e.g. error messages).



According to this diagram, alsa is the next stop to check for the cause.










share|improve this question

























  • First, is your headphone working? Try with another device to confirm! Second, is your laptop jack working? Try another headphone to confirm! If headphone and laptop jack is working, then back to software. Thinking of what could go wrong, but check the above and let's see.

    – Rexford
    May 6 '16 at 12:48











  • Headphones work fine in my phone and have also tried another working pair of headphones in the laptop.

    – pleasedesktop
    May 6 '16 at 13:00






  • 1





    Okay, thanks. Please, have you seen this? askubuntu.com/questions/219342/…

    – Rexford
    May 6 '16 at 13:09











  • I had not. This is what I was looking for (ability to get more detailed debugging information about what is going on with regards to sound), Thank you very much, I'll update my answer.

    – pleasedesktop
    May 6 '16 at 14:41











  • I have the same issue with 17.10.

    – Mateva
    Mar 12 '18 at 10:13
















22















The headphones are detected, because when they are plugged in, they appear in the sound settings.



The problem is that they just don't output any sound.



Laptop speakers output sound just fine.



I'm running Ubuntu 16.04 x64



This is the output from running alsa-info.sh:



http://pastebin.com/1aDcq86B



What steps can I take to try and debug this issue myself?



Edit 1



Thanks to @Rexford and this answer, I've worked out how to get detailed debugging output from pulseaudio, by temporarily modifying /etc/pulse/client.conf using the --log-level flag.



I'll report back after I play around with this new information and try to find the problem.



Edit 2



Woke up this morning planning on getting to the bottom of this issue, when I discovered that the sound from the headphones started working.



Last night I had tried many solutions (from various forums and webpages), but was not restarting my computer (was just doing pulseaudio -k && sudo alsa force-reload).



So I guess that the reboot was necessary to make one of the solutions kick in and actually work.



One of the biggest things I tried was uninstalling pulseaudio, installing gnome-audio as a replacement and going back to pulseaudio. So I recommend others try that if they are struggling.
Just note that if you do that, you should follow the instructions here to get your volume/sound icon back (if it's missing after reboot - which it was for me).



I can't get to the root of this problem now, because it no longer exists for me.



Edit 3



The problem came back...



Debug logs from pulseaudio don't reveal anything useful (e.g. error messages).



According to this diagram, alsa is the next stop to check for the cause.










share|improve this question

























  • First, is your headphone working? Try with another device to confirm! Second, is your laptop jack working? Try another headphone to confirm! If headphone and laptop jack is working, then back to software. Thinking of what could go wrong, but check the above and let's see.

    – Rexford
    May 6 '16 at 12:48











  • Headphones work fine in my phone and have also tried another working pair of headphones in the laptop.

    – pleasedesktop
    May 6 '16 at 13:00






  • 1





    Okay, thanks. Please, have you seen this? askubuntu.com/questions/219342/…

    – Rexford
    May 6 '16 at 13:09











  • I had not. This is what I was looking for (ability to get more detailed debugging information about what is going on with regards to sound), Thank you very much, I'll update my answer.

    – pleasedesktop
    May 6 '16 at 14:41











  • I have the same issue with 17.10.

    – Mateva
    Mar 12 '18 at 10:13














22












22








22


9






The headphones are detected, because when they are plugged in, they appear in the sound settings.



The problem is that they just don't output any sound.



Laptop speakers output sound just fine.



I'm running Ubuntu 16.04 x64



This is the output from running alsa-info.sh:



http://pastebin.com/1aDcq86B



What steps can I take to try and debug this issue myself?



Edit 1



Thanks to @Rexford and this answer, I've worked out how to get detailed debugging output from pulseaudio, by temporarily modifying /etc/pulse/client.conf using the --log-level flag.



I'll report back after I play around with this new information and try to find the problem.



Edit 2



Woke up this morning planning on getting to the bottom of this issue, when I discovered that the sound from the headphones started working.



Last night I had tried many solutions (from various forums and webpages), but was not restarting my computer (was just doing pulseaudio -k && sudo alsa force-reload).



So I guess that the reboot was necessary to make one of the solutions kick in and actually work.



One of the biggest things I tried was uninstalling pulseaudio, installing gnome-audio as a replacement and going back to pulseaudio. So I recommend others try that if they are struggling.
Just note that if you do that, you should follow the instructions here to get your volume/sound icon back (if it's missing after reboot - which it was for me).



I can't get to the root of this problem now, because it no longer exists for me.



Edit 3



The problem came back...



Debug logs from pulseaudio don't reveal anything useful (e.g. error messages).



According to this diagram, alsa is the next stop to check for the cause.










share|improve this question
















The headphones are detected, because when they are plugged in, they appear in the sound settings.



The problem is that they just don't output any sound.



Laptop speakers output sound just fine.



I'm running Ubuntu 16.04 x64



This is the output from running alsa-info.sh:



http://pastebin.com/1aDcq86B



What steps can I take to try and debug this issue myself?



Edit 1



Thanks to @Rexford and this answer, I've worked out how to get detailed debugging output from pulseaudio, by temporarily modifying /etc/pulse/client.conf using the --log-level flag.



I'll report back after I play around with this new information and try to find the problem.



Edit 2



Woke up this morning planning on getting to the bottom of this issue, when I discovered that the sound from the headphones started working.



Last night I had tried many solutions (from various forums and webpages), but was not restarting my computer (was just doing pulseaudio -k && sudo alsa force-reload).



So I guess that the reboot was necessary to make one of the solutions kick in and actually work.



One of the biggest things I tried was uninstalling pulseaudio, installing gnome-audio as a replacement and going back to pulseaudio. So I recommend others try that if they are struggling.
Just note that if you do that, you should follow the instructions here to get your volume/sound icon back (if it's missing after reboot - which it was for me).



I can't get to the root of this problem now, because it no longer exists for me.



Edit 3



The problem came back...



Debug logs from pulseaudio don't reveal anything useful (e.g. error messages).



According to this diagram, alsa is the next stop to check for the cause.







sound 16.04 laptop headphones






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 13 '17 at 12:23









Community

1




1










asked May 6 '16 at 11:47









pleasedesktoppleasedesktop

5611512




5611512













  • First, is your headphone working? Try with another device to confirm! Second, is your laptop jack working? Try another headphone to confirm! If headphone and laptop jack is working, then back to software. Thinking of what could go wrong, but check the above and let's see.

    – Rexford
    May 6 '16 at 12:48











  • Headphones work fine in my phone and have also tried another working pair of headphones in the laptop.

    – pleasedesktop
    May 6 '16 at 13:00






  • 1





    Okay, thanks. Please, have you seen this? askubuntu.com/questions/219342/…

    – Rexford
    May 6 '16 at 13:09











  • I had not. This is what I was looking for (ability to get more detailed debugging information about what is going on with regards to sound), Thank you very much, I'll update my answer.

    – pleasedesktop
    May 6 '16 at 14:41











  • I have the same issue with 17.10.

    – Mateva
    Mar 12 '18 at 10:13



















  • First, is your headphone working? Try with another device to confirm! Second, is your laptop jack working? Try another headphone to confirm! If headphone and laptop jack is working, then back to software. Thinking of what could go wrong, but check the above and let's see.

    – Rexford
    May 6 '16 at 12:48











  • Headphones work fine in my phone and have also tried another working pair of headphones in the laptop.

    – pleasedesktop
    May 6 '16 at 13:00






  • 1





    Okay, thanks. Please, have you seen this? askubuntu.com/questions/219342/…

    – Rexford
    May 6 '16 at 13:09











  • I had not. This is what I was looking for (ability to get more detailed debugging information about what is going on with regards to sound), Thank you very much, I'll update my answer.

    – pleasedesktop
    May 6 '16 at 14:41











  • I have the same issue with 17.10.

    – Mateva
    Mar 12 '18 at 10:13

















First, is your headphone working? Try with another device to confirm! Second, is your laptop jack working? Try another headphone to confirm! If headphone and laptop jack is working, then back to software. Thinking of what could go wrong, but check the above and let's see.

– Rexford
May 6 '16 at 12:48





First, is your headphone working? Try with another device to confirm! Second, is your laptop jack working? Try another headphone to confirm! If headphone and laptop jack is working, then back to software. Thinking of what could go wrong, but check the above and let's see.

– Rexford
May 6 '16 at 12:48













Headphones work fine in my phone and have also tried another working pair of headphones in the laptop.

– pleasedesktop
May 6 '16 at 13:00





Headphones work fine in my phone and have also tried another working pair of headphones in the laptop.

– pleasedesktop
May 6 '16 at 13:00




1




1





Okay, thanks. Please, have you seen this? askubuntu.com/questions/219342/…

– Rexford
May 6 '16 at 13:09





Okay, thanks. Please, have you seen this? askubuntu.com/questions/219342/…

– Rexford
May 6 '16 at 13:09













I had not. This is what I was looking for (ability to get more detailed debugging information about what is going on with regards to sound), Thank you very much, I'll update my answer.

– pleasedesktop
May 6 '16 at 14:41





I had not. This is what I was looking for (ability to get more detailed debugging information about what is going on with regards to sound), Thank you very much, I'll update my answer.

– pleasedesktop
May 6 '16 at 14:41













I have the same issue with 17.10.

– Mateva
Mar 12 '18 at 10:13





I have the same issue with 17.10.

– Mateva
Mar 12 '18 at 10:13










1 Answer
1






active

oldest

votes


















34














This answer appears to be working for me, but I have not investigated why yet.



To repeat the solution, just run this command in a shell (no root needed):



alsactl restore





share|improve this answer





















  • 2





    This works for me too and I don't understand why! Scary!

    – Rudolf Olah
    Jun 1 '17 at 2:53






  • 2





    Worked for me as well. I lost the sound on my headphone after I upgraded my linux kernel from 4.4 to 4.12, on my dell xps 13 (9360) running on ubuntu 16.04.

    – edelans
    Aug 8 '17 at 13:31






  • 1





    Didn't work in my case...

    – Dr_Zaszuś
    Oct 12 '17 at 15:11











  • @Szczypawka yeah sometimes it does for me and sometimes it doesn't. Sometimes rebooting after running that command helps.

    – pleasedesktop
    Oct 15 '17 at 22:55











  • Did not work for me.

    – a coder
    Feb 26 '18 at 19:31










protected by Community Feb 5 '17 at 4:15



Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



Would you like to answer one of these unanswered questions instead?














1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









34














This answer appears to be working for me, but I have not investigated why yet.



To repeat the solution, just run this command in a shell (no root needed):



alsactl restore





share|improve this answer





















  • 2





    This works for me too and I don't understand why! Scary!

    – Rudolf Olah
    Jun 1 '17 at 2:53






  • 2





    Worked for me as well. I lost the sound on my headphone after I upgraded my linux kernel from 4.4 to 4.12, on my dell xps 13 (9360) running on ubuntu 16.04.

    – edelans
    Aug 8 '17 at 13:31






  • 1





    Didn't work in my case...

    – Dr_Zaszuś
    Oct 12 '17 at 15:11











  • @Szczypawka yeah sometimes it does for me and sometimes it doesn't. Sometimes rebooting after running that command helps.

    – pleasedesktop
    Oct 15 '17 at 22:55











  • Did not work for me.

    – a coder
    Feb 26 '18 at 19:31
















34














This answer appears to be working for me, but I have not investigated why yet.



To repeat the solution, just run this command in a shell (no root needed):



alsactl restore





share|improve this answer





















  • 2





    This works for me too and I don't understand why! Scary!

    – Rudolf Olah
    Jun 1 '17 at 2:53






  • 2





    Worked for me as well. I lost the sound on my headphone after I upgraded my linux kernel from 4.4 to 4.12, on my dell xps 13 (9360) running on ubuntu 16.04.

    – edelans
    Aug 8 '17 at 13:31






  • 1





    Didn't work in my case...

    – Dr_Zaszuś
    Oct 12 '17 at 15:11











  • @Szczypawka yeah sometimes it does for me and sometimes it doesn't. Sometimes rebooting after running that command helps.

    – pleasedesktop
    Oct 15 '17 at 22:55











  • Did not work for me.

    – a coder
    Feb 26 '18 at 19:31














34












34








34







This answer appears to be working for me, but I have not investigated why yet.



To repeat the solution, just run this command in a shell (no root needed):



alsactl restore





share|improve this answer















This answer appears to be working for me, but I have not investigated why yet.



To repeat the solution, just run this command in a shell (no root needed):



alsactl restore






share|improve this answer














share|improve this answer



share|improve this answer








edited Apr 13 '17 at 12:23









Community

1




1










answered Feb 17 '17 at 22:40









pleasedesktoppleasedesktop

5611512




5611512








  • 2





    This works for me too and I don't understand why! Scary!

    – Rudolf Olah
    Jun 1 '17 at 2:53






  • 2





    Worked for me as well. I lost the sound on my headphone after I upgraded my linux kernel from 4.4 to 4.12, on my dell xps 13 (9360) running on ubuntu 16.04.

    – edelans
    Aug 8 '17 at 13:31






  • 1





    Didn't work in my case...

    – Dr_Zaszuś
    Oct 12 '17 at 15:11











  • @Szczypawka yeah sometimes it does for me and sometimes it doesn't. Sometimes rebooting after running that command helps.

    – pleasedesktop
    Oct 15 '17 at 22:55











  • Did not work for me.

    – a coder
    Feb 26 '18 at 19:31














  • 2





    This works for me too and I don't understand why! Scary!

    – Rudolf Olah
    Jun 1 '17 at 2:53






  • 2





    Worked for me as well. I lost the sound on my headphone after I upgraded my linux kernel from 4.4 to 4.12, on my dell xps 13 (9360) running on ubuntu 16.04.

    – edelans
    Aug 8 '17 at 13:31






  • 1





    Didn't work in my case...

    – Dr_Zaszuś
    Oct 12 '17 at 15:11











  • @Szczypawka yeah sometimes it does for me and sometimes it doesn't. Sometimes rebooting after running that command helps.

    – pleasedesktop
    Oct 15 '17 at 22:55











  • Did not work for me.

    – a coder
    Feb 26 '18 at 19:31








2




2





This works for me too and I don't understand why! Scary!

– Rudolf Olah
Jun 1 '17 at 2:53





This works for me too and I don't understand why! Scary!

– Rudolf Olah
Jun 1 '17 at 2:53




2




2





Worked for me as well. I lost the sound on my headphone after I upgraded my linux kernel from 4.4 to 4.12, on my dell xps 13 (9360) running on ubuntu 16.04.

– edelans
Aug 8 '17 at 13:31





Worked for me as well. I lost the sound on my headphone after I upgraded my linux kernel from 4.4 to 4.12, on my dell xps 13 (9360) running on ubuntu 16.04.

– edelans
Aug 8 '17 at 13:31




1




1





Didn't work in my case...

– Dr_Zaszuś
Oct 12 '17 at 15:11





Didn't work in my case...

– Dr_Zaszuś
Oct 12 '17 at 15:11













@Szczypawka yeah sometimes it does for me and sometimes it doesn't. Sometimes rebooting after running that command helps.

– pleasedesktop
Oct 15 '17 at 22:55





@Szczypawka yeah sometimes it does for me and sometimes it doesn't. Sometimes rebooting after running that command helps.

– pleasedesktop
Oct 15 '17 at 22:55













Did not work for me.

– a coder
Feb 26 '18 at 19:31





Did not work for me.

– a coder
Feb 26 '18 at 19:31





protected by Community Feb 5 '17 at 4:15



Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



Would you like to answer one of these unanswered questions instead?



Popular posts from this blog

How to make a Squid Proxy server?

Is this a new Fibonacci Identity?

19世紀