When trying to use the MIDI input device component on Linux it sends one MIDI event but then stops working. I don't know if the library is busted or something else.
This is the MIDI library that is currently used which says it works on Linux: https://github.com/atsushieno/managed-midi