Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 1997 21:34:57 +0200
From:      Mark Murray <mark@grondar.za>
To:        multimedia@freebsd.org
Subject:   Report back on Luigi's sound driver and GUS PnP
Message-ID:  <199709181934.VAA00328@greenpeace.grondar.za>

next in thread | raw e-mail | index | archive | help
Hi

I am having some sucess (and some trouble) getting Luigi's snd/
code to work with my GUS PnP.

Firstly: It compiles. Thanks! :-)

I get what look like sucessful (?) probes of the card, but some
things look a little funny:

$ dmesg
:
Initializing PnP override table
Probing for PnP devices:
CSN 1 Vendor ID: GRV0001 [0x0100561e] Serial 0x00000001
mss_attach <mss>1 at 0x328 irq 9 dma 7:6 flags 0x16
pcm1 (GusPnP <GusPnP> sn 0x00000001) at 0x328 irq 9 drq 7 flags 0x16 id 16
   ^ EH??                                 ^^^ EH??
The card is at 0x220, AFAIK.
:
pcm0 at 0xffff irq 10 drq 1 mem 0x0 flags 0x0 en 1 confl 0
mss_probe: no address supplied, try default 0x530
mss_detect error, busy still set (0xff)
sb_probe: no address supplied, try defaults (0x220,0x240)
device at 0x220 already attached as unit 1
            ^^^ ???
pcm0 not found
:
$ cat sound.au >/dev/audio
open: bad unit 0, perhaps you want unit 1 ?
$ cat sound.au >/dev/audio0
open: bad unit 0, perhaps you want unit 1 ?
$ cat sound.au >/dev/audio1
timeout flushing dma1, cnt 0x48c flags 0x00000061
[SILENCE]

This is my config file:

#
# GA586DX -- Mark's Monster
#
#	$Id$

machine		"i386"
cpu		"I586_CPU"
ident		"GA586DX"
maxusers	16

options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		MFS			#Network Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		KERNFS			#Kernel filesystem
options		DEVFS			#Device filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		SCSI_DELAY=15		#Be pessimistic about Joe SCSI device
options		UCONSOLE		#Allow users to grab the console
options		KTRACE			#kernel tracing
options		PERFMON			#Performance monitor
options		SYSVSHM			#SYSV shared memory support
options		SYSVSEM			#SYSV semaphore support
options		SYSVMSG			#SYSV message queue support

## Create a SMP capable kernel (mandatory options):
#options	SMP			# Symmetric MultiProcessor Kernel
#options	APIC_IO			# Symmetric (APIC) I/O
#
## Lets always enable the kernel debugger for SMP.
#options	DDB

config		kernel	root on sd0

controller	isa0
controller	pci0
controller	pnp0

controller	fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0 at fdc0 drive 0

controller	ahc0
controller	scbus0
device		sd0
device		st0
device		cd0

device		sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
device		psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr

device		sio0 at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1 at isa? port "IO_COM2" tty irq 3 vector siointr
device		lpt0 at isa? port? tty irq 7 vector lptintr

device		npx0 at isa? port "IO_NPX" irq 13 vector npxintr

device		vx0

device		bktr0

#controller	snd0
#device		gus0 at isa? vector gusintr

device		pcm0 at isa? port ? tty irq 10 drq 1 flags 0x0 vector pcmintr

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	tun	2
pseudo-device	vn	2
pseudo-device	pty	16
pseudo-device	gzip
pseudo-device	speaker

-- 
Mark Murray
Join the anti-SPAM movement: http://www.cauce.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709181934.VAA00328>