Subject: Sound card problem (YMH0021)
To: None <port-i386@NetBSD.ORG>
From: Krister Walfridsson <cato@df.lth.se>
List: port-i386
Date: 04/09/1998 20:37:45
I have some problems with a stupid sound card which advertises itself as

Apr  9 20:16:58 ulysses /netbsd: isapnp0 at isa0 port 0x279: read port
0x203
Apr  9 20:16:58 ulysses /netbsd: isapnp0: <OPL3-SAX Sound Board, YMH0021, 
, > port 0x220/16,0x530/8,0x388/4,0x330/2,0x370/2 irq 5 drq 0,1 not
configured

and using current source from a couple of days ago.

Adding YMH0021 to sb_isapnp_match() doesn't help, so I searched the mail
archive, and found that Dave Stanhope suggested (for a similar board)
changing the line (in sb_isapnp_attach())

        sc->sc_drq8 = ipa->ipa_drq[0].num;
to:
        sc->sc_drq8 = ipa->ipa_drq[1].num;


I have done that, and now I'm able to play sound, but only 7 seconds, 
which then loops forever, and the AUDIO_GETOOFFS ioctl always gives
saples = 0, so I guess the driver doesn't understand that it need
to send more data to the card.

Any suggestions what I should do to get this card working?

   /Krister