Why does Ubuntu sometimes make sound inaccessible?

Asked by James Bowen on 2017-10-06

Sometimes, the following happens:

   (a) I am happily listening to a file through VLC or watching some video on YouTube (via Firefox)

   (b) Then I finish doing (a) above and use the 'suspend' option in Ubuntu to save power.

   (c) Next time I wake Ubuntu up, sound is unavailable. I check everything I can think of
        but nowhere is there any indication that either Ubuntu or the application I am
        using (VLC or Firefox) thinks the sound has been muted.

   (d) Even when I use the Sound tool in System Settings to check the line out, I get
         no sound.

   (e) The only way I can get sound back is by shutting down the system and starting it
         up again, which is very annoying because I lose data on what I was trying to do.

Can anybody tell me how to get sound back without having to shut down and start the
 system again? Note that, as I said in (c) above, the Ubuntu sound tool in System Settings
 thinks that nothing is muted and the same is true for VLC and/or Firefox.

Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu alsa-driver Edit question
Assignee:
No assignee Edit question
Solved by:
James Bowen
Solved:
2017-10-11
Last query:
2017-10-11
Last reply:
2017-10-06

Did you try restarting pulseaudio after the resume?

James Bowen (jabowen) said : #2

Thanks - that appeared to work

If that works then you can add it to the script that runs when you wake up / thaw. It will resolve the problem for you