From alsa-user-owner@alsa.jcu.cz  Tue Oct 20 19:50:40 1998
Received: from mail.vr.IN-Berlin.DE (gnu.in-berlin.de [192.109.42.4])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id TAA32324
	for <alsa-user@alsa.jcu.cz>; Tue, 20 Oct 1998 19:49:15 +0200
Received: from hirsch.in-berlin.de (root@hirsch.in-berlin.de [192.109.42.6])
	by mail.vr.IN-Berlin.DE (8.8.8/8.8.8) with ESMTP id TAA16047
	for <alsa-user@alsa.jcu.cz>; Tue, 20 Oct 1998 19:49:14 +0200 (CEST)
	(envelope-from ml@knorke.in-berlin.de)
Received: by hirsch.in-berlin.de (Smail3.2) 
	  from  knorke.in-berlin.de with bsmtp
	  id <m0zVfuD-000cjzC>; Tue, 20 Oct 1998 19:49:13 +0200 (CEST)
Received: by knorke.in-berlin.de
	id m0zVfdi-000RCpC; Tue, 20 Oct 1998 18:32:10 +0100 (BST)
Message-ID: <19981020183210.A2384@knorke.in-berlin.de>
Date: Tue, 20 Oct 1998 18:32:10 +0100
From: "M. List" <ml@knorke.in-berlin.de>
To: alsa-user@alsa.jcu.cz
Subject: Problem w/ OPL3-SA3
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary=Dxnq1zWXvFF0Q93v
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list


--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii

Hi there,

I'm new to alsa, so maybe I do sth. wrong.  My new
mainboard w/ on-board sound works fine out of the box using
OSS.  Now I installed the alsa package 0.2.0, but on
modprobe snd-opl3sa I get

snd: OPL3-SA [0x203] detect (0) = 0xff
snd: Yamaha OPL3-SA soundcard #1 not found at 0x203 or device busy
snd: Yamaha OPL3-SA soundcard not found or device busy
/lib/modules/2.0.35/misc/snd-opl3sa.o: Device or resource busy
snd-pcm: Device or resource busy

The following options are in my /etc/conf.modules:

options snd snd_major=14 snd_cards_limit=1
options snd-opl3sa snd_index=1 snd_id="opl3sa" snd_port=0x203 \
	snd_wss_port=0x530 snd_midi_port=0x330 snd_fm_port=0x388 \
	snd_irq=5 snd_dma1=0x0 snd_dma2=0x3

What's wrong here?  If someone is very smart, (s)he may
find out sth. looking at my settings when I use OSS
(/dev/sndstat, lsmod, devices.cfg, /proc/dma,
/proc/interrupts, /proc/ioports).

Thanks for any help!

--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Content-Description: /dev/sndstat
Content-Disposition: attachment; filename="dev.sndstat"

OSS/Linux 3.9.1e (C) 4Front Technologies 1996-1998

License serial number: E00000008
Open Sound System is licensed for evaluation purposes only.
License will expire after: 11/1998
Options: ALL

Kernel: Linux k6 2.0.35 #2 Thu Sep 3 04:44:25 GMT 1998 i586
Build: 2.0.35

Card config: 
Generic PnP support
OPL-2/OPL-3 FM at 0x388
SoundPort at 0x534 irq 5 drq 0,3
MPU-401 (UART) at 0x330 irq 7

Audio devices:
0: OPL3-SA3 Sound Board (CS4231) (DUPLEX)
1: Shadow of audio device #0 (DUPLEX)

Synth devices:
0: Yamaha OPL-3

Midi devices:
0: OPL3-SA3 Sound Board

Timers:
0: System clock
1: OPL3-SA3 Sound Board (CS4231)

Mixers:
0: OPL3-SA3 Sound Board (CS4231)

--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Content-Description: lsmod
Content-Disposition: attachment; filename="lsmod.output"

Module         Pages    Used by
pnp               11		1
uart401            2		1
opl3               4		1
ad1848            11		1
midi               7	[pnp uart401 opl3 ad1848]	1
soundbase        116	[pnp uart401 opl3 ad1848 midi]	1
sndshield          1	[pnp uart401 opl3 ad1848 midi soundbase]	0

--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Content-Description: devices.cfg
Content-Disposition: attachment; filename="oss.devices.cfg"

/SECUREAUDIO OFF
/IRQEXCLUDE 3 4
/DMAEXCLUDE 2
-YMH0020 #Generic Yamaha OPL3-SA2 based sound card (type-1)
/PNPDEV YMH0021 P# P530 P388 P330 P370 I5 I7 D0 D3
RAWMSS OPNP P530 I5 D0 d3
OPL3 OPNP P388
UART401 OPNP P330 I7
OPL3CTL OPNP P370
PNP

--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Content-Description: /proc/dma
Content-Disposition: attachment; filename="proc.dma"

 0: OPL3-SA3 Sound Board
 3: OPL3-SA3 Sound Board
 4: cascade

--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Content-Description: /proc/interrupts
Content-Disposition: attachment; filename="proc.interrupts"

 0:    1049542   timer
 1:       2179   keyboard
 2:          0   cascade
 5:         11   OPL3-SA3 Sound Board
 7:          0   MPU-401 UART
 8:          2 + rtc
13:          0   math error

--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Content-Description: /proc/ioports
Content-Disposition: attachment; filename="proc.ioports"

0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : npu
0203-0203 : PnP read port
02f8-02ff : serial(set)
0330-0333 : MPU-401 UART
0388-038b : OPL3/OPL2
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(set)
0534-0537 : OPL3-SA3 Sound Board

--Dxnq1zWXvFF0Q93v--

