<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#c2">Comment # 2</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:tanuk@iki.fi" title="Tanu Kaskinen <tanuk@iki.fi>"> <span class="fn">Tanu Kaskinen</span></a>
</span></b>
        <pre>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?</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>