Package: pulseaudio
Version: 0.9.10-3

The following might help to work around the pulseaudio suspend/resume issues:

Create a file named
  /etc/pm/sleep.d/05pulseaudio
with the contents:
---
#!/bin/sh
# Suspend pulseaudio during suspend.

. "${PM_FUNCTIONS}"

suspend_pulse()
{
        /usr/bin/pactl suspend-sink 1
}

resume_pulse()
{
        /usr/bin/pactl suspend-sink 0
}

case "$1" in
        hibernate|suspend)
                suspend_pulse
                ;;
        thaw|resume)
                resume_pulse
                ;;
        *) exit $NA
                ;;
esac
---

Although I'm not using a system wide pulseaudio server it seems to work for me 
just fine.
By using "pactl suspend-sink", pulseaudio will close the audio devices
before suspending, and reopen them afterwards when the drivers have been
loaded again.

IMHO, pulseaudio should ship this file, but the directory
  /usr/lib/pm-utils/sleep.d
should be more appropriate.

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.26-1-686

Debian Release: lenny/sid
  500 unstable        www.debian-multimedia.org 
  500 unstable        ftp.de.debian.org 
    1 experimental    ftp.de.debian.org 

--- Package information. ---
Depends               (Version) | Installed
===============================-+-=============
libasound2          (>> 1.0.16) | 1.0.16-2
libasyncns0                     | 0.3-1
libc6                (>= 2.7-1) | 2.7-13
libcap1                         | 1:1.10-14
libdbus-1-3          (>= 1.0.2) | 1.2.1-3
libflac8                        | 1.2.1-1.2
libltdl3           (>= 1.5.2-2) | 1.5.26-4
libogg0             (>= 1.0rc3) | 1.1.3-4
liboil0.3            (>= 0.3.1) | 0.3.15-1
libpulsecore5                   | 0.9.10-3
libsamplerate0                  | 0.1.4-1
libsndfile1                     | 1.0.17-4
libwrap0            (>= 7.6-4~) | 7.6.q-16
adduser                         | 3.110
lsb-base                 (>= 3) | 3.2-20


best regards,
Erich Schubert
-- 
   erich@(vitavonni.de|debian.org)    --    GPG Key ID: 4B3A135C    (o_
            Reality continues to ruin my life --- Calvin            //\
       Es gibt kein idiotensicheres Programm, weil Idioten so       V_/_
                     genial sind. -- E. Murphy




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to