Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
    
Does sudo alsa force-reload output anything? It might help to get some more information about your system, like your sound card: lspci | grep -i audio – zerwas May 5 '13 at 19:05
    
It's really sad that it's almost 3 years later and this is still an issue (i3-5010u brix on Ubuntu 15.04). I usually shut down, and I'm on an SSD so a full reboot is about 10-15 seconds, but having to re-open what I happened to have open isn't fun. This is on my HTPC, if it were my desktop it would really piss me off. – Tracker1 Aug 12 '15 at 4:29

Try pressing CTRL+ALT+F1 to change tty screens then press CTRL+ALT+F7 to go back to desktop.

This sometimes brings back sound but failing that, change screen resolution and change it back for a different fix. This works for HDMI audio as well.

share|improve this answer
    
Thanks. This did not help. – akonsu Sep 19 '12 at 12:44
    
Thanks, worked for me. – Ben Mar 24 '15 at 16:38

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

share|improve this answer

After consulting some posts, what I've done to get mine to work again:

  1. Set pulseaudio not to respawn by creating config file at home directory:

    mkdir ~/.pulse
    echo "autospawn = no" >> ~/.pulse/client.conf
    
  2. Create a file (50alsa) to automate after system suspend.

    sudo gedit /etc/pm/sleep.d/50alsa
    
  3. Add the following to the file. Notice 'pulseaudio --kill' added.

    case "$1" in
            hibernate|suspend)
                    # Stopping is not required
                    ;;
            thaw|resume)
                    pulseaudio --kill                
                    /sbin/alsa force-reload
                    pulseaudio --start
                    ;; 
            *) exit $NA
                    ;;
    esac 
    
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.