From alsa-user-owner@alsa.jcu.cz  Tue Jan  5 21:19:00 1999
Received: from phyc1.physik.uni-freiburg.de (phyc1.physik.uni-freiburg.de [132.230.74.1])
	by marvin.jcu.cz (8.9.1a/8.9.1) with SMTP id UAA29259
	for <alsa-user@alsa.jcu.cz>; Tue, 5 Jan 1999 20:48:31 +0100
From: killes@phyc1.physik.uni-freiburg.de
Received: from phyc7.physik.uni-freiburg.de by phyc1.physik.uni-freiburg.de (AIX 3.2/UCB 5.64/4.03)
          id AA16901; Tue, 5 Jan 1999 19:17:04 +0100
Mime-Version: 1.0
Date: Tue,  5 Jan 1999 19:17:36 +0100 (MEZ)
To: alsa-user@alsa.jcu.cz
Subject: Newbie: Arrowana SB 16 PnP
Message-Id: <13970.21707.60134.713741@phyc7.physik.uni-freiburg.de>
Content-Type: text/plain; charset=US-ASCII
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list


Hi all!
I have the soundcard mentioned in the subject and would like to try
running it with the alsa-driver. I installed the driver with pnp
support, but it says that it can't find the soundcard. With OSS the
card works more or less. Under DR-DOS the card accepts the following 
parameters:
[Resource]
SB16Base=220
SB16IRQ=5
SB16DMA8=1
SB16DMA16=3
MPU401=Enabled
MPU401Base=330
MPU401IRQ=10
GAMEPORT=Enabled
ADLIB=Enabled
CDROM=Disabled

In my isapnp.conf I have:
# $Id: pnpdump.c,v 1.9 1997/06/10 21:37:32 fox Exp $
# This is free software, see the sources for details.
# This software has NO WARRANTY, use at your OWN RISK
#
# For details of this file format, see isapnp.conf(5)
#
# For latest information on isapnp and pnpdump see:
# http://www.roestock.demon.co.uk/isapnptools/
#
# Compiler flags: -DREALTIME -DNEEDSETSCHEDULER
#
# Trying port address 0203
# Board 1 has serial identifier a3 ff ff ff ff 10 01 93 05

#(DEBUG)
(VERIFYLD N)
(READPORT 0x0203)
(ISOLATE)
(IDENTIFY *)

# Card 1: (serial identifier a3 ff ff ff ff 10 01 93 05)
# ALS0110 Serial No -1 [checksum a3]
# Version 1.0, Vendor version 0.0
# ANSI string -->PnP Sound Chip<--
#
# Logical device id @@@1001
#     Device support I/O range check register
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed if required
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE ALS0110/-1 (LD 0

# Multiple choice time, choose one only !

#     Start dependent functions: priority preferred
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0220
#             Maximum IO base address 0x0220
#             IO base alignment 16 bytes
#             Number of IO addresses required: 16
(IO 0 (BASE 0x0220))
#       IRQ 5.
#             High true, edge sensitive interrupt (by default)
(INT 0 (IRQ 5 (MODE +E)))
#       First DMA channel 1.
#             8 bit DMA only
#             Logical device is not a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed type F
(DMA 0 (CHANNEL 1))
#       Next DMA channel 0 or 3.
#             8 bit DMA only
#             Logical device is not a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed type F
(DMA 1 (CHANNEL 3))

#       Start dependent functions: priority acceptable
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0220
#             Maximum IO base address 0x0280
#             IO base alignment 32 bytes
#             Number of IO addresses required: 16
# (IO 0 (BASE 0x0220))
#       IRQ 5, 7, 9, 10 or 11.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
#       First DMA channel 0, 1 or 3.
#             8 bit DMA only
#             Logical device is not a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed type F
# (DMA 0 (CHANNEL 0))
#       Next DMA channel 0, 1 or 3.
#             8 bit DMA only
#             Logical device is not a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed type F
# (DMA 1 (CHANNEL 0))

#       Start dependent functions: priority functional
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0100
#             Maximum IO base address 0x03f0
#             IO base alignment 16 bytes
#             Number of IO addresses required: 16
# (IO 0 (BASE 0x0100))
#       IRQ 5, 7, 9, 10 or 11.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
#       First DMA channel 0, 1 or 3.
#             8 bit DMA only
#             Logical device is not a bus master
#             DMA may execute in count by byte mode
#             DMA may not execute in count by word mode
#             DMA channel speed type F
# (DMA 0 (CHANNEL 0))

#     End dependent functions
(ACT Y)
))
#
# Logical device id @H@1001
#     Device support I/O range check register
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed if required
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE ALS0110/-1 (LD 1
#     Logical device decodes 16 bit IO address lines
#         Minimum IO base address 0x0388
#         Maximum IO base address 0x0388
#         IO base alignment 8 bytes
#         Number of IO addresses required: 8
(IO 0 (BASE 0x0388))
(ACT Y)
))
#
# Logical device id @P@1001
#     Device support I/O range check register
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed if required
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE ALS0110/-1 (LD 2
#     Logical device decodes 16 bit IO address lines
#         Minimum IO base address 0x0200
#         Maximum IO base address 0x0200
#         IO base alignment 8 bytes
#         Number of IO addresses required: 8
(IO 0 (BASE 0x0200))
(ACT Y)
))
#
# Logical device id @X@1001
#     Device support I/O range check register
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed if required
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE ALS0110/-1 (LD 3

# Multiple choice time, choose one only !

#     Start dependent functions: priority preferred
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0330
#             Maximum IO base address 0x0330
#             IO base alignment 2 bytes
#             Number of IO addresses required: 2
(IO 0 (BASE 0x0330))
#       IRQ 9.
#             High true, edge sensitive interrupt (by default)
(INT 0 (IRQ 10 (MODE +E)))

#       Start dependent functions: priority acceptable
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0100
#             Maximum IO base address 0x03f0
#             IO base alignment 16 bytes
#             Number of IO addresses required: 2
# (IO 0 (BASE 0x0100))
#       IRQ 5, 7, 9, 10 or 11.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))

#     End dependent functions
(ACT Y)
))
# End tag... Checksum 0x00 (OK)

# Returns all cards to the "Wait for Key" state
(WAITFORKEY)

And with OSS I get in sndstat:
OSS/Free3.8s9-980302 (Wed Nov 25 18:45:20 CET 1998 root,
Linux Kaktus 2.0.35 #3 Wed Nov 25 18:09:45 CET 1998 i586 unknown)
Load type: Driver loaded as a module.
Kernel: Linux Kaktus 2.0.35 #3 Wed Nov 25 18:09:45 CET 1998 i586
Config options: 0

Installed drivers: 
Type 1: OPL-2/OPL-3 FM
Type 5: Roland MPU-401
Type 26: MPU-401 (UART)
Type 2: Sound Blaster
Type 29: Sound Blaster PnP
Type 7: SB MPU-401

Card config: 
Sound Blaster at 0x220 irq 5 drq 1,3
Roland MPU-401 at 0x330 irq 10 drq 0
(SB MPU-401 at 0x330 irq 10 drq 0)
OPL-2/OPL-3 FM at 0x388 drq 0

Audio devices:
0: Sound Blaster 16 (4.2)

Synth devices:
0: Yamaha OPL-3

Midi devices:
0: MPU-401 0.0  Midi interface #1

Timers:
0: System clock

Mixers:
0: Sound Blaster

Can anybody give me advice on how to configure the alsa-driver
correctly? 
Many thanks in advance!
	Gerhard

P.S.: I'm sorry if you think that this posting is too long. Please
consider that I want to provide as many information as possible.


