Skip to content

Commit

Permalink
Add hardware configuration for genXnoise devices (#768)
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd authored Dec 23, 2024
1 parent e9751e6 commit ffb6449
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 0 deletions.
12 changes: 12 additions & 0 deletions hwconfig/customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
44 changes: 44 additions & 0 deletions hwconfig/dxeus_machina_eurorack.override
Original file line number Diff line number Diff line change
@@ -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
31 changes: 31 additions & 0 deletions hwconfig/genxnoise_desktop_module.override
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ffb6449

Please sign in to comment.