I have an older Thinkpad (X22) that uses the intel_8x0 module for sound. After resuming from suspend sound doesn't work. With the help of the pm-utils OpenSuse page (
http://en.opensuse.org/Pm-utils) and some fellow Suse Forum members in
this thread I've fixed while running the KDE4 variant of OpenSuse 11 beta 3. This should work for 10.3 and other version of OpenSuse that use pm-utils for suspend and resume.
We need to run a custom script to close some apps that lock up the sound card and prevent it from unloading. Then we need to reload the sound module and then the kmix volume settings.
substitute kwrite with another text editor if you choose.
Code:
kdesu kwrite /etc/pm/sleep.d/99sound
insert the follow script into the open file:
Code:
#!/bin/bash
case "$1" in
** resume|thaw)
******modprobe -l snd_intel8x0
******/etc/init.d/alsasound start
******kmixctrl -r
****;;
** suspend|hibernate)
******kmixctrl -s
******killall kmix
******/etc/init.d/alsasound unload
******modprobe -r snd_intel8x0
****;;
esac
exit $?
Then save and close. Next make it executable:
Code:
sudo chmod +x /etc/pm/sleep.d/99sound
you should be all set! Please post other models that you get this to work for.