This is a revised series of patches for alsa-lib to add the support of MIDI 2.0 features. Since v1 [*], two more control API helpers to obtain UMP EP / block info are added and the CTL protocol version is bumped. Takashi [*] http://lore.kernel.org/r/20230520070021.1301-1-tiwai@xxxxxxx === Takashi Iwai (10): uapi: Update rawmidi API to 2.0.3 uapi: Update control API to 2.0.9 rawmidi: Add UMP ioctl support ump: Add initial support control: Add UMP device query support control: Add UMP Endpoint and Block info query support ump: Add helpers to parse / set UMP packet data ump: Add helpers for handling SysEx data uapi: Update asequencer.h definitions for 1.0.3 seq: Add UMP support configure.ac | 1 + include/Makefile.am | 2 +- include/control.h | 3 + include/local.h | 5 + include/rawmidi.h | 3 + include/seq.h | 44 ++ include/seq_event.h | 42 +- include/seqmid.h | 24 ++ include/sound/uapi/asequencer.h | 91 ++++- include/sound/uapi/asound.h | 62 ++- include/ump.h | 119 ++++++ include/ump_msg.h | 598 +++++++++++++++++++++++++++ src/Versions.in | 26 ++ src/control/control.c | 38 ++ src/control/control_hw.c | 29 ++ src/control/control_local.h | 3 + src/rawmidi/Makefile.am | 5 +- src/rawmidi/rawmidi.c | 19 + src/rawmidi/rawmidi_hw.c | 36 +- src/rawmidi/rawmidi_local.h | 7 + src/rawmidi/ump.c | 702 ++++++++++++++++++++++++++++++++ src/rawmidi/ump_local.h | 10 + src/seq/seq.c | 410 +++++++++++++++++-- src/seq/seq_hw.c | 72 +++- src/seq/seq_local.h | 6 +- src/seq/seqmid.c | 38 ++ 26 files changed, 2316 insertions(+), 79 deletions(-) create mode 100644 include/ump.h create mode 100644 include/ump_msg.h create mode 100644 src/rawmidi/ump.c create mode 100644 src/rawmidi/ump_local.h -- 2.35.3