I'm finding I'm losing sound after suspending on Hardy Beta and have not
been able to restart it until finding this thread. I also need to kill
pulseaudio to unload the modules so I use the script below which
combines most things here. Thanks for all the help and suggestions - not
sure I yet understand what is causing my problem but a good
workaround...

alsa-base/hardy uptodate 1.0.16-0ubuntu4
kernel - 2.6.24-14-generic #1 SMP 
-------------------------
#!/bin/sh

#Kill all processes using sound and restart them

ps ax | grep mixer_applet2 | grep -v grep | cut -d" " -f 1 | xargs kill
-HUP

killall pulseaudio

rm /var/lib/alsa/asound.state

rmmod snd-hda-intel

modprobe snd-hda-intel

pulseaudio &

-- 
No way to reset ALSA state from GUI
https://bugs.launchpad.net/bugs/95940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to