Troubleshooting
Device or resource busy
Section titled “Device or resource busy”Another process is reading the raw port. The TUI can hold it while it runs; a
crashed instance, a DAW, or a background amidi -d can hold it after it exits.
pgrep -af 'mvave|amidi'fuser -v /dev/snd/midiC5D0fuser -k /dev/snd/midiC* # last resort; not while a DAW is recordingThen start the TUI again. If it happens every time you close and reopen, quit
with q rather than killing the terminal, so the fd is released.
mode not read yet
Section titled “mode not read yet”The read request was sent but no settings reply arrived. Check:
- the pedal is in U mode, not HOST;
- the cable is a data cable;
amidi -p hw:X,0,0 -S <read request> -d --timeout 3gets a0D 49reply;- nothing else holds the port.
A reply cut off mid-frame is reassembled by the read loop; a reply that never starts usually means the request never reached the pedal.
The header shows [device mode=00?]
Section titled “The header shows [device mode=00?]”That is the table screen telling you it read mode 0x00 (Program Change A) but
does not draw that mode. It is not an error. Use m to switch to a mode the
pedal screen understands, or stay on the table for CC editing.
My Chocolate Plus shows the table, not the pedal screen
Section titled “My Chocolate Plus shows the table, not the pedal screen”Model recognition is shape-based: the TUI needs the decoded configuration to
look like the layout it knows. A Plus whose settings differ (or a firmware
whose layout changed) can fail that check and fall back to the table. This is
the safe outcome — do not press s, which would write the original model’s
sixteen-position layout over the Plus’s message lists. Export a backup (x)
and report the read.
Recognition can also change with the pedal’s mode: a Plus may show the table in one mode and be mistaken for the original Chocolate in another. Use the label on the pedal, not only the header, and never write when the two disagree.
Writes report success but the pedal behaves the same
Section titled “Writes report success but the pedal behaves the same”- The pedal may need the live copy: the pedal screen writes both addresses; verify the read-back value changed.
- The mode may be wrong. Keyboard, media and video modes send HID, not MIDI, so the receiving device sees nothing. Check the pedal’s display.
- The receiving device may use a different channel or value pair. See the mode value trap.
- Firmware updates reset settings; reapply after an update.
amidi: command not found
Section titled “amidi: command not found”Install alsa-utils:
sudo pacman -S alsa-utils # Archsudo apt install alsa-utils # Debian/Ubuntusudo dnf install alsa-utils # FedoraReads work without it; writes and mode changes do not.
The pedal is not detected
Section titled “The pedal is not detected”lsusb | grep -i sinco # 4353:4b4dcat /proc/asound/cardsamidi -lNo card usually means the side switch is on HOST, the cable is charge-only, or
the kernel has not bound the USB MIDI class. Replug, then check dmesg for the
device.
Bluetooth works for notes but not for this TUI
Section titled “Bluetooth works for notes but not for this TUI”The TUI is USB-only by design. Vendor configuration over BLE uses a separate GATT tunnel; use USB for configuration and Bluetooth for performance.
Still stuck
Section titled “Still stuck”Open an issue with the output of mvave-chocolate-tui --version, amidi -l,
the pedal model, the firmware version from its display, and what the screen
shows: