Disable Midi Device

How can I disable a midi device? I saw in the documentation there was an option in the webconf that listed the input and output devices with checkboxes to disable/enable, but when I access it there are no checkboxes.

If that is no longer an option, is there a way that It can be disabled programmatically or in another config? I’ve got a script that I would like to have running on my zynthian that needs access to a midi device, but zyznthian is using the port.

Not from webconf but from Zynthian UI in chain’s option menu:
https://wiki.zynthian.org/index.php/Zynthian_UI_User’s_Guide_-_Oram#MIDI_input.2Foutput

Hi @bkelly9376! Welcome to the zynthian family.

Indeed the ability to disable MIDI devices from webconf has been disable. You now enable individual MIDI inputs and outputs per chain in the chain options menu. However this only disables the data flow. The device is still captured by jack. There isn’t a simple way to exclude a device from being captured. I would suggest you rewrite your script to use jack MIDI rather than ALSA MIDI or see if zynthian can already do what you want your script to do.

Thanks @riban. Switching from ALSA to jack solved by problem.