I have the same issue on Ubuntu Intrepid (8.10) with kernel 2.6.27-9:
My soundcard is an Audigy SE and I need to do the following to make it work where snd_ca0106 is the module for my sound card.
Make a script for suspend and resume:
sudo gedit /etc/pm/sleep.d/99sound
Paste in the script to stop and restore the sound module (down to the line with exit)
#!/bin/bash
case "$1" in resume|thaw) modprobe snd_ca0106 ;; suspend|hibernate) modprobe -r snd_ca0106 ;; esac exit $?
Make it executable
sudo chmod +x /etc/pm/sleep.d/99sound
I have the same issue on Ubuntu Intrepid (8.10) with kernel 2.6.27-9:
My soundcard is an Audigy SE and I need to do the following to make it work where snd_ca0106 is the module for my sound card.
Make a script for suspend and resume:
sudo gedit /etc/pm/ sleep.d/ 99sound
Paste in the script to stop and restore the sound module (down to the line with exit)
#!/bin/bash
case "$1" in hibernate)
resume|thaw)
modprobe snd_ca0106
;;
suspend|
modprobe -r snd_ca0106
;;
esac
exit $?
Make it executable
sudo chmod +x /etc/pm/ sleep.d/ 99sound