Public bug reported:

Binary package hint: pm-utils

I have a usb webcam with mic attached to the computer.  In gnome-volume-
control I have the webcam's mic selected.  Every time I suspend and
resume the selection reverts to the internal audio source.  I assume
that is the sound card's mic jack, which has no mic connected.  Also the
webcam's mic is muted.  So I then have to go into gnome-volume-control
and reselect and un-mute the webcam's mic.

Looking at the file /usr/lib/pm-utils/sleep.d/01PulseAudio and doing a
little testing I have found that the problem has to do with the way that
pulseaudio does it's indexing of the sources and how the pm-utils script
accesses that information.  Upon suspend 01PulseAudio is looking at the
starred index (selected source).  It then suspends and mutes this
source.  Then what happens sometime later in the suspend and resume
process is that the indexes of the sources get changed by pulseaudio,
but the selection stays with the original index.  For example, one time
before I suspended the webcam's mic had index 1.  After resuming the
webcam's mic was then indexed by 3, and the internal mic jack was now on
index 1 and selected.

So it may be that this bug should really be filed for the pulseaudio
package instead of pm-utils.  Either pulseaudio needs to be fixed to
keep its indexes more constant or the pm-utils script needs to be
adapted to find the indexing changes and resume to the correct source
appropriately.

ProblemType: Bug
Architecture: i386
Date: Sat Nov  7 09:41:46 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: pm-utils 1.2.5-2ubuntu7
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: pm-utils
Uname: Linux 2.6.31-14-generic i686

** Affects: pm-utils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
upon resume from suspend the wrong pulseaudeo source is selected
https://bugs.launchpad.net/bugs/477541
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to