From alsa-user-owner@alsa.jcu.cz  Wed Dec 30 17:48:12 1998
Received: from athena.veritas.com (athena.veritas.com [192.203.46.191])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id RAA11965
	for <alsa-user@alsa.jcu.cz>; Wed, 30 Dec 1998 17:48:07 +0100
Received: from megami.veritas.com (megami.veritas.com [192.203.46.101])
	by athena.veritas.com (8.9.1a/8.9.1) with SMTP id IAA21378
	for <alsa-user@alsa.jcu.cz>; Wed, 30 Dec 1998 08:48:03 -0800 (PST)
Received: from zignzag.demon.co.uk by megami.veritas.com with smtp
	(Smail3.1.29.0 #7) id m0zvOmv-0000fcC; Wed, 30 Dec 98 08:48 PST
Message-ID: <368A58FC.C97FB6FD@zignzag.demon.co.uk>
Date: Wed, 30 Dec 1998 16:46:52 +0000
From: James Slater <james@zignzag.demon.co.uk>
MIME-Version: 1.0
To: alsa-user@alsa.jcu.cz
Subject: OPL3 not recognised.
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list

Hi All,

Trying to get an OPL3 working and hitting a little problem. on loading
the drivers I get no soundcards found... My guess from trawling thru the
archives is an unknown pnp device, so I've included messages & isapnp
output. kernel is 2.1.132, no patches.

Let me know if you need anything else or if there's anything i'm being
particularly thick about!

Cheers,

James.

Dec 30 16:32:36  kernel: snd: isapnp IW: sb port=0x220, wss port=0x530,
fm port=0x388, midi port=0x330
Dec 30 16:32:36  kernel: snd: isapnp IW: control port=0x370, dma1=0,
dma2=1, irq=5
Dec 30 16:32:36  kernel: enable_irq() unbalanced from 00000005

>cat /proc/isapnp
Device 2 'YMH0030:OPL3-SA3 Snd System' PnP version 1.0
  Logical device 0 'YMH0021:Unknown'
    Device is active
    Active port 0x220,0x530,0x388,0x330,0x370
    Active IRQ 5 [0x2]
    Active DMA 0,1
    Resources 0
      Priority preffered
      Port 0x220-0x220, align 0xf, size 0x10, 16-bit address decoding
      Port 0x530-0x530, align 0x7, size 0x8, 16-bit address decoding
      Port 0x388-0x388, align 0x7, size 0x8, 16-bit address decoding
      Port 0x330-0x330, align 0x1, size 0x2, 16-bit address decoding
      Port 0x370-0x370, align 0x1, size 0x2, 16-bit address decoding
      IRQ 5 High-Edge
      DMA 0 8-bit byte-count type-A
      DMA 1 8-bit byte-count type-A
      Alternate resources 0:1
        Priority acceptable
        Port 0x240-0x240, align 0xf, size 0x10, 16-bit address decoding
        Port 0xe80-0xe80, align 0x7, size 0x8, 16-bit address decoding
        Port 0x388-0x388, align 0x7, size 0x8, 16-bit address decoding
        Port 0x300-0x300, align 0x1, size 0x2, 16-bit address decoding
        Port 0x100-0xffe, align 0x1, size 0x2, 16-bit address decoding
        IRQ 5,7,2/9,10,11 High-Edge
        DMA 0,1,3 8-bit byte-count type-A
        DMA 0,1,3 8-bit byte-count type-A
      Alternate resources 0:2
        Priority functional
        Port 0x220-0x280, align 0xf, size 0x10, 16-bit address decoding
        Port 0x530-0xf48, align 0x7, size 0x8, 16-bit address decoding
        Port 0x388-0x3f8, align 0x7, size 0x8, 16-bit address decoding
        Port 0x300-0x334, align 0x1, size 0x2, 16-bit address decoding
        Port 0x100-0xffe, align 0x1, size 0x2, 16-bit address decoding
        IRQ 5,7,2/9,10,11 High-Edge
        DMA 0,1,3 8-bit byte-count type-A
        DMA 0,1,3 8-bit byte-count type-A
  Logical device 1 'YMH0022:Unknown'
    Compatible device PNPb02f
    Device is active
    Active port 0x201
    Active DMA 0,0
    Resources 0
      Priority preffered
      Port 0x201-0x201, align 0x0, size 0x1, 16-bit address decoding
      Alternate resources 0:1
        Priority acceptable
        Port 0x201-0x211, align 0xf, size 0x1, 16-bit address decoding

and from my old /etc/isapnp.conf:

# Card 2: (serial identifier cb 80 86 00 01 30 00 a8 65)
# YMH0030 Serial No -2138701823 [checksum cb]
# Version 1.0, Vendor version 0.0
# ANSI string -->OPL3-SA3 Snd System<--
#
# Logical device id YMH0021

(CONFIGURE YMH0030/-2138701823 (LD 0
(IO 0 (BASE 0x0370))
(IO 1 (BASE 0x0530))
(IO 2 (BASE 0x0388))
(IO 3 (BASE 0x0330))
 (IO 4 (BASE 0x0370))
(INT 0 (IRQ 5 (MODE +E)))
(DMA 0 (CHANNEL 0))
(DMA 1 (CHANNEL 1))

