touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #35859
[Bug 1004607] Re: pulseaudio switches microhpones randomly
We should be able to select the input, even with all the auto-detect
goodness.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1004607
Title:
pulseaudio switches microhpones randomly
Status in “pulseaudio” package in Ubuntu:
Confirmed
Bug description:
Problem
=======
During Skype calls, pulseaudio switches input to front microphone
randomly. I need to manually switch back to rear mic every time that
happens.
Expected
=======
I select the rear microphone as input (pavucontrol) and it stays
that way.
Workaround
==========
I disabled this module in /etc/pulse/default.pa:
# load-module module-switch-on-port-available
and then restarting pulseaudio obviously solves this.
Ideal workaround
==============
Disable port switching for (selected?) input devices in pavucontrol.
Or at least somehow honor my selection, e.g. if the input is marked as
a fallback device, it shouldn't switch.
Possible cause 1
=============
After pulseaudio startup, pactl shows these lines:
analog-input-microphone-front: Front Microphone (priority 8500, available: yes)
analog-input-microphone-rear: Rear Microphone (priority 8200, available: no)
Note: I don't use the front mic port at all.
Possible cause 2
=============
My sound card or ports may be creating noise that triggers "jack activation" events
Possible cause 3
=============
Bios, hardware related issues trigger jack activation events.
Example of pulseaudio switching mics during Skype call:
============================================
pulseaudio[32253]: [alsa-source] alsa-source.c: Calculated software volume: 0: 100% 1: 100% (accurate-enough=yes)
pulseaudio[32253]: [alsa-source] alsa-source.c: in dB: 0: 0.00 dB 1: 0.00 dB
pulseaudio[32253]: [alsa-source] source.c: Volume not changing
pulseaudio[32253]: [pulseaudio] module-suspend-on-idle.c: Source alsa_input.pci-0000_00_07.0.analog-stereo becomes busy.
pulseaudio[32253]: [alsa-sink] ratelimit.c: 723 events suppressed
pulseaudio[32253]: [alsa-sink] flist.c: pulsecore/memblockq.c: list_items flist is full (don't worry)
pulseaudio[32253]: last message repeated 10 times
pulseaudio[32253]: [pulseaudio] module-alsa-card.c: Jack 'Front Mic Jack' is now unplugged
pulseaudio[32253]: [pulseaudio] device-port.c: Setting port analog-input-microphone-front to status no
pulseaudio[32253]: [pulseaudio] module-switch-on-port-available.c: finding port analog-input-microphone-front
pulseaudio[32253]: [pulseaudio] module-alsa-card.c: Jack 'Front Mic Jack' is now plugged in
pulseaudio[32253]: [pulseaudio] device-port.c: Setting port analog-input-microphone-front to status yes
pulseaudio[32253]: [pulseaudio] module-switch-on-port-available.c: finding port analog-input-microphone-front
pulseaudio[32253]: [alsa-source] alsa-mixer.c: Activating path analog-input-microphone-front
pulseaudio[32253]: [alsa-source] alsa-mixer.c: Path analog-input-microphone-front (Front Microphone), direction=2, priority=85, probed=yes, supported=yes, has_mute=yes, has_volume=yes, has_dB=yes, min_volume=0, max_volume=3, min_dB=-16.5, max_dB=60
pulseaudio[32253]: [alsa-source] alsa-mixer.c: Element Front Mic Boost, direction=2, switch=0, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=4, required_absent=0, mask=0x3600000000f66, n_channels=2, override_map=yes
pulseaudio[32253]: [alsa-source] alsa-mixer.c: Element Capture, direction=2, switch=1, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x3600000000f66, n_channels=2, override_map=yes
pulseaudio[32253]: [alsa-source] alsa-mixer.c: Element Input Source, direction=2, switch=0, vol
Note the line: module-alsa-card.c: Jack 'Front Mic Jack' is now unplugged
and instantly afterwards: module-switch-on-port-available.c: finding port analog-input-microphone-front
Sound card
=========
cat /proc/asound/card0/codec\#0|grep Codec
Codec: Realtek ALC888
Versions
=======
Ubuntu 12.04 LTS
pulseaudio 1:1.1-0ubuntu1
kernel 3.2.0-24-generic
alsa-base 1.0.25+dfsg-0u
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1004607/+subscriptions