sound is muted before suspend, but on resume is not muted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pulseaudio (Ubuntu) |
Fix Released
|
Low
|
Daniel T Chen |
Bug Description
HP Mini 311, running Ubuntu 9.10 Karmic Koala.
I have my laptop configured to suspend when I close the lid. I usually have sound muted, but if sound is muted when I close the lid (and thus suspend), it is no longer muted when I open the lid & it resumes.
Note that this may be a duplicate of bug #483287, but that didn't appear in the "is it one of these bugs" list.
ProblemType: Bug
Architecture: i386
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
Card0.Amixer.info:
Card hw:0 'NVidia'/'HDA NVidia at 0x53100000 irq 20'
Mixer name : 'Nvidia MCP7A HDMI'
Components : 'HDA:111d7605,
Controls : 30
Simple ctrls : 17
Date: Mon Nov 16 23:36:02 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelMo
Package: alsa-base 1.0.20+
PackageArchitec
ProcEnviron:
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: alsa-driver
Uname: Linux 2.6.31-14-generic i686
XsessionErrors:
(gnome-
(gnome-
(nautilus:1851): Eel-CRITICAL **: eel_preferences
(polkit-
(gnome-
Related branches
- Luke Yelavich: Pending requested
- Daniel T Chen: Pending requested
-
Diff: 4588 lines (+4250/-0)67 files modifieddebian/01PulseAudio (+78/-0)
debian/70pulseaudio (+10/-0)
debian/README.Debian (+28/-0)
debian/apport-hook.py (+15/-0)
debian/changelog (+2121/-0)
debian/compat (+1/-0)
debian/control (+385/-0)
debian/copyright (+479/-0)
debian/libpulse-browse0.install (+1/-0)
debian/libpulse-browse0.shlibs (+1/-0)
debian/libpulse-dev.install (+6/-0)
debian/libpulse-mainloop-glib0.install (+1/-0)
debian/libpulse0.install (+4/-0)
debian/libpulse0.shlibs (+3/-0)
debian/manpages/esdcompat.1 (+55/-0)
debian/manpages/pulseaudio.1 (+97/-0)
debian/overrides/pulseaudio (+2/-0)
debian/overrides/pulseaudio-module-x11 (+1/-0)
debian/overrides/pulseaudio-utils (+3/-0)
debian/patches/0001-Work-around-some-platforms-not-having-O_CLOEXEC.patch (+26/-0)
debian/patches/0001-change-resample-and-buffering.patch (+21/-0)
debian/patches/0002-Fix-makefiles-to-include-all-alsa-path-files-on-inst.patch (+40/-0)
debian/patches/0003-add-padsp-wrapper-check.patch (+21/-0)
debian/patches/0004-set-tsched0.patch (+12/-0)
debian/patches/0005-load-sample-dir-lazy.patch (+12/-0)
debian/patches/0006-a11y-special-case-disable.patch (+13/-0)
debian/patches/0007-esd-honour-system-pulseaudio.patch (+17/-0)
debian/patches/0050-revert-pacmd-poll-argv.patch (+159/-0)
debian/patches/0051-fix-sigfpe-mcalign.patch (+13/-0)
debian/patches/0054-mute-iec958-optical-raw-for-audigyX.patch (+14/-0)
debian/patches/0055-handle-Master-Front.patch (+83/-0)
debian/patches/0056-ignore-sound-class-modem.patch (+13/-0)
debian/patches/0057-load-module-x11-bell.patch (+12/-0)
debian/patches/0090-disable-flat-volumes.patch (+13/-0)
debian/patches/0090-use-volume-ignore-for-analog-output.patch (+13/-0)
debian/patches/0091-dont-load-cork-music-on-phone.patch (+13/-0)
debian/patches/series (+16/-0)
debian/pulse-alsa.conf (+27/-0)
debian/pulse-session (+16/-0)
debian/pulse.conf (+18/-0)
debian/pulseaudio-dev.install (+2/-0)
debian/pulseaudio-esound-compat.install (+6/-0)
debian/pulseaudio-esound-compat.links (+1/-0)
debian/pulseaudio-esound-compat.manpages (+1/-0)
debian/pulseaudio-module-bluetooth.install (+7/-0)
debian/pulseaudio-module-gconf.install (+2/-0)
debian/pulseaudio-module-jack.install (+2/-0)
debian/pulseaudio-module-lirc.install (+1/-0)
debian/pulseaudio-module-raop.install (+1/-0)
debian/pulseaudio-module-x11.install (+2/-0)
debian/pulseaudio-module-zeroconf.install (+3/-0)
debian/pulseaudio-utils.install (+13/-0)
debian/pulseaudio-utils.links (+1/-0)
debian/pulseaudio-utils.manpages (+8/-0)
debian/pulseaudio.default (+20/-0)
debian/pulseaudio.dirs (+1/-0)
debian/pulseaudio.init (+83/-0)
debian/pulseaudio.install (+71/-0)
debian/pulseaudio.manpages (+3/-0)
debian/pulseaudio.postinst (+45/-0)
debian/pulseaudio.postrm (+12/-0)
debian/pulseaudio.preinst (+27/-0)
debian/pulseaudio.shlibs (+1/-0)
debian/rules (+57/-0)
debian/shlibs.local (+5/-0)
debian/shlibs_pulseaudio.local (+4/-0)
debian/watch (+8/-0)
summary: |
- HP Mini 311 - sound is muted before suspend, but on resume is not muted + sound is muted before suspend, but on resume is not muted |
Changed in pulseaudio (Ubuntu): | |
status: | Triaged → Fix Committed |
This symptom is actually intentional, because we currently don't have a way to store sink and source state in PA prior to muting both (necessary to prevent loud pops when suspending/ resuming) . For this reason, we:
* unconditionally mute all sinks and sources prior to suspending
* unconditionally unmute all sinks and sources after resuming
I recognize that this is slightly annoying behavior. You can work around this symptom by editing /usr/lib/ pm-utils/ sleep.d/ 01PulseAudio and commenting out the desired lines.