[pulseaudio-tickets] [Bug 100451] module-switch-on-port-available will only select unavailable ports when a new sink or source appears
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun May 7 08:32:31 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=100451
--- Comment #13 from Tanu Kaskinen <tanuk at iki.fi> ---
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?
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20170507/bd4d3373/attachment.html>
More information about the pulseaudio-bugs
mailing list