I have a Toshiba 490 CDT laptop running Debian Sid 2.4.20xfs w/ a Yamaha ISA non-pnp sound card. I am taking a real beating trying to get this sound card working. Here's what I've done thus far:
Causes the machine to lock. The opl3sa2 should be the correct driver I beleive.
Code:
modprobe opl3sa2 irq=5
lsmod
Module Size Used by Not tainted
opl3sa2 7792 0 (unused)
ad1848 20684 0 [opl3sa2]
mpu401 18788 0 [opl3sa2]
sound 54540 0 [opl3sa2 ad1848 mpu401]
soundcore 3364 2 [sound]
sudo play /usr/share/sounds/startup.ogg
playing /usr/share/sounds/startup.ogg
sox: Can't open output file '/dev/dsp': No such device
:~$ locate /dev/dsp
/dev/dsp
/dev/dsp1
/dev/dsp2
/dev/dsp3
sudo chmod +x /dev/dsp
ls -al /dev/dsp
lrwxrwxrwx 1 root root 9 Jul 9 15:37 /dev/dsp -> /dev/dsp0
cat /proc/interrupts
CPU0
0: 63440 XT-PIC timer
1: 1229 XT-PIC keyboard
2: 0 XT-PIC cascade
8: 1 XT-PIC rtc
10: 39043 XT-PIC pcnet_cs
11: 5419 XT-PIC Toshiba America Info Systems ToPIC97, Toshiba America Info Systems ToPIC97 (#2), usb-uhci
12: 25 XT-PIC PS/2 Mouse
14: 12541 XT-PIC ide0
15: 5 XT-PIC ide1
NMI: 0
LOC: 0
ERR: 1
MIS: 0
I am aware that I can enter all of the I/O parameters for this card and even add them into /etc/modules to have them loaded at boot.
modinfo opl3sa2 tells me which parameters I can modprobe with and I have tried them all in various combinations but I think that my problem is here:
Code:
dmesg
Local APIC disabled by BIOS -- reenabling.
Could not enable APIC!
That isn't true- APIC is not disabled in the BIOS. None the less nothing changes when it is disabled.
Code:
Local APIC not detected. Using dummy APIC emulation.
/snip/
PCI: PCI BIOS revision 2.10 entry at 0xfa2c1, last bus=21
PCI: Using configuration type 1dsp2
PCI: Probing PCI hardware
PCI: Using IRQ router PIIX [8086/7110] at 00:05.0
PCI: Found IRQ 11 for device 00:0b.0
PCI: Sharing IRQ 11 with 00:09.0
PCI: Found IRQ 11 for device 00:0b.1
PCI: Sharing IRQ 11 with 00:05.2
PCI: Cannot allocate resource region 4 of device 00:05.1
Limiting direct PCI/PCI transfers.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
/snip/
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0820-0x08ff: clean.
cs: IO port probe 0x0800-0x080f: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x240-0x24f 0x330-0x337 0x378-0x37
f 0x388-0x38f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
Here are my BIOS settings:
WSS I/O ADDRESS =530H
SBPro I/O ADDRESS =220H
Synthesizer I/O ADDRESS =388H
WSS & SBPro & MPU401 IRQ Level =IRQ5
WSS(PLAY) DMA =Channel1
WSS(Rec.) & SBPro DMA =Channel0
CONTROL I/O ADDRESS =538H
MPU401 (MIDI & I/F) =330H
I can change the following settings:
WSS I/O ADDRESS =530H
SBPro I/O ADDRESS =220H
Synthesizer I/O ADDRESS =388H
WSS & SBPro & MPU401 IRQ Level =IRQ5
WSS(PLAY) DMA =Channel1
WSS(Rec.) & SBPro DMA =Channel0
The 'excluding' line from dmesg makes me think that it isn't working because Linux is not using those I/O addresses.
I know that this card should work but I don't know what else to try. Any ideas would be very much appreciated.