Comment 5 for bug 476505

Revision history for this message
LarryGrover (lgrover) wrote :

If my previous comment about the attached file sounded snotty, sorry, I didn't intend it that way. I was just trying to point to relevant information in the original bug report.

After reading some more, and comparing the 01PulseAudio scripts in 9.04 and 9.10, it seems that the pacmd command used in the newer script does not work when pulseaudio is run in system mode. Perhaps the get_pulse_users function in the script should just ignore the pulse user? Something like this:

get_pulse_users() {
    ps -C pulseaudio -o uid= | tr -d ' ' | sed s/119//
}

This change seems to work on my system: I can suspend and resume with pulseaudio running in system mode, and sound works after resuming.