<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Unable to properly switch between Speakers and Headphones (has "workaround")"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105654#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Unable to properly switch between Speakers and Headphones (has "workaround")"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105654">bug 105654</a>
from <span class="vcard"><a class="email" href="mailto:gbr@protonmail.com" title="gbr@protonmail.com">gbr@protonmail.com</a>
</span></b>
<pre>(In reply to Tanu Kaskinen from <a href="show_bug.cgi?id=105654#c7">comment #7</a>)
<span class="quote">> It sounds like your headphones are muted - check if that's the case.</span >
After I applied your first suggestion, here's how alsamixer looks like when:
* "Line Out (unplugged)" port is selected (in pavucontrol):
<a href="https://i.imgur.com/19DS9bN.png">https://i.imgur.com/19DS9bN.png</a>
* "Headphones (plugged in)" port is selected (in pavucontrol):
<a href="https://i.imgur.com/ZxqWNSJ.png">https://i.imgur.com/ZxqWNSJ.png</a>
To summarize: When "Line Out" is selected, I hear audio coming from speakers
and not from headphones -- perfect. But when "Headphones" is selected, I can't
hear anything at all, in both headphones and speakers.
<span class="quote">> If they don't seem to be muted, then attach the output of "amixer -c0"
> when you have selected the headphone port.</span >
They don't seem to be muted (there's no "MM" under it), but in the other hand,
the Headphone item set to "Off, Off" in alsamixer (see first screenshot), so I
can't manipulate its volume. But I'm attaching the output of "amixer -c0"
anyway.
<span class="quote">> Hmm, did you apply the workaround in analog-output-headphones.conf?</span >
Yes.
<span class="quote">> Maybe the Front element actually does affect the headphone output,</span >
I think it does as well.
<span class="quote">> 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.</span >
That's correct and I can reproduce it. That's why the workaround I suggested
involves enabling Auto-Mute when I want to exclusively use my Headphones and
mute my speakers. Obviously, I have no clue what Auto-Mute does, but it'd be
great if there was a way for PulseAudio to automatically enable Auto-Mute for
me when I want to exclusively use my headphones and not my speakers; And then
PulseAudio would disable Auto-Mute when I switch back to speakers.
<span class="quote">> Auto-mute must be disabled if you wish to use lineout while having
> headphones plugged in.</span >
Okay, I guess I should only try new settings with Auto-Mute disabled from now
on.
<span class="quote">> 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</span >
I'm sad to say that this had no effect whatsoever; Well, at least none of the
issues above were directly affected. I added those lines at end of both files
because there wasn't any "[Element Line]" in there, did I do it right?
Anyway, I must say I'm really greateful for your help though, so thank you very
much! I don't know if I can provide anything else to help you help me, but
whatever you may need, just ask me and I'll do my best to fulfill it.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>