Enable MIDI 2.0 / UMP support (SND_UMP, SND_USB_AUDIO_MIDI_V2, USB_CONFIGFS_F_MIDI2) in the Pi kernel configs
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 72/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- linux
- Domain
- audio-video-rtc, embedded-iot, operating-systems
Research direction
Start by locating bcm2711_defconfig and bcm2712_defconfig, then check the corresponding 32-bit configs and the existing USB_CONFIGFS_F_MIDI setting. Compare the requested SND_UMP, sequencer UMP, USB MIDI 2.0, and MIDI2 gadget symbols with the kernel configuration options. Done means the requested symbols are enabled consistently and the Pi kernel configuration builds successfully.
Written by the indexing model from the issue text.
Description
Raspberry Pi OS kernels currently ship with all ALSA MIDI 2.0 / UMP options disabled. The support has been upstream since kernel 6.5 (refined through 6.12, which the Pi kernels are based on), and Trixie's userspace is already fully UMP-capable (alsa-lib 1.2.14, alsa-utils with aseqdump -u 2 / aplaymidi2), so the kernel configs are the only missing piece for MIDI 2.0 hardware support on the Pi.
Request: enable in bcm2711_defconfig / bcm2712_defconfig (and the 32-bit configs if practical):
CONFIG_SND_UMP=m # (selected by the below)
CONFIG_SND_UMP_LEGACY_RAWMIDI=y # legacy rawmidi bridge per UMP group
CONFIG_SND_SEQ_UMP=y # sequencer UMP event support
CONFIG_SND_SEQ_UMP_CLIENT=m
CONFIG_SND_USB_AUDIO_MIDI_V2=y # USB MIDI 2.0 (bool inside snd-usb-audio)
CONFIG_USB_CONFIGFS_F_MIDI2=m # USB MIDI 2.0 gadget (f_midi2)
Rationale / precedent:
- Ubuntu enables exactly these (noble:
SND_UMP=m,SND_USB_AUDIO_MIDI_V2=y,USB_CONFIGFS_F_MIDI2=y), as do Fedora and Arch. - Cost when unused is negligible:
SND_USB_AUDIO_MIDI_V2only changes probing for devices that actually expose a MIDI 2.0 altsetting (MIDI 1.0 devices are handled exactly as before), and module optionsmidi2_enable=0/midi2_ump_probe=0exist as escape hatches. - The Pi is a popular platform for MIDI hubs/routers and synth projects; MIDI 2.0 controllers (Roland A-88MKII, Korg Keystage, NI Kontrol S MK3, newer Akai MPKs) are shipping now, and the
f_midi2gadget would let Pi-based devices present themselves as USB MIDI 2.0 peripherals with automatic 1.0 fallback. USB_CONFIGFS_F_MIDI(the MIDI 1.0 gadget) is already enabled, sof_midi2is the natural counterpart.
Happy to test on Pi 3B+/4/5 hardware — we maintain a Pi-based MIDI appliance (RaspiMIDIHub) and have verified that the equivalent module set builds and runs on 6.12.75+rpt.
- Dominant language
- C
- Stars
- 13.2k
- Forks
- 5.5k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 21
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from raspberrypi/linux
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
raspberrypi/linux#7415 · 2 comments · 1 reaction ·
-
rp1-cfe doesn't forward V4L2_EVENT_SOURCE_CHANGE event from csi-2 sensor driver to userspace app Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
raspberrypi/linux#7399 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
raspberrypi/linux#7357 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
raspberrypi/linux#7054 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
raspberrypi/linux#7634 · 8 comments · 1 reaction ·
All issues in raspberrypi/linux
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
zephyrproject-rtos/zephyr#119726 ·
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
BasedHardware/omi#15320 ·
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·