Skip to contentSkip to conversation

SB AWE32 & RH 6.0, MIDI not working!

DISCUSSION Ricardo Peres 3 participants 4 messages May 16, 1999 – May 19, 1999 Sound

lore
Share & tools
lore
#0 lore raw

Hello,

Sorry, it's a long mail! I include much info... :-(
I have this problem: my sound card works great, except for MIDI. When I try to run "modprobe awe_wave io=0x620", it waits for ever! I am now using RH 6.0 (kernel 2.2.5, correctly configured, I suppose), I have a SB AWE32 PnP and my configuration is as follows:

# lsmod
Module                  Size  Used by
v_midi                  4916   0
nls_iso8859-1           2020   1  (autoclean)
nls_cp860               3292   1  (autoclean)
vfat                   11516   1  (autoclean)
fat                    25664   1  (autoclean) [vfat]
opl3                   11208   0
sb                     33204   0
uart401                 5968   0  [sb]
sound                  57208   0  [v_midi opl3 sb uart401]
soundlow                 300   0  [sound]
soundcore               2372   8  [sb sound]
# cat /dev/sndstat

OSS/Free:3.8s2++-971130
Load type: Driver loaded as a module
Kernel: Linux replicant 2.2.5-15 #2 Sat May 15 22:50:52 WEST 1999 i586 Config options: 0

Installed drivers:

Card config:

Audio devices:
0: Sound Blaster 16 (4.13)

Synth devices:
0: Yamaha OPL3

Midi devices:
0: Loopback MIDI Port 1
1: Loopback MIDI Port 2

Timers:
0: System clock

Mixers:
0: Sound Blaster

# cat /etc/conf.modules

alias sound sb
options -k sb io=0x220 irq=5 dma=1 dma16=5
alias midi opl3
options -k opl3 io=0x388
alias sbawe awe_wave
options -k awe_wave io=0x620

# cat /etc/rc.d/rc.modules

#!/bin/sh
modprobe sbawe
modprobe v_midi
sfxload /etc/midi/GU11-ROM.SF2

# cat /etc/isapnp.conf

(READPORT 0x020b)
(ISOLATE PRESERVE)
(IDENTIFY *)
(VERBOSITY 2)

(CONFIGURE CTL0048/268514832 (LD 0
(INT 0 (IRQ 5 (MODE +E)))
(DMA 0 (CHANNEL 1))
(DMA 1 (CHANNEL 5))
(IO 0 (SIZE 16) (BASE 0x0220))
(IO 1 (SIZE 2) (BASE 0x0330))
(IO 2 (SIZE 4) (BASE 0x0388))
(NAME "CTL0048/268514832[0]{Audio }")
(ACT Y)
))

(CONFIGURE CTL0048/268514832 (LD 1
(NAME "CTL0048/268514832[1]{IDE }")
))

(CONFIGURE CTL0048/268514832 (LD 2
(IO 0 (SIZE 4) (BASE 0x0620))
(NAME "CTL0048/268514832[2]{WaveTable }")
(ACT Y)
))

(CONFIGURE CTL0048/268514832 (LD 3
(IO 0 (SIZE 8) (BASE 0x0200))
(NAME "CTL0048/268514832[3]{Game }")
(ACT Y)
))

(WAITFORKEY)

All values are OK: isapnp runs fine at boot time, and all other modules, except for awe_wave are loaded correctly...
If you have any suggestions, I would greatly appreciate hearing them!

Thanks in advance!

-----------------------------------------------------------------------------
Ricardo Peres
E-mail: [email protected]
ICQ UIN: 708926
TM: 0931 9459192
Departamento de Engenharia Informática
Universidade de Coimbra
PORTUGAL
-----------------------------------------------------------------------------

#1 lore raw
Quoted 2 lines · Ricardo Peres

alias sbawe awe_wave
options -k awe_wave io=0x620

Actually, you don't need to specify an io port here for the awe module.

Add after this line in your isapnp.conf file:

Quoted 1 line

(IO 0 (SIZE 4) (BASE 0x0620))

(IO 1 (SIZE 4) (BASE 0x0A20))
(IO 2 (SIZE 4) (BASE 0x0E20))

Then re-run isapnp and try to load the module - does that help?

Bill

#2 lore raw
In reply to Ricardo Peres

Yep, thanks, I had already found!
By the way, my MIDI sound is not very good... Using Windows I can choose between 2 (or 3...) MIDI devices, and AWE Synth gives much better sound. How do I do this with Linux?

Thanks, again!

-----------------------------------------------------------------------------
Ricardo Peres
E-mail: [email protected]
ICQ UIN: 708926
TM: 0931 9459192
Departamento de Engenharia Informática
Universidade de Coimbra
PORTUGAL
-----------------------------------------------------------------------------

Quoted 16 lines · Bill Nottingham
Quoted 2 lines · Ricardo Peres

alias sbawe awe_wave
options -k awe_wave io=0x620

Actually, you don't need to specify an io port here for the awe module.

Add after this line in your isapnp.conf file:

Quoted 1 line

(IO 0 (SIZE 4) (BASE 0x0620))

(IO 1 (SIZE 4) (BASE 0x0A20))
(IO 2 (SIZE 4) (BASE 0x0E20))

Then re-run isapnp and try to load the module - does that help?

Bill

#3 lore raw
In reply to Ricardo Peres

I believe that you may be hearing the FM synthesizer and not the wavetable on the AWE card. I believe that the OSS/Free drivers do NOT support the wavetable on the AWE cards so you have to use FM synthesis to play MIDI. I know that if you purchase the OSS driver for the AWE cards with the EMU8000 (wavetable) extension from the makers of the OSS drivers (4front-tech) that the wavetable will be fully supported and you won't need isapnptools for your sound card at all. Nor will you need sound support compiled into your kernel.

Quoted 10 lines · --- Ricardo Peres

Yep, thanks, I had already found!
By the way, my MIDI sound is not very good... Using Windows I can choose
between 2 (or 3...) MIDI devices, and AWE Synth gives much better sound.
How do I do this with Linux?

Thanks, again!

-----------------------------------------------------------------------------

Quoted 8 lines

Ricardo Peres
E-mail: [email protected]
ICQ UIN: 708926
TM: 0931 9459192
Departamento de Engenharia Informática
Universidade de Coimbra
PORTUGAL

-----------------------------------------------------------------------------

Quoted 10 lines · Bill Nottingham
Quoted 6 lines
Quoted 2 lines · Ricardo Peres

alias sbawe awe_wave
options -k awe_wave io=0x620

Actually, you don't need to specify an io port

here for the awe module.

Quoted 1 line
Quoted 13 lines
Quoted 6 lines

Add after this line in your isapnp.conf file:

Quoted 1 line

(IO 0 (SIZE 4) (BASE 0x0620))

(IO 1 (SIZE 4) (BASE 0x0A20))
(IO 2 (SIZE 4) (BASE 0x0E20))

Then re-run isapnp and try to load the module -

does that

Quoted 4 lines

help?

Bill

=Jaimie Thomas <[email protected]>

"If you're searching for Truth, don't search within
yourself - you're the one who's confused!" - Frank Peretti

_____________________________________________________________
Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com