There are no IRQ jumpers on the GUS,
jumper Base Address
then set ULTRASND variable accordingly (and ULTRADIR)
run ultrinit.exe
nothing else required.
f.e. I have my GUS at
Port 240
Playback IRQ 7, DMA 7
Record IRQ 7, DMA 7
thus ULTRASND=240,7,7,7,7
(this resource doubling between playback and record prevents full duplex operation, but I guess no one uses a GUS this way today, it saves precious ISA hardware resources though)
Then check with some tracker playback program like cubic player or xtc-play. As rule of thumb, if DMA fails then it will freeze the system on playback start. If IRQ fails it plays the first buffer and then stops playback and can still be aborted to DOS by pressing ESC.
If a resource fails, set ULTRASND at command prompt to other settings and rerun ULTRINIT and try again.
For GM/GS and/or UltraMID support I usually use MegaEM 3.11b. You can load it even above a real hardware device at 330. MegaEM will catch those port accesses at 330 and translate them for GUS. This is a very easy way for switching MIDI playback devices.
If you just have a himem config or MegaEM fails in UltraMID operation you might as well load UltraMID.
If the specific game does not support loading instruments patches automatically, ultramid can preload instruments via command line switch (also volume setting).
If MegaEM was used in UltraMID mode it will reload the GM bank file after the game quit to command prompt automatically.
Load MegaEM or UltraMID only if you have to. I prefer to write a short game starter batch that loads those files like this:
megaem -gm
lh ultramid
game.exe
ultramid -f
megaem -u
So if MegaEM fails to load because you booted a config without EMM386/QEMM386 it will fall through to loading Ultramid. In the other case Ultramid will not load since MegaEM already gives UltraMID API.