Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hardware configuration for genXnoise devices #768

Merged
merged 4 commits into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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