Skip to contentSkip to conversation

2.1.127 opl3sa2 Yamaha OPL3SAx driver works?

DISCUSSION Radu Raduta 1 participant 1 message Nov 8, 1998 Sound

lore
Share & tools
lore
#0 lore raw

Hi all!
First of all, i'd like to know if this driver (opl3sa2 from 2.1.127 version kernel) is operational, becouse i couldn't make it work, neither as a module, or as a built-in driver.

My configuration is an OPL3-SA3 (i think...), and it works with isapnp & WSS+OPL3+MPU401 drivers. Still, i'd like to see a more specific driver, one that will at least configure my mixer right.

I would like to know if anyone succesfully installed the mentioned driver, and how. It wants several parameters:
=============
io = 0x370 : i used what the "SETUPSA.EXE" program reports for CTRL
wich is configured in the isapnp.conf file as "IO 4" for logical device 0 (is that what LD stands for ?)
mss_io = 0x530 : this is the WSS/MSS io - configured as IO 1 on LD 0
by isapnp
mpu_io = 0x330 : the MPU401 io port - configured as IO 3 on LD 0
irq = 5 : the card's irq - INT 0 for LD 0
dma = 0 : DMA 0 for LD 0 configured as CHANNEL 0
dma2= 1 : DMA 1 for LD 0 configured as CHANNEL 1
=============

On modprobe opl3sa2 with parameters in /etc/config.modules it outputs:

=============
ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996 done emptying slots
opl3sa2.c: Control using I/O port 0x370
opl3sa2.c: trying to init!
opl3sa2 found and attached
MSS: I/O port conflict
mss not found!
/lib/modules/2.1.127/misc/opl3sa2.o: init_module: Device or resource busy
sound: Device or resource busy
=============

Note that some of the mesages are "home-made" - used printk in the source to see the program flow.

After crashing, it leaves the mpu401, sound and soundcore modules installed, but an
cat /proc/ioports
gives :
============

Unable to handle kernel paging request at virtual address c18414c8
current->tss.cr3 = 003cc000, %cr3 = 003cc000
*pde = 00ec0063
*pte = 00000000
Oops: 0000
CPU:    0
EIP:    0010:[<c01b8c6b>]
EFLAGS: 00010297
eax: c18414c8   ebx: ffffffff   ecx: c18414c8   edx: fffffffe
esi: ffffffff   edi: c0db9104   ebp: 00000000   esp: c0c41eec
ds: 0018   es: 0018   ss: 0018
Process cat (pid: 423, process nr: 28, stackpage�c41000)
Stack: c0db9000 00000c00 c03cb12c 00000001 00000001 ffffffff 0000001b
c03cb12c
       c01b8e54 c0db90f8 c01bf708 c0c41f34 c011ad68 c0db90f8 c01bf6f9
00000370
       00000371 c18414c8 00000000 c0c41f90 c0ac2d9c c014c256 c0db9000
c0db9000
Call Trace: [<c01b8e54>] [<c01bf708>] [<c011ad68>] [<c01bf6f9>]
[<c18414c8>] [<c014c256>] [<c014c45e>]
       [<c0129646>] [<c0108d54>]
Code: 80 38 00 74 07 40 4a 83 fa ff 75 f4 29 c8 89 c6 f7 c5 10 00

Segmentation fault
=============

What to do ?

Thanx alot for your time.

Radu