Files
mestre/br2_external/board/x6200/linux/linux-midi.fragment
2026-05-02 22:12:59 +02:00

38 lines
1.1 KiB
Plaintext

# Mestre kernel config fragment — evdev + ALSA MIDI sequencer
#
# Applied on top of linux.config via BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES.
# These symbols are required for mestred (the evdev→ALSA MIDI bridge).
#
# Many of these may already be set in linux.config; the fragment is kept
# separate to make the MIDI dependency explicit and easy to trace.
# Input subsystem — evdev is the interface mestred reads
CONFIG_INPUT_EVDEV=y
CONFIG_INPUT_KEYBOARD=y
CONFIG_INPUT_MISC=y
# HID (USB MIDI devices, in case we ever attach one)
CONFIG_HID=y
CONFIG_UHID=y
# ALSA core
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
# ALSA Sequencer — the MIDI bus mestred publishes to
CONFIG_SND_SEQ_DEVICE=y
CONFIG_SND_SEQUENCER=y
CONFIG_SND_SEQ_MIDI=y
CONFIG_SND_SEQ_MIDI_EVENT=y
CONFIG_SND_RAWMIDI=y
CONFIG_SND_DRIVERS=y
# Virtual soundcard — useful for testing piHPSDR MIDI mapping on the bench
# without needing the actual X6200 input devices.
CONFIG_SND_DUMMY=m
# Expose kernel config via /proc/config.gz (useful for debugging)
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y