USB MIDI support #610
Replies: 4 comments 4 replies
-
are you using the same cfw generated from your modified buildroot? |
Beta Was this translation helpful? Give feedback.
-
To have MIDI gadget at your disposal, you have to enable specific kernel modules, thus in MiyooCFW/kernel: diff --git a/arch/arm/configs/miyoo_defconfig b/arch/arm/configs/miyoo_defconfig
index 56fdf7362..d1bdeae7f 100644
--- a/arch/arm/configs/miyoo_defconfig
+++ b/arch/arm/configs/miyoo_defconfig
@@ -80,6 +80,7 @@ CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
CONFIG_SOUND=y
CONFIG_SND=y
# CONFIG_SND_VERBOSE_PROCFS is not set
+CONFIG_SND_SEQUENCER=m
CONFIG_SND_ALOOP=m
# CONFIG_SND_ARM is not set
CONFIG_SND_SOC=y
@@ -95,6 +96,7 @@ CONFIG_USB_CONFIGFS=y
CONFIG_USB_CONFIGFS_F_HID=y
CONFIG_USB_FUNCTIONFS=m
CONFIG_USB_G_SERIAL=m
+CONFIG_USB_MIDI_GADGET=m
CONFIG_USB_G_HID=m
CONFIG_MMC=y
CONFIG_MMC_SUNXI=y Then you can look for This have not been tested I believe for F1C100S, so you may lower your expectactions as there is little support for this SOC in sunxi community. |
Beta Was this translation helpful? Give feedback.
-
Looking at
You say |
Beta Was this translation helpful? Give feedback.
-
That does indeed appear to be the right order. I no longer see the the unable to create alsa client errors but there doesn't seem to be any midi devices anyway. I tried calling modprobe g_midi and modprobe g_midi index=1 before running lgpt but no success |
Beta Was this translation helpful? Give feedback.
-
I've been attempting to add support for usb midi for LittleGPTracker (github.com/djdiskmachine/littlegptracker) like it has on raspberry pi and other platforms.
I used the cfw buildroot repo to build the .s0 files that were missing in the toolchain and enabled the rtmidi modules for Bittboy(fw 2.0.0 Beta 2 ). LGPT starts with these messages in the log.
[ERROR] Couldn't get RtMidiIn object
[ERROR] RtMidiIn::initialize: error creating ALSA sequencer input client objec
t.
[ERROR] Couldn't get RtMidiOut object
[ERROR] RtMidiOut::initialize: error creating ALSA sequencer client object.
This is after ld_preload of rtmidi.s0 before starting lgot.
Not sure how to progress from here, any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions