From e9f90b0694cef1e2206b1ea5d350bbe3d53ae48d Mon Sep 17 00:00:00 2001 From: probonopd Date: Sat, 9 Dec 2023 17:52:39 +0100 Subject: [PATCH] Patch Circle USB strings So that descriptive strings are used in dmesg and in DAWs --- build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.sh b/build.sh index 9e8fc7a..594824c 100755 --- a/build.sh +++ b/build.sh @@ -29,6 +29,10 @@ if [ "${USB_DID}" ] ; then OPTIONS="${OPTIONS} -o USB_GADGET_DEVICE_ID=${USB_DID}" fi +# Patch Circle so that descriptive strings are used in dmesg and in DAWs +sed -i -e 's|"Circle"|"probonopd"|g' circle-stdlib/libs/circle/lib/usb/gadget/usbmidigadget.cpp +sed -i -e 's|"MIDI Gadget"|"MiniDexed"|g' circle-stdlib/libs/circle/lib/usb/gadget/usbmidigadget.cpp + # Build circle-stdlib library cd circle-stdlib/ make mrproper || true