https://bugs.winehq.org/show_bug.cgi?id=52220
--- Comment #9 from Jacek Konieczny jajcus@jajcus.net --- And here is the revised main patch:
https://source.winehq.org/patches/data/222355
This should fix TMIDI failing to open MIDI ports when QSynth auto-connect is in use.