Comment 22 for bug 312505

Peter Funk (pf-artcom-gmbh) wrote :

This week my HP/Compaq nw9440 notebook didn't suspend to RAM, which used to work before.
I investigated and ended up here.

Since pulseaudio gave stuttering sound after upgrading from
intrepid to jaunty I recently added the line
deb jaunty main
to my /etc/apt/sources.lisr in the hope 0.9.15 would improve on the stuttering
problem, which it seemed to do at least partly.

The problem with suspend started on my notebook after upgrading pulseaudio
from version 0.9.15-1ubuntu2~ppa1 to version 0.9.15-3ubuntu1~ppa2

I applied the following patch manually which fixed my suspend problem:
--- usr_lib_pm-utils_sleep.d_01PulseAudio.orig 2009-06-17 08:40:18.713832000 +0200
+++ /usr/lib/pm-utils/sleep.d/01PulseAudio 2009-06-17 08:40:51.030826966 +0200
@@ -3,7 +3,7 @@

 get_pulse_users() {
- ps -C pulseaudio -o uid= | tr ' ' '#'
+ ps -C pulseaudio -o user=

 suspend_pulse() {