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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 22 07:14:27 UTC 2018


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

--- Comment #7 from Tanu Kaskinen <tanuk at iki.fi> ---
It sounds like your headphones are muted - check if that's the case. If they
don't seem to be muted, then attach the output of "amixer -c0" when you have
selected the headphone port. Hmm, did you apply the workaround in
analog-output-headphones.conf? Maybe the Front element actually does affect the
headphone output, in which case it must not be set to off in
analog-output-headphones.conf. I said previously that it doesn't affect the
headphone output on your machine, but I actually don't have any evidence for
that statement.

The lineout port is behaving as expected. If auto-mute is enabled in alsa, then
lineout will be muted always when you have headphones plugged in. Auto-mute
must be disabled if you wish to use lineout while having headphones plugged in.

It seems I blamed the kernel too soon. In my experience, usually "Front" is the
only element that controls whether audio goes to lineout, which is why I jumped
to the conclusion that the ambiguity of the Front element semantics is to
blame, but it seems that you have a "Line" playback switch, which can probably
be used to mute the speakers without muting the headphones. PulseAudio
currently ignores that element, so try adding this to
/usr/share/pulseaudio/alsa-mixer/paths/analog-output-lineout.conf:

    [Element Line]
    switch = mute
    volume = merge

...and this to
/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf:

    [Element Line]
    switch = off
    volume = off

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


More information about the pulseaudio-bugs mailing list