[pulseaudio-tickets] [Bug 105654] Unable to properly switch between Speakers and Headphones (has "workaround")

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 21 11:06:43 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105654

--- Comment #2 from Tanu Kaskinen <tanuk at iki.fi> ---
Thanks for the clear problem description!

My impression is that alsa usually sets "Auto-Mute Mode" to "Disabled" by
default. If this doesn't happen on your machine, that issue could be reported
to the alsa developers. That said, it would probably be a good idea to force it
in PulseAudio, since as far as I can tell, enabling auto-mute in alsa is
completely useless and can only cause confusion when using PulseAudio, since
PulseAudio is perfectly capable of automatically muting unwanted outputs by
itself (well, except that in your case there seems to be some problem with
muting headphones when selecting the lineout port).

The issue that lineout is marked as unavailable ("unplugged" in pavucontrol) is
something that should be fixed. That behaviour was deliberately changed to what
it is now, but I think the reason behind that change was not very good: if alsa
auto-mutes lineout when headphones are plugged in, we wanted to make clear that
lineout isn't usable in that situation. But if the auto-muting in alsa is
disabled, then it's wrong to mark the lineout port as unavailable. Maybe in the
past it was more common to have auto-muting enabled in alsa (and it might not
have been even configurable).

It sounds strange that muting headphones works when you have auto-mute enabled
and doesn't work when you have auto-mute disabled. It should make no difference
to how pulseaudio configures the mixer. I suspect this is a bug in the kernel
driver, but I'd like to check the mixer settings anyway, so could you attach
the output of "amixer -c0" when you have enabled auto-mute in alsa and selected
the lineout port in pulseaudio?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20180321/d311b93a/attachment-0001.html>


More information about the pulseaudio-bugs mailing list