Having trouble configuring MIDI

Hello. My Akai LPK25 appeared in the MIDI connections panel of Jack yesterday suddenly. I don’t know how but now it’s gone and I don’t know how to configure it. Also I have an Arturia Minilab and that hasn’t shown up once in Jack.
I’ve looked at lots of articles and seen a tutorial and I still don’t know how for MIDI. I’ve activated the a2jmidid bridge (I’m not sure if I need that) and it’s only shown up once in Jack also. So far, I’ve had no sound from MIDI in Ardour. Also, the MIDI Connections panel in Ardour, a lot of the squares are white, why is this exactly? I’m running Ubuntu Studio 12.04 and I use a MOTU Traveler mk2. Thanks in advance.

A2jmidid enables my LPK25 and another MIDI connection in Jack but then it’s gone because of an xrun. I’ve just been on the a2jmidid website and I found this…

= Overview =
Main goal of this project main is to ease usage of legacy, not
JACK-ified apps, in a JACK MIDI enabled system.

What is this -x seq?

Nobody should use -X seq unless they have no other options. It has very poor timing behaviour.

The latest release of JACK1 (0.124.x) has fully integrated MIDI for Linux, so no additional external clients work . For that version, the server argument -I alsa_midi will provide the best timing and lowest latency for MIDI I/O. Unfortunately, qjackctl and other GUI front ends for JACK do not yet offer a convenient way to add the -I alsa_midi, so as a convenience -X seq as an argument to the JACK ALSA backend is forced to do the same thing. For other versions of JACK, do not -X seq unless for some reason you have no other options.

For those using JACK2, a2jmidid -e (note the -e) is still the recommended option. Notes on this can be found in the manual: http://www.manual.ardour.org/setting-up-your-system/setting-up-midi/midi-on-linux/

Hi Paul. Thanks for your reply. I am currently using Jack2 and I DID use the a2jmidid -e command from the beginning and still have xruns almost immediately after my Akai LPK25 shows up in the connections. I followed the manual instructions. Do you recommend that I un-install Jack2 and install Jack1? I do this via Synaptic Package Manager, right? I’m not new to Linux, but I am still learning. I read on the Jack website about if you have two versions of Jack installed…

Hi Penguin. I’m using Ubuntu Studio 12.04. And yes, in my Synaptic, the version of Jack1 that is shown is something like 0.121 as the available one not 0.124. These KX Studio repositories, would I be able to add those via Synaptic also if I installed Jack1 or do I absolutely need that link?
I’ve not considered doing anything as serious as this with Linux before, but I really do need Ardour to be configured properly so I can use my keyboards. I think I’m going to attempt the un-install of Jack2 and install of Jack1 0.124…

Jack1 is now installed, it’s version 0.121 though. I forgot to activate the KX Studio repositories beforehand, I’ve done it now though. I can’t find Jack1 version 0.124 in the repositories. I found another link online that states that’s exactly where it is. Is there something I’ve not done? I downloaded Jack1 0.124 from the website… I have no idea how to install it. I thought the command line instructions weren’t clear enough tbh.

From the Jack website…

“Note that if you are installing JACK “on top” of an existing version, you need to add --prefix /usr or similar to the ./configure command, to ensure that the install step will overwrite the existing version. By default these commands will install JACK to /usr/local/bin whereas any system-installed version will likely exist in /usr/bin.”

./configure
make
make install

Why not also give a command line example of what is stated in regards to install “on top” of an old version…

I wonder if that’s the same Paul on the Jack website as on here :slight_smile:

Yeah I updated the repositories. And I went to upgrade Jack1 hours ago but Synaptic includes libjack-jackd2-0 in the upgrade list, so I stalled on it. Should I just unmark this one?

It won’t let me unmark it anyway. Seems like it’s dependent… I don’t understand that if it’s a jackd2 file.

folks, there was NO suggestion in my post that you should attempt to switch versions of JACK. if your distro doesn’t make this simple, don’t do it. In particular, the “configure && make && make install” approach will (or can) BREAK your existing JACK installation.