Subject: Re: PNP sb0 device not recognized
To: William O Ferry <WOFerry+@CMU.EDU>
From: Bill Studenmund <skippy@macro.stanford.edu>
List: port-i386
Date: 09/23/1998 11:59:29
On Wed, 23 Sep 1998, William O Ferry wrote:

>     It's a BTC 1817DS.  It claims to be SB, SBPro, and WSS compatible. 
> The board is detected by my BIOS, and works fine in Windows 95.  Built a
> kernel with isapnp and all the isapnp sound boards / audio devices
> active.  Originally it printed a line like (it's already out of dmesg,
> so I'm printing it from memory) "isapnp0: <OPTi Audio 16, OPT9301, ,
> OPTi Audio 16> port 0x534/4,0x380/12,0x220/16,0xe0c/4 irq 5 drq 0,0 not
> configured".  For the heck of it I pitched the OPT9301 in the isapnpdevs
> file as a sb device, and rebuilt the kernel.  Here's the relevant dmesg
> output:

Is it a 9310, not a 9301? My sound card gives the same line (inclding the
OPTi Audio 16 stuff), except it's a 9310.

I've gotten the joystick port, and recently the IDE port, working, but
never got the sound card going. Actually if I weren't looking for ajob, it
shouldn't be too hard to get the 401 working.

The two problems I ran into were that the ad1848 expected an io range in
which it was the upper four of eight bytes. For this card, you only get
the exact 4 bytes needed. So I was going to change the ad1848 code to use
a subrange which was just its four bytes. That would be the 534/4 range in
this I/O card.

Also, I never got the MAD i/o code to work right with this card. :-(

> isapnp0: read port 0x203
> isapnp0: <OPTi Audio 16, OPTFFFF, , AUX0> not configured
> sb1 at isapnp0 port 0x534/4,0x380/12,0x220/16,0xe0c/4 irq 5 drq 0,0
> sb1: sbmatch failed
> joy1 at isapnp0 port 0x200/1
> joy1: OPTi Audio 16 Game Port
> joy1: joystick connected
> isapnp0: <OPTi Audio 16, OPT0002, , MPU401> port 0x300/2 irq 5 not configured
> 
>     So what's necessary to get this "sbmatch" to work?  Or am I going
> about this completely the wrong way?
> 
>     If somebody can drop a few hints / tell me what I'm doing wrong I'll
> happily submit the PR to support this board.  Thanks in advance.

I'm happy to help. If you get -current, you should get the IDE support.

Take care,

Bill