Subject: Pro audio spectrum woes
To: None <port-i386@NetBSD.ORG>
From: None <Mark_Weaver@brown.edu>
List: port-i386
Date: 02/24/1995 02:22:21
I just tried the new Pro audio spectrum driver, and it looks like it's
not getting any interrupts from the card. It seems to detect the card
correctly during autoconfig. This is a Pro Audio Spectrum 16.
When I try "cat sound.au > /dev/audio", it makes sound for a fraction
of a second, then the process hangs. I'm not sure if the sound is
correct, since it's so short. All attempts to kill the "cat"
process fail, and ps shows its status as "SE". This happens after
both cold and warm boots.
Is it possible I have the irq set wrong? Since the Soundblaster
emulation is soft-configured, I assume the pas driver explicitly sets
the emulation to whatever irq is listed in the config file, right?
Here's my dmesg and config:
----------------------------------------
NetBSD 1.0A (WEAVER) #0: Fri Feb 24 01:20:19 EST 1995
mhw@weaver.tsq-b.brown.edu:/usr/src/sys/arch/i386/compile/WEAVER
CPU: i486DX (486-class CPU)
real mem = 16121856
avail mem = 13950976
using 222 buffers containing 909312 bytes of memory
isa0 (root)
npx0 at isa0 port 0xf0-0xff: using exception 16
pcprobe: reset error 4
pc0 at isa0 port 0x60-0x6f irq 1: color
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 5: ns16550a, working fifo
com2 at isa0 port 0x3e8-0x3ef irq 9: ns16550a, working fifo
lpt0 at isa0 port 0x3bc-0x3c3: polled
uha0 at isa0 port 0x330-0x33f irq 11u14_init: lmask=d1, smask=81
scsibus0 at uha0
uha0 targ 0 lun 0: <IMPRIMIS, 94601-15, 4614> SCSI1 0/direct fixed
sd0 at scsibus0: 992MB, 1931 cyl, 15 head, 70 sec, 512 bytes/sec
uha0 targ 1 lun 0: <ARCHIVE, VIPER 2525 25462, -007> SCSI1 1/sequential removable
st0 at scsibus0: rogue, drive empty
uha0 targ 2 lun 0: <NEC, CD-ROM DRIVE:501, 2.2> SCSI2 5/cdrom removable
cd0 at scsibus0: cd present, 295231 x 2048 byte records
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
fd1 at fdc0 drive 1: 1.2MB 80 cyl, 2 head, 15 sec
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 drive 0: 325MB, 1010 cyl, 12 head, 55 sec, 512 bytes/sec <WDC AC2340H>
wd0: using 16-sector 16-bit pio transfers, chs addressing
wd1 at wdc0 drive 1: 515MB, 1048 cyl, 16 head, 63 sec, 512 bytes/sec <WDC AC2540H>
wd1: using 16-sector 16-bit pio transfers, lba addressing
ed0 at isa0 port 0x280-0x29f iomem 0xd0000-0xd3fff irq 3: address 00:00:c0:95:9a:73, type SMC8216/SMC8216C (16-bit) aui
pas0 at isa0 port 0x220-0x22f irq 7 drq 1 ProAudio Spectrum 16 [rev 255] : dsp v2.0
root device eisa not configured
root device pci not configured
biomask 48c0 netmask 23a ttymask 232
Aperture driver for XFree86 version 1.2
----------------------------------------
#
# WEAVER -- kernel for mark's 486 box
#
machine i386 # architecture, used by config; REQUIRED
#options I386_CPU # CPU classes; at least one is REQUIRED
options I486_CPU
options I586_CPU
#options MATH_EMULATE # floating point emulation
options DUMMY_NOPS # speed hack; recommended
options XSERVER,UCONSOLE
options MACHINE_NONCONTIG
maxusers 24 # estimated number of users
options TIMEZONE=0 # time zone to adjust RTC time by
options DST=0 # daylight savings time used by RTC
options SWAPPAGER # paging; REQUIRED
options VNODEPAGER # mmap() of files
options DEVPAGER # mmap() of devices
options DDB # in-kernel debugger
options DIAGNOSTIC # internally consistency checks
options KTRACE # system call tracing, a la ktrace(1)
options SYSVMSG # System V-like message queues
options SYSVSEM # System V-like semaphores
options SYSVSHM # System V-like memory sharing
options SHMMAXPGS=1024 # 1024 pages is the default
options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8,
options COMPAT_09 # NetBSD 0.9,
options COMPAT_10 # NetBSD 1.0,
options COMPAT_43 # and 4.3BSD
options TCP_COMPAT_42 # TCP bug compatibility with 4.2BSD
#options COMPAT_SVR4 # binary compatibility with SVR4
#options COMPAT_IBCS2 # binary compatibility with SCO and ISC
options USER_LDT # user-settable LDT; used by WINE
options LKM # loadable kernel modules
options FFS #,QUOTA # UFS and quotas
#options LFS # log-structured file system
options MFS # memory file system
options NFSCLIENT # Network File System client
#options NFSSERVER # Network File System server
options CD9660 # ISO 9660 + Rock Ridge file system
options MSDOSFS # MS-DOS file system
#options FDESC # /dev/fd
options FIFO # FIFOs; RECOMMENDED
#options KERNFS # /kern
options NULLFS # loopback file system
#options PORTAL # ?
#options PROCFS # /proc
#options UMAPFS # NULLFS + uid and gid remapping
#options UNION # union file system
#options GATEWAY # packet forwarding
options INET # IP + ICMP + TCP + UDP
#options NS # XNS
#options ISO,TPIP # OSI
#options EON # OSI tunneling over IP
#options CCITT,LLC,HDLC # X.25
config netbsd root on wd0 swap on wd0 and wd1 and sd0
isa0 at root
npx0 at isa? port 0xf0 irq 13 # math coprocessor
pc0 at isa? port 0x60 irq 1 # generic PC console device
#vt0 at isa? port 0x60 irq 1
com0 at isa? port 0x3f8 irq 4 # standard PC serial ports
com1 at isa? port 0x2f8 irq 5
com2 at isa? port 0x3e8 irq 9
lpt0 at isa? port 0x3bc
uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI controllers
scsibus* at uha?
sd* at scsibus? target ? lun ? # SCSI disk drives
st* at scsibus? target ? lun ? # SCSI tape drives
cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
fd* at fdc? drive ?
wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers
wdc1 at isa? port 0x170 irq 15
wd* at wdc? drive ?
ed0 at isa? port 0x280 iomem 0xd0000 irq 3 # WD/SMC, 3C503, and NE[12]000
sb0 at isa? port 0x220 irq 7 drq 1 # SoundBlaster
pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum
#spkr0 at isa? ...
pseudo-device loop 1 # network loopback
#pseudo-device bpfilter 4 # packet filter
pseudo-device sl 2 # CSLIP
pseudo-device ppp 2 # PPP
#pseudo-device tun 2 # network tunneling over tty
pseudo-device pty 32 # pseudo-terminals
#pseudo-device tb 1 # tablet line discipline
pseudo-device vnd 4 # paging to files
----------------------------------------
Any ideas?
Mark
--------------------------------------------------------------------
Email: Mark_Weaver@brown.edu | Brown University
PGP Key: finger mhw@cs.brown.edu | Dept of Computer Science