Bug 102902 - module-switch-on-port-available should find the correct port on startup.
Summary: module-switch-on-port-available should find the correct port on startup.
Status: RESOLVED FIXED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: modules (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-20 14:54 UTC by Kristian Klausen
Modified: 2018-02-21 09:45 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Kristian Klausen 2017-09-20 14:54:19 UTC
Hello

module-switch-on-port-available currently only try to find the best port, when the availability of a port change.
For our use-case (different hardware, no manual configuration) it would be preferable, if that logic also rain on startup.

- Kristian
Comment 1 Tanu Kaskinen 2017-09-21 12:48:43 UTC
I sent a patch to the mailing list:
https://patchwork.freedesktop.org/patch/178102/

Can you test the patch?
Comment 2 Kristian Klausen 2017-09-21 19:15:27 UTC
(In reply to Tanu Kaskinen from comment #1)
> I sent a patch to the mailing list:
> https://patchwork.freedesktop.org/patch/178102/
> 
> Can you test the patch?

I will test the patch as soon as possible, probably in the start of next week.
Comment 3 Kristian Klausen 2018-02-19 18:52:21 UTC
(In reply to Kristian Klausen from comment #2)
> (In reply to Tanu Kaskinen from comment #1)
> > I sent a patch to the mailing list:
> > https://patchwork.freedesktop.org/patch/178102/
> > 
> > Can you test the patch?
> 
> I will test the patch as soon as possible, probably in the start of next
> week.

As said on IRC months ago, the patch work as expected and we have been using it in production for ~ 4 months).

What is the state of getting the patch merged?
Comment 4 Tanu Kaskinen 2018-02-20 07:53:56 UTC
The state is that I need to write an updated patch. Sorry for not doing that earlier, I'll do it now.
Comment 5 Tanu Kaskinen 2018-02-20 09:57:27 UTC
v2 submitted: https://patchwork.freedesktop.org/patch/205576/
Comment 6 Tanu Kaskinen 2018-02-21 09:44:44 UTC
The patch is now in the "next" branch. The fix will be released in 13.0.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.