Topic: lost MIDI on Linux

Hi,

I just sent a message to support.
my 7.2.0 stopped receiving MIDI messages I think it might be related to the update to new Linux kernel:

Linux version 5.10.0-4-amd64 (debian-kernel@lists.debian.org) (gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP Debian 5.10.19-1 (2021-03-02)

so maybe wait on that update if you are using Debian sid or something similar that gets you the new Kernel...

6.7.3 works fine.

Re: lost MIDI on Linux

Hi,

Pianoteq 6.7.3 works MIDI-wisely under Debian Sid (Still-in-development version) and Pianoteq 7.2.0 doesn't?

Then the MIDI driver in the Sid-Kernel should be ok, hm.

Antonio M wrote:

... I think it might be related to the update to new Linux kernel ...

Why?

Re: lost MIDI on Linux

groovy wrote:

Hi,

Pianoteq 6.7.3 works MIDI-wisely under Debian Sid (Still-in-development version) and Pianoteq 7.2.0 doesn't?

Then the MIDI driver in the Sid-Kernel should be ok, hm.

Antonio M wrote:

... I think it might be related to the update to new Linux kernel ...

Why?

Just because is one thing that I changed yesterday.
If it was not clear this only started yesterday, it was working fine until Debian give me this update - I like to live on the edge
it could be anything else. 6.7.3 works correctly

Re: lost MIDI on Linux

- I like to live on the edge

Brave pioneers welcome!

If you have installed the meta-package linux-image-amd64, then per default always the last two kernels should be present in your system. With the bootloader grub-pc you can switch between them.

Last edited by groovy (04-03-2021 19:48)

Re: lost MIDI on Linux

groovy wrote:

If you have installed the meta-package linux-image-amd64, then per default always the last two kernels should be present in your system. With the bootloader grub-pc you can switch between them.

no luck - so it's something else and my rushed warning is unwarranted...

I'll see if I can add a note to the support ticket I created.

edit: I don't think I have a ticket number - If support is monitoring this: it's was not the kernel update.

Last edited by Antonio M (04-03-2021 19:58)

Re: lost MIDI on Linux

I'm confident it is something harmless. I would check some essentials first. When your MIDI device is connected via USB - are the common alsa kernel-modules ("drivers") loaded?

lsmod | grep usb
lsusb

In Pianoteq options
--> Audio device type: ALSA
--> Active MIDI Inputs --> select *only* your connected MIDI device
--> Watch the MIDI monitor
--> Starting Pianoteq from the CLI and watch the messages

... and so on.

Thanks for your informations, Antonio. When you get it to work, I probably test Sid in the next weeks. Normally I'm running (Debian) Buster with Pianoteq, but it is indeed tempting to run something borderline like a "rolling release" with Sid ...

Last edited by groovy (04-03-2021 21:06)

Re: lost MIDI on Linux

groovy wrote:

I'm confident it is something harmless. I would check some essentials first. When your MIDI device is connected via USB - are the common alsa kernel-modules ("drivers") loaded?

lsmod | grep usb
lsusb

In Pianoteq options
--> Audio device type: ALSA
--> Active MIDI Inputs --> select *only* your connected MIDI device
--> Watch the MIDI monitor
--> Starting Pianoteq from the CLI and watch the messages

... and so on.

Thanks for your informations, Antonio. When you get it to work, I probably test Sid in the next weeks. Normally I'm running (Debian) Buster with Pianoteq, but it is indeed tempting to run something borderline like a "rolling release" with Sid ...

Thank you for the suggestions, I'll try investigating more later today, starting with these. I would like to have some comment or fix from support before starting.
What made me suspicious of 7.2.0 is that 6.7.3 works fine...
(also made a java program to read and display MIDI messages - also fine)

I re-unzip the 7.2.0 just in case there was an undetected disk failure - no luck.

I'll report back after all that.

BTW (personal comment) it's impossible to enjoy v6 after using v7...!

Re: lost MIDI on Linux

well, my fault...

Not directly but because I didn't check the full system:
somehow the "Options / Devices / Active MIDI inputs:" become unchecked...

I didn't open the devices, I didn't open the options, just got unchecked...

All is good for me now, there is no problem with Pianoteq or Linux, I'm sorry I stir up such a storm.

(Should we delete this entire topic? I'll see if I can at least rename it)

Re: lost MIDI on Linux

groovy wrote:

I'm confident it is something harmless.

You were right!
(MIDI input option became unchecked for unknown reasons. Beyond user action - at least that's my story...)

Thank you for your help!

Last edited by Antonio M (05-03-2021 01:16)

Re: lost MIDI on Linux

Congrats!
Thank you very much for the feedback!

Re: lost MIDI on Linux

ah! it happened again...
but now you can't fool me...

Of course I didn't touch it!
(This time we had a power failure here while the computer was in suspended mode.)