diff --git a/hwconfig/customize.sh b/hwconfig/customize.sh index 687b568..73b3485 100755 --- a/hwconfig/customize.sh +++ b/hwconfig/customize.sh @@ -29,5 +29,17 @@ for file in *.override; do fi fi + # Configure genxnoise_desktop_module as USB gadget (as intended by the manufacturer) + case "$file" in + *genxnoise_desktop_module*) + echo "" >> "$name_of_ini_file" + echo "# CAUTION: To prevent hardware damage, DO NOT use the port labeled 'PWR'" >> "$name_of_ini_file" + echo "# (the microUSB port near the edge of the device) when USBGadget is set to 1!" >> "$name_of_ini_file" + echo "# You need to disable USBGadget if you would like to use that port!" >> "$name_of_ini_file" + echo "# See https://github.com/probonopd/MiniDexed/wiki/Hardware#usb-gadget-mode for more information" >> "$name_of_ini_file" + echo "USBGadget=1" >> "$name_of_ini_file" + ;; + esac + echo "Created $name_of_ini_file" done diff --git a/hwconfig/dxeus_machina_eurorack.override b/hwconfig/dxeus_machina_eurorack.override new file mode 100644 index 0000000..6e1ed46 --- /dev/null +++ b/hwconfig/dxeus_machina_eurorack.override @@ -0,0 +1,44 @@ +# genXnoise dXeus machina +# https://www.genxnoise.com/product-page/dxeus-machina-minidexed-eurorack-format + +SoundDevice=i2s +SampleRate=48000 +DACI2CAddress=0 +ChannelsSwapped=0 + +MIDIThru=ttyS1,ttyS1 + +LCDEnabled=1 +LCDPinEnable=17 +LCDPinRegisterSelect=4 +LCDPinReadWrite=0 +LCDPinData4=22 +LCDPinData5=23 +LCDPinData6=24 +LCDPinData7=25 +LCDI2CAddress=0x00 + +SSD1306LCDI2CAddress=0x3c +SSD1306LCDWidth=128 +SSD1306LCDHeight=32 +SSD1306LCDRotate=0 +SSD1306LCDMirror=0 + +LCDColumns=20 +LCDRows=2 + +ButtonPinPrev=0 +ButtonActionPrev= +ButtonPinNext=0 +ButtonActionNext= +ButtonPinBack=11 +ButtonActionBack=longpress +ButtonPinSelect=11 +ButtonActionSelect=click +ButtonPinHome=11 +ButtonActionHome=doubleclick +ButtonPinShortcut=11 + +EncoderEnabled=1 +EncoderPinClock=9 +EncoderPinData=10 diff --git a/hwconfig/genxnoise_desktop_module.override b/hwconfig/genxnoise_desktop_module.override new file mode 100644 index 0000000..14f1192 --- /dev/null +++ b/hwconfig/genxnoise_desktop_module.override @@ -0,0 +1,31 @@ +# genXnoise desktop module +# https://www.genxnoise.com/product-page/minidexed-midi-tone-module + +SoundDevice=i2s +DACI2CAddress=0 +ChannelsSwapped=0 + +LCDEnabled=1 +LCDPinEnable=17 +LCDPinRegisterSelect=4 +LCDPinReadWrite=0 +LCDPinData4=22 +LCDPinData5=23 +LCDPinData6=24 +LCDPinData7=25 +LCDI2CAddress=0x00 + +SSD1306LCDI2CAddress=0x3c +SSD1306LCDWidth=128 +SSD1306LCDHeight=32 +SSD1306LCDRotate=0 +SSD1306LCDMirror=0 + +LCDColumns=20 +LCDRows=2 + +EncoderEnabled=1 +EncoderPinClock=10 +EncoderPinData=9 + +USBGadget=1