sound unmuted after resume from suspend

Bug #474952 reported by Eric
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

Binary package hint: gnome-power-manager

Steps to reproduce:
1) Mute sound
2) Suspend
3) Resume from suspend
4) Sound is no longer muted

ProblemType: Bug
Architecture: i386
Date: Wed Nov 4 19:50:54 2009
DistroRelease: Ubuntu 9.10
Package: gnome-power-manager 2.28.1-0ubuntu1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-genUser Name
SourcePackage: gnome-power-manager
Uname: Linux 2.6.31-14-generic i686

Revision history for this message
Eric (weisscoder) wrote :
Revision history for this message
Sam Eichold (seichold) wrote :

I can confirm this, and can attach logs if needed

Revision history for this message
Eric (weisscoder) wrote :

Marked as fixed, as this bug no longer occurs for me.

Changed in gnome-power-manager (Ubuntu):
status: New → Fix Released
Revision history for this message
Eric (weisscoder) wrote :

Nevermind, not sure what happened before but bug appears to still exist. Might be related to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/483900

Changed in gnome-power-manager (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Jan-Philipp Litza (jplitza) wrote :

Nope, probably isn't related to #483900.

The problem isn't in g-p-m, but in the pm-utils script /usr/lib/pm/sleep.d/01PulseAudio. That scripts mutes everything on suspend and unmutes everything on resume without any conditionals. Maybe I'll attach a patch shortly, as this problem shouldn't be too hard to solve.

Revision history for this message
Jan-Philipp Litza (jplitza) wrote :

Well, there's the patch. I'm not very experienced with awk, but if pacmd's list-sinks and list-sources returns a muted: line for every sink/source, it should work correctly.

Changed in gnome-power-manager (Ubuntu):
status: Confirmed → Fix Committed
tags: added: patch
Revision history for this message
Philip Muškovac (yofel) wrote :

@Jan-Philipp: where did the fix get committed?

Revision history for this message
Jan-Philipp Litza (jplitza) wrote :

@Philip: Sorry, my mistake. It didn't get committed anywhere, I thought this state was for bugs that had a patch attached. Please revert the state if that's wrong.

Emmet Hikory (persia)
Changed in gnome-power-manager (Ubuntu):
status: Fix Committed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.