Configure genxnoise_desktop_module as USB gadget

pull/768/head
probonopd 3 months ago committed by GitHub
parent 9eeea2ee0a
commit 55ccc988e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 12
      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

Loading…
Cancel
Save