<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><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> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - module-switch-on-port-available only switches output but leaves input unmodified"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101798">bug 101798</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>NOTABUG
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>REOPENED
</td>
<td>RESOLVED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - module-switch-on-port-available only switches output but leaves input unmodified"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101798#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - module-switch-on-port-available only switches output but leaves input unmodified"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101798">bug 101798</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>Sorry for not paying attention!
The internal mic has higher priority than the headset mic, which explains why
the port doesn't get changed. The internal speakers also have higher priority
than headphones, but when headphones are plugged in, we mark the internal
speakers as unavailable. We use the same trick with some external mic ports,
but not with headset-mic or headphone-mic.
I believe the reason is that with headset-mic/headphone-mic, the jack
information that we get from alsa doesn't include exact information about what
was plugged in. We only know that either headphones, a headset or a microphone
was plugged in. Marking the internal mic as unavailable would break the common
case where headphones without a mic were plugged in.
Ubuntu solves this by popping up a GUI that asks what you plugged in.
Pulseaudio just doesn't have enough information to automatically always select
the right port. Defaulting to the internal mic is safer than the headset mic.
I'll mark this as NOTABUG, but if you think there is a solution, feel free to
reopen.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>