8cd796e3dd
- USB gadget (UAC1 + MIDI) with boot persistence - USB host mode with auto-detection - Pure Data synth patch with ALSA + UDP netreceive MIDI input - MIDI rawmidi-to-UDP bridge (midi-bridge.py) - LED matrix visualization (led-matrix-viz.py via arduino-router RPC) - MCU sketch for LED matrix control (Arduino_RouterBridge + ArduinoGraphics) - Conftest/OPA Rego policy validation suite for .pd files - gen_synth_pd.py: programmatic .pd file generator - System services: midi-bridge, led-matrix-viz, pd-synth-auto, usb-role-detect - Justfile with deploy, enable, diagnostic recipes - Diagnostic script (diag.sh)
15 lines
271 B
Desktop File
15 lines
271 B
Desktop File
[Unit]
|
|
Description=Detect USB role (gadget vs host)
|
|
DefaultDependencies=no
|
|
After=sysinit.target
|
|
Before=pd-synth-auto.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/local/bin/detect-usb-role.sh
|
|
RemainAfterExit=yes
|
|
StandardOutput=journal
|
|
|
|
[Install]
|
|
WantedBy=sysinit.target
|