This is a series of patches for alsa-lib to add the support of MIDI 2.0 features, corresponding to the kernel patches that have been submitted recently: https://lore.kernel.org/r/20230519093114.28813-1-tiwai@xxxxxxx The API extensions are minimalistic, and only a few basic accessors have been defined. Takashi --- Takashi Iwai (8): uapi: Update rawmidi API to 2.0.3 rawmidi: Add UMP ioctl support ump: Add initial support control: Add UMP device 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 | 1 + include/local.h | 4 + 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 | 58 ++- include/ump.h | 119 ++++++ include/ump_msg.h | 598 +++++++++++++++++++++++++++ src/Versions.in | 23 ++ src/control/control.c | 14 + src/control/control_hw.c | 9 + src/control/control_local.h | 1 + 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, 2261 insertions(+), 78 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