Skip to content

ALSA: Small extensions for UMP

Takashi Iwai linux-sound 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8ALSA: rawmidi: Expose the tied device number in info ioctlDocumentation/sound/designs/midi-2.0.rst include/sound/rawmidi.h include/uapi/sound/asound.h +2 more+15 -12 replies
2/8ALSA: rawmidi: Show substream activity in info ioctlDocumentation/sound/designs/midi-2.0.rst include/sound/rawmidi.h include/uapi/sound/asound.h +2 more+15 -40 replies
3/8ALSA: rawmidi: Bump protocol version to 2.0.5include/uapi/sound/asound.h+1 -10 replies
4/8ALSA: ump: Copy FB name string more safelysound/core/ump.c+31 -90 replies
5/8ALSA: ump: Copy safe string name to rawmidisound/core/ump.c+11 -20 replies
6/8ALSA: ump: Update rawmidi name per EP name updatesound/core/ump.c+23 -40 replies
7/8ALSA: seq: Allow system notification in atomicsound/core/seq/seq_clientmgr.c sound/core/seq/seq_system.c sound/core/seq/seq_system.h+19 -130 replies
8/8ALSA: seq: Notify UMP EP and FB changesDocumentation/sound/designs/midi-2.0.rst include/sound/ump.h include/uapi/sound/asequencer.h +4 more+97 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] ALSA: Small extensions for UMP

Hi,

this is a series of changes for rawmidi and sequencer APIs for handling the missing piece for UMP v1.1.

UMP v1.1 allows the device updating the Endpoint and the Function Block information dynamically. The current driver already handles it, but a few things are still missing:
* The update of rawmidi name
* Notification of EP and FB update via sequencer
The patches cover those missing info.

Also, the current implementation doesn't give a clear idea which UMP rawmidi device is tied with the legacy rawmidi. The rawmidi info is extended to indicated the tied device number.

Last but not least, the UMP EP and FB info strings are copied as-is, which isn't good for the id strings. The copy operation is changed to be a safer form.

Takashi

===

Takashi Iwai (8):
ALSA: rawmidi: Expose the tied device number in info ioctl
ALSA: rawmidi: Show substream activity in info ioctl
ALSA: rawmidi: Bump protocol version to 2.0.5
ALSA: ump: Copy FB name string more safely
ALSA: ump: Copy safe string name to rawmidi
ALSA: ump: Update rawmidi name per EP name update
ALSA: seq: Allow system notification in atomic
ALSA: seq: Notify UMP EP and FB changes

 Documentation/sound/designs/midi-2.0.rst |  18 ++++
 include/sound/rawmidi.h                  |   2 +
 include/sound/ump.h                      |   1 +
 include/uapi/sound/asequencer.h          |  12 ++-
 include/uapi/sound/asound.h              |   8 +-
 sound/core/rawmidi.c                     |   4 +
 sound/core/seq/seq_clientmgr.c           |  12 ++-
 sound/core/seq/seq_system.c              |   9 +-
 sound/core/seq/seq_system.h              |  31 +++++--
 sound/core/seq/seq_ump_client.c          |  40 +++++++-
 sound/core/ump.c                         | 113 ++++++++++++++++++-----
 11 files changed, 211 insertions(+), 39 deletions(-)
Signature · 1 line
2.43.0