Ardour 5.12 not recognize midi interface

hi friend i have a problems with ardour 5.12 and midi interfaces (midisport 2x2) and midilink on ubuntu 18.04.1 lts + repository kxstudio. It’s don’t recognize in ardour 5.12 and mixbus 4 but on tracktion waveform 9 it work perfect. Here i have upload a photo - https://imgur.com/UF4Yqwe

In this screenshot: https://imgur.com/cdErJfN everything appears to be working …

in the screenshot work on open terminal,but the terminal closed don’t recognize midi interface

i have recive help from forum harrison mixbus for resolution problem :

B)
Alsa2jack (MIDI):
install:
Code:
a2jmidid

Setup >> Options >> [X] Run script after startup

Code:
sleep 5 && a2jmidid -e &

Setup >> Settings >> Parameters >> MIDI Drivers [none]
Setup >> Miscellaneous >> [ ] ([none]) Provide support for ALSA sequencer

Now ardour and mixbus work perfect on ubuntu 18.04.1 lts with repository kx studio. I have upload photo - https://imgur.com/muvo0FI

discussion for this problem with photo on harrison mixbus forum - http://mixbus.harrisonconsoles.com/forum/thread-6286-post-37188.html#pid37188

Unclear why that is not working.

hi paul i have a maudio firewire solo and work with ffado driver,but my two midi interface don’t recognize in ardour e mixbus…if i used alsa backend i wiev midi interface,but don’t plays audio.
Here various photo my problems
https://imgur.com/UF4Yqwe
https://imgur.com/iTwyMuP
https://imgur.com/4dWpgqY
https://imgur.com/cdErJfN
https://imgur.com/ss4mY1I

What audio/MIDI backend are you using? If you are using JACK, use the ALSA audio/MIDI backend instead, and report back on what it finds.