Comment 115 for bug 202089

Revision history for this message
zorblek (zorblek) wrote : Re: [Bug 202089] Re: Pulseaudio is blocking normal sound after resume

I'm pretty sure I was still experiencing this bug with the latest update,
but I can't check at the moment because a separate issue is preventing Gnome
from loading.

On Sun, Feb 8, 2009 at 8:24 AM, Nikolaj Sheller
<email address hidden>wrote:

> I'm seeing this on Intrepid with kernel 2.6.27.11 on AMD 64 with
> pulseaudio 0.9.13-0ubuntu1~ppa2
>
> Just after resume:
> Feb 6 20:53:02 AppleCider pulseaudio[6415]: alsa-util.c: Got POLLERR from
> ALSA
> Feb 6 20:53:02 AppleCider pulseaudio[6415]: alsa-util.c: PCM state is
> SUSPENDED
> Feb 6 20:53:02 AppleCider pulseaudio[6415]: alsa-util.c: Got POLLERR from
> ALSA
> Feb 6 20:53:02 AppleCider pulseaudio[6415]: alsa-util.c: PCM state is
> RUNNING
> Feb 6 20:53:02 AppleCider pulseaudio[6415]: alsa-util.c: Got POLLERR from
> ALSA
> Feb 6 20:53:02 AppleCider pulseaudio[6415]: alsa-util.c: PCM state is
> RUNNING
> etc
>
> While this is happening the speaker emits a clicking or buzzing sound.
>
> --
> Pulseaudio is blocking normal sound after resume
> https://bugs.launchpad.net/bugs/202089
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in PulseAudio sound server: New
> Status in "gnome-power-manager" source package in Ubuntu: Invalid
> Status in "pulseaudio" source package in Ubuntu: Fix Released
> Status in gnome-power-manager in Ubuntu Intrepid: Invalid
> Status in pulseaudio in Ubuntu Intrepid: Fix Released
> Status in "gnome-power-manager" source package in Baltix: New
>
> Bug description:
> SRU information follows:
>
> Impact: A portion of users with a default or updated (intrepid-updates)
> Ubuntu 8.10 install experience inaudible audio from PulseAudio after
> resuming from suspend-to-ram. This symptom is due to the PulseAudio daemon
> not having received proper notification to suspend clients and release the
> sound device(s).
>
> Resolution: Configure users' pulseaudio daemons to suspend prior to
> suspending to ram and to resume after resuming. This sequence is
> accomplished via a pm-utils sleep hook. The corresponding fixed version
> (0.9.13-2ubuntu3) is available in jaunty.
>
> SRU debdiff:
> http://launchpadlibrarian.net/20316781/pulseaudio_0.9.10-2ubuntu9.2.debdiff
>
> TEST CASE: Boot into a default or updated (intrepid-updates) Ubuntu 8.10
> install. Suspend to ram, then resume. Note the inaudible audio from
> PulseAudio.
>
> Regression potential: No regressions have been identified in production.
>
> Background information follows:
>
> Binary package hint: pulseaudio
>
> > aplay squish.au
> Sonando Audio Sparc 'squish.au' : Mu-Law, Ratio 8000 Hz, Mono
>
> [Suspend to Ram/Resume]
>
> > aplay squish.au
> ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to open slave
> aplay: main:546: error al abrir audio: Dispositivo ó recurso ocupado
>
> Then you need to killall pulseaudio for apps that use pcm starts working
> again.
> (Question: How you can stop/start/restart pulseudio? In Ubuntu
> /etc/init.d/pulseaudio script is disabled)
>
> If you need more information, please let me know.
>
> Thx.
>
> ----------------------------------
> Hardy Uptodate
> IBM Thinkpad X41 Tablet
> pulseaudio 0.9.9-1ubuntu2
>