Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 1995 08:00:02 -0700
From:      Pierre Beyssac <pb@fasterix.freenix.fr>
To:        freebsd-bugs
Subject:   i386/444: problems with sound driver for GUS
Message-ID:  <199505261500.IAA27585@freefall.cdrom.com>
In-Reply-To: Your message of Fri, 26 May 1995 16:26:16 %2B0200 <199505261426.QAA00364@fasterix.frmug.fr.net>

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

>Number:         444
>Category:       i386
>Synopsis:       GUS sound driver does not seem to work.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs (FreeBSD bugs mailing list)
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 26 08:00:01 1995
>Originator:     Pierre Beyssac
>Organization:
Pierre Beyssac
>Release:        FreeBSD 2.0-BUILT-19950526 i386
>Environment:

	FreeBSD-current kernel, Gravis Ultrasound Max card.

>Description:

	cat'ting a long (620Kb) .au file to /dev/audio results in
	the driver looping on (approx) the first 8 seconds.

	cat is probably stuck in a write() because a kill -KILL
	does not stop it.

	cat'ting the same file to /dev/audio1 correctly plays the
	entire file but there are 'holes' in the sound in at least
	two places (about 0.1s filled with garbage or repeating
	previous sounds), around 12s and 26s from the beginning.

$ ls -l /dev/audio /dev/audio1
crw-rw-rw-  1 root  wheel   30,   4 May 26 14:53 /dev/audio
crw-rw-rw-  1 root  wheel   30,  20 May 26 16:10 /dev/audio1

Here are the boot messages. Note that "gusmax0" is not found.

May 26 16:04:43 fasterix /kernel: gus0 at 0x220 irq 12 drq 1 on isa
May 26 16:04:43 fasterix /kernel: gus0: <Gravis UltraSound MAX (512k)>
May 26 16:04:43 fasterix /kernel: gusmax0 not found at 0x32c

Relevant bits from kernel config :

options		CONFIGURE_SOUNDCARD
options		"EXCLUDE_MPU401"
options		EXCLUDE_SB
options		EXCLUDE_SBPRO
options		"EXCLUDE_SB16"
options		"EXCLUDE_YM3812"
options		"EXCLUDE_OPL3"
options		EXCLUDE_PAS
options		EXCLUDE_MIDI

# Controls all sound devices
controller	snd0

# Gravis UltraSound - for GUS, GUS16, GUSMAX
device gus0 at isa? port 0x220 irq 12 drq 1 vector gusintr
# Gravis UltraSound MAX - for GUSMAX - requires gus0
device gusmax0 at isa? port 0x32c

	"file" describes the file as (note the strange sampling rate) :
		audio data: 8-bit u-law, mono, 64 Hz

	Note: the same file works fine on a Sun Sparc running SunOS 4.

>How-To-Repeat:

	See above.
	I can provide the file if necessary. Or you can look for
	casimir.au with archie :-)

>Fix:

	None known.
>Audit-Trail:
>Unformatted:





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