Both the Alsa and OSS drivers for the Yamaha OPL3-SA2 don't work with kernel 
2.4 on my laptop.  OSS drivers work fine in kernel 2.2 so obviously somebody 
broke something along the way.  I've tried both auto and manual configuration 
of the soundcard in the bios / using module options.   All kernels have 
ISA-PNP compiled in. 

When I've tried manual configuration, the following ports/irq/dma are used:

With the OSS drivers:  (this works in kernel 2.2 series only)
--------------------------
insmod opl3sa2 io=0x100 mss_io=0x530 mpu_io=0x300 irq=5 dma=0 dma2=1

When I use the 2.4 kernel series, the module reports:

kernel: opl3sa2: No PnP cards found
kernel: opl3sa2: Search for a card at 0x256.
kernel: opl3sa2: Control I/O port 0x100 is not a YMF7xx chipset!

(This looks strange to me.. the YMF7xx is a PCI, not ISA sound chipset)

Also, I thought ISA pnp devices are supposed to use the port range 0x203 to 
0x3ff.  In my laptop's bios, the only port selections for manual 
configuration are 0x 100,120,140, and 160.  

With the ALSA drivers (0.9.12) + kernel 2.4.18 / also tried 2.4.19-ac2
---------------------------
#options snd-opl3sa2 snd_port=0x100 snd_sb_port=0x220 snd_wss_port=0x530 
snd_midi_port=0x300 snd_fm_port=0x388 snd_irq=5 snd_dma1=0 snd_dma2=1

The alsa driver reports:
Yamaha OPL3-SA soundcard not found or device busy

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

No interrupts are being shared, IRQ 5 is free.

My /proc/ioports looks like this:
(note: I tried configuring the PCMCIA config.opts to exclude 0x100 - 0x600 
for safety)

0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
03c0-03df : vga+
03e8-03ef : serial(set)
03f6-03f6 : ide0
0cf8-0cff : PCI conf1
1000-103f : Intel Corp. 82371AB PIIX4 ACPI
1040-105f : Intel Corp. 82371AB PIIX4 ACPI
4000-40ff : PCI CardBus #01
4000-407f : PCI device 10b7:5157
4000-407f : 01:00.0
4400-44ff : PCI CardBus #01
4800-48ff : PCI CardBus #05
4c00-4cff : PCI CardBus #05
fcd0-fcdf : Intel Corp. 82371AB PIIX4 IDE
fcd0-fcd7 : ide0
fcd8-fcdf : ide1
fce0-fcff : Intel Corp. 82371AB PIIX4 USB
fce0-fcff : usb-uhci

Any help figuring this out would be greatly appreciated.  I'm willing to hack 
on code, but I'd like to know if anyone else has resolved this issue or has a 
clue where to start.

Chris
[EMAIL PROTECTED]

_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to