<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - module-switch-on-port-available will only select unavailable ports when a new sink or source appears"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100451#c13">Comment # 13</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - module-switch-on-port-available will only select unavailable ports when a new sink or source appears"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100451">bug 100451</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>HDMI sinks only have one port, so the referenced code can't do anything but
choose the only port that exists. The problem is somewhere else - the HDMI card
has multiple profiles, and apparently a wrong one gets selected. According to
the log, module-card-restore doesn't set the profile. I'm pretty sure the logic
in pa_card_choose_initial_profile() in src/pulsecore/card.c picks the initial
profile. That function should take the profile availability into account, so is
the profile availability information wrong?
If I write a patch to help with debugging, will you be able to try it out? Or
maybe you can add logging to pa_card_choose_initial_profile() yourself? You
seem to be able to read code, maybe you can write too...
The log looked like PulseAudio probed only the HDMI profiles. Have you modified
/usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf to only include HDMI
mappings? Have you made other modifications to the configuration or code?</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>