Public bug reported:
Binary package hint: pulseaudio
This bug is a continuation of bug #312505 submitted by Martin Emrich. I
am posting this bug specifically against the Jaunty version of current
stable Pulseaudio:
ii pulseaudio 1:0.9.14-0ubuntu20.2
PulseAudio sound server
The original bug report text follows (from Martin Emrich):
--- Start post text ----
I am running current jaunty i386. Since the upgrade from intrepid, I can no
longer suspend or hibernate. I see this in /var/log/pm-suspend.log:
/usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/01PulseAudio hibernate hibernate: Returned exit code
1.
Tue Dec 30 19:12:33 CET 2008: Inhibit found, will not perform hibernate
Tue Dec 30 19:12:33 CET 2008: Running hooks for thaw
/usr/lib/pm-utils/sleep.d/00powersave thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/00logging thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/00auto-quirk thaw hibernate: success.
---- End post text ----
The original bug report tracked it down to a problem in /usr/lib/pm-
utils/sleep.d/01PulseAudio (see post #17 in that bug). Specifically,
replacing all instances of
sudo -H -u $i pactl suspend-sink 1 &> /dev/null
(and similar) with
sudo -H -u "#$i" pactl suspend-sink 1 &> /dev/null
fixes this problem. Specifically, $i is a number, not a name, so the
"#$i" syntax is needed for the script to properly work.
ProblemType: Bug
Architecture: i386
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: darkstar62 18213 F.... mixer_applet2
Card0.Amixer.info:
Card hw:0 'I82801DBICH4'/'Intel 82801DB-ICH4 with AD1981B at irq 11'
Mixer name : 'Analog Devices AD1981B'
Components : 'AC97a:41445374'
Controls : 26
Simple ctrls : 18
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: ath_hal
Package: pulseaudio 1:0.9.14-0ubuntu20.2 [modified:
usr/lib/pm-utils/sleep.d/01PulseAudio]
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, no user)
LANG=en_US.UTF-8
SourcePackage: pulseaudio
Uname: Linux 2.6.28-15-generic i686
** Affects: pulseaudio (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386
--
Pulseaudio inhibits suspend and hibernate on Jaunty
https://bugs.launchpad.net/bugs/457871
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs