mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] ALSA: seq: ump: Fix a program change and test more conversions
@ 2026-12-02  7:32 HyeongJun An
  2026-12-02  7:32 ` [PATCH 1/4] ALSA: seq: ump: Don't leave the bank LSB in a MIDI 1.0 program change HyeongJun An
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: HyeongJun An @ 2026-12-02  7:32 UTC (permalink / raw)
  To: Takashi Iwai
  Cc: Jaroslav Kysela, Mark Brown, Shuah Khan, linux-sound,
	linux-kselftest, linux-kernel, HyeongJun An

While adding tests for the sequencer UMP conversion of program changes,
SysEx and system messages, I found that a MIDI 2.0 program change with
a bank reaches a UMP MIDI 1.0 client with the bank LSB still in its
reserved byte. Patch 1 fixes it.

Patches 2-4 extend seq-ump-test. The tests cover conversions that
earlier commits fixed, and reverting any of the commits they name makes
at least one of them fail. ump_midi2_to_midi1_program in patch 2 also
needs patch 1. All 38 tests pass on sound/for-next with patch 1, run
under QEMU.

Prepared with Claude Code (Claude Opus 5.5).

HyeongJun An (4):
  ALSA: seq: ump: Don't leave the bank LSB in a MIDI 1.0 program change
  selftests/alsa: Test the sequencer UMP bank and program change
    conversion
  selftests/alsa: Test the sequencer UMP SysEx conversion
  selftests/alsa: Test the sequencer UMP system message conversion

 sound/core/seq/seq_ump_convert.c            |   1 +
 tools/testing/selftests/alsa/seq-ump-test.c | 159 +++++++++++++++++++-
 2 files changed, 158 insertions(+), 2 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-12-02  7:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-02  7:32 [PATCH 0/4] ALSA: seq: ump: Fix a program change and test more conversions HyeongJun An
2026-12-02  7:32 ` [PATCH 1/4] ALSA: seq: ump: Don't leave the bank LSB in a MIDI 1.0 program change HyeongJun An
2026-12-02  7:32 ` [PATCH 2/4] selftests/alsa: Test the sequencer UMP bank and program change conversion HyeongJun An
2026-12-02  7:32 ` [PATCH 3/4] selftests/alsa: Test the sequencer UMP SysEx conversion HyeongJun An
2026-12-02  7:32 ` [PATCH 4/4] selftests/alsa: Test the sequencer UMP system message conversion HyeongJun An

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®