Subject: Re: Toshiba Tecra 8000 & sound
To: Jukka Marin <jmarin@pyy.jmp.fi>
From: Benjamin Lorenz <lorenz@inetmail.de>
List: port-i386
Date: 05/13/1999 21:35:17
> >   wss0 at isa0 port 0x530-0x537 irq 10 drq 0 drq2 1: CS4231 or AD1845
> >   audio0 at wss0: full duplex
> 
> What happens if you copy a file to /dev/audio ?  Maybe you have an interrupt
> problem?  (Wild guessing..)

I investigated further: I have a Yamaha OPL3-SAx chip, but somehow,
it is NOT detected by the isapnp code. The BIOS says, control address
is 538H, WSS I/O = 530H, SB Pro I/O = 220H, IRQ 10

Windows uses opl3sa32.dll as driver.

What can I do to make NetBSD detect the chip?
My config file looks like this right now:

# ISA Plug-and-Play audio devices
sb*     at isapnp?                      # SoundBlaster-compatible audio
wss*    at isapnp?                      # Windows Sound System
ym*     at isapnp?                      # Yamaha OPL3-SA3 audio

# ISA audio devices
# the "aria" probe might give false hits
sb0     at isa? port 0x220 irq 5 drq 1 drq2 5   # SoundBlaster
wss0    at isa? port 0x530 irq 10 drq 0 drq2 1  # Windows Sound System

# OPL[23] FM syntheziers
opl*    at sb?

# Audio support
audio*  at sb?
audio*  at wss?
audio*  at ym?

# MIDI support
midi*   at pcppi?               # MIDI interface to the PC speaker
midi*   at sb?                  # SB MPU401 port
midi*   at opl?                 # OPL FM synth

# The spkr driver provides a simple tone interface to the built in speaker.
spkr0   at pcppi?               # PC speaker


dmesg says (tried lots of permutations of #'s --
 finally defined DEBUG_ISAPNP):

sb0 at isa0 port 0x220-0x237 irq 5 drq 1: dsp v3.01
midi0 at sb0: <SB MIDI UART>
audio0 at sb0: half duplex
opl0 at sb0: model OPL3
midi1 at opl0: <SB Yamaha OPL3>
wss0 at isa0 port 0x530-0x537 irq 10 drq 0 drq2 1: CS4231 or AD1845
audio1 at wss0: full duplex
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
isapnp0: Trying port 203 isapnp0: Trying port 207 [...]
 Trying port 3ef isapnp0: no ISA Plug 'n Play devices found

What next can I try?

-- 
Benjamin.Lorenz@gmx.de                                +49 {700,172} 6805100{0,}