\
Ensure you have disconnected the ports you like to use using aconnect
or a graphical replacement like the ones found on
AlsaMidiPatchbays.

\
You can send a sysex file to the port hw:2,0,3 of the example above by
executing the following command:

\

amidi -p hw:2,0,3 -s BankA-Singles.syx

You can send a manually entered sysex command by typing them as
hexadecimal code:

\

amidi -p hw:2,0,3 -S "F0 00 20 33 00 00 01 07 0F F0"

\
You can record incoming sysex data to the file Sysexdump.syx using the
following command:

amidi -p hw:2,0,3 -r Sysexdump.syx

Start the dump using the controls of your device. Press Ctrl - C as soon
as the dump is completed.

\
You can also ask most devices to send the desired content using a sysex
request command. To do so, open two shell windows. In the first one,
tell amidi to record the incoming sysex data as shown in the example
above:

\

amidi -p hw:2,0,3 -r Sysexdump.syx

In the second one, tell amidi to send the desired sysex request. You can
do so by sending the request manually...

\

amidi -p hw:2,0,3 -S "F0 00 20 33 00 00 0F 01 10 F7"

or via sending a matching sysex file containing the matching command:

amidi -p hw:2,0,3 -s RequestSingleBank.syx

\
After the transmission is completed, precc Ctrl - C in the first shell
window.

\

Info from mailing lists

A snippet from the LAU mailing-list:

I'm trying to upgrade the software version of a Tascam DM-24 digital
mixing consol using amidi. The command is: amidi -p
```hw:1,0,1``` --send=flash.mid