Yamaha OPL3-SAx sound card problem

Yamaha OPL3-SAx sound card problem

Post by Jon Drukm » Sat, 06 Feb 1999 04:00:00



I'm using RedHat 5.2 with kernel 2.0.36 and a Yamaha OPL3-SAx
(x=2) soundcard.  I had the card working under Windows
and FreeBSD.  PnP BIOS is on.  If I turn it off, the card doesn't
work under Windows.

I read the Sound HOWTO which said to rebuild
the kernel with the sound driver, so I did that.  It sorta finds it
on reboot.  Here's dmesg:

Sound initialization started
opl3sa2.c: Control using I/O port 0x530
opl3sa2.c: trying to init!
Sound initialization complete

here's /dev/sndstat:

OSS/Free:3.8s2++-971130
Load type: Driver compiled into kernel
Kernel: Linux cluttered.com 2.0.36 #11 Fri Feb 5 08:21:03 PST 1999 i586
Config options: 0

Installed drivers:
Type 42: OPL3SA2
Type 43: OPL3SA2 MIDI
Type 1: OPL-2/OPL-3 FM
Type 5: Roland MPU-401
Type 26: MPU-401 (UART)

Card config:
(OPL3SA2 MIDI at 0x330 irq 9 drq 0)
OPL3SA2 at 0x530 irq 11 drq 0,1
(OPL-2/OPL-3 FM at 0x388 drq 0)

Audio devices:

Synth devices:

Midi devices:

Timers:
0: System clock

Mixers:

I'm wondering about that line where it says OPL3SA2 at 0x530.  Isn't
it supposed to be 0x220 with irq5 and drq1?  That's what I used under
FreeBSD.  But xconfig won't let me select 0x220 as the iobase.

Ideas?
--

-----------------------------------------------------------------------
Fear the government that fears your computer.

 
 
 

Yamaha OPL3-SAx sound card problem

Post by Rob Kom » Sat, 06 Feb 1999 04:00:00


:
: I'm wondering about that line where it says OPL3SA2 at 0x530.  Isn't
: it supposed to be 0x220 with irq5 and drq1?  That's what I used under
: FreeBSD.  But xconfig won't let me select 0x220 as the iobase.
:

I built a sound module for this chip on a laptop.  After I ran
sndconfig and it failed, I editted the /etc/conf.modules file
and replaced the options for the opl3sa2 module to:

options opl3sa2 io=0x220 mss_io=0x530 irq=5 dma=1,0 mpu_io=0x330

It seems to be working okay, although I haven't tested it extensively.

Cheers,
Rob Komar