fireberd
Where is "Azslow"??
I am here. But I can not add much to what I have already written before:
* Sonar/CbB identify MIDI devices by names and tries to match these strings to what Windows return. The list is saved in %APPDATA%\Cakewalk\<Sonar version>\TTSSEQ.INI
When something is wrong here, the file should be deleted.
* Sonar 2017+ has introduced a bug in the matching system. As the result, even when "Control Surfaces" preferences show correct ports, in practice Sonar can use other (wrong) ports to communicate with the device.
That happens when TTSSEQ.INI information can not be matched with Windows information correctly, which in turn happens when:
1) in Windows Device manager, MIDI section, there are "bad" devices. The whole list can be seen only with "list not connected devices option". It is better to remove all orphan entries and in case active device is not "1", delete and reinstall it (f.e. reconnected to different port, physically or logically, leaving orphan entry as "1" and thinking it is not the first such device in the system)
2) there are devices which are not always connected when Sonar starts (sometimes that is ok, sometimes not). For troubleshooting, all MIDI devices mentioned in the Device Manager should be connected every time Sonar starts.
3) (any) device randomly "re-connects", f.e. with USB power management enabled, bad cables, bad USB hubs, etc. Can be observed keeping the Device Manager running, it visually "updates" the whole list where some changes are spotted. Alternatively can be seen in logs (more tricky to find). USB power management should be switched off for all music devices, most of them glitch with this setting on.
* original Mackie Control plug-in requires 2 way communication present and working, it is stuck in "Connecting..." otherwise. My mod of this plug-in has "Disable handshake" option. That allows to check the Input from MCU (compatible) device is working, even in case the output is wrong. It also adds ProChannel EQ/Comp support and a workaround against Sonar crash in case MCU tries to control ProChannel Compressor (bug in Sonar).
So, brute-force way:
* delete TTSEQ.INI
* delete all MIDI devices in the Device Manager (including hidden!)
* switch off the computer
Then, for testing, every time boot the computer only AFTER all MIDI devices are powered and switch them off only after the computer is switched off. Do not put the computer into sleep. Check that in such case everything is always stable. If it is, try to add "features" one by one (f.e. sleep/wake, turning the rack on/off when computer is working, etc.), several times checking that things are still working. Till the reason is found...