Re: [PATCH] ALSA: usb-audio: keep MIDI input running for Roland TD-11
From: Takashi Iwai
Date: Mon Sep 14 2026 - 12:26:38 EST
On Sat, 12 Sep 2026 05:28:42 +0200,
Nicholas Hobson wrote:
>
> From cbb4e446c3278aa99b34e622ac7ccef3e6d98d5b Mon Sep 17 00:00:00 2001
> From: Nicholas Hobson <nicholas.hobson@xxxxxxxxxxx>
> Date: Fri, 11 Sep 2026 21:58:09 -0400
> Subject: [PATCH] ALSA: usb-audio: keep MIDI input running for Roland TD-11
(Those lines look superfluous. Please avoid it at the next time.)
> The TD-11 hands MIDI handling off to the host once connected via
> USB. If no MIDI input port is opened on the host, the device itself
> becomes unusable as a standalone instrument until its input is
> serviced, independent of anything happening on the computer.
>
> Add a per-device keep_input_running flag, set for the TD-11 in
> snd_usbmidi_detect_roland(), and check it alongside the existing
> opened[1] check in snd_usbmidi_input_start()/snd_usbmidi_input_stop()
> so that input is started at device creation and never stopped for
> these devices, regardless of whether a client has the input port
> open.
>
> Signed-off-by: Nicholas Hobson <nicholas.hobson@xxxxxxxxxxx>
Applied to for-next branch now. Thanks.
Takashi