Ubuntu – no sound after suspend/resume

12.04soundsuspend

I have no audio on lubuntu 12.04 after resuming from suspend. I tried

sudo alsa force-reload

to no avail. Sound works after reboot. Please help.

Best Answer

For some systems it is necessary to kill the pulseaudio process and prevent it from re-loading before restarting ALSA. If the following procedure works, it can be automated.

  1. Set up Pulseaudio so it does not respawn automatically:

    mkdir ~/.pulse
    echo "autospawn = no" >> ~/.pulse/client.conf
    
  2. Suspend your computer and wake him up

  3. Restart ALSA:

    sudo alsa force-reload
    
  4. Start pulseaudio:

    pulseaudio --start
    

To revert the changes, delete the file ~/.pulse/client.conf

Related Question