Re: [PATCH] selftests/alsa: Add a test for the sequencer UMP conversion of RPN/NRPN
From: Takashi Iwai
Date: Tue Nov 10 2026 - 05:57:22 EST
On Tue, 10 Nov 2026 02:22:13 +0100,
HyeongJun An wrote:
>
> The sequencer converts MIDI 1.0 CC and CONTROL14 events to UMP for
> UMP clients. Add a test that sends such events from a legacy client to
> a UMP MIDI 2.0 client and checks the RPN/NRPN packets it receives, and
> one that checks that a UMP MIDI 1.0 client gets the CCs as they are.
>
> The cases cover switching between RPN and NRPN, Data Entry sent with
> nothing selected, repeated Data Entry, Null RPN and NRPN, and the
> CONTROL14 path. Some of them come from the KUnit test in Alyandra
> Zahran Nadhir's patch.
>
> The test skips when /dev/snd/seq can't be opened or the kernel has no
> UMP support in the sequencer.
>
> Link: https://lore.kernel.org/all/20261107111056.667-1-alyandra5b@xxxxxxxxx/
> Signed-off-by: HyeongJun An <sammiee5311@xxxxxxxxx>
Applied to for-next branch now. Thanks.
Takashi