*BSD News Article 64010


Return to BSD News archive

#! rnews 3079 bsd
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!news.gan.net.au!act.news.telstra.net!psgrain!nntp.cs.ubc.ca!newsxfer.itd.umich.edu!news.join.ad.jp!news.imnet.ad.jp!usenet.seri.re.kr!news.kreonet.re.kr!news.dacom.co.kr!newsfeed.internetmci.com!in1.uu.net!newsfeed.pitt.edu!bb3.andrew.cmu.edu!andrew.cmu.edu!yunching+
From: Yun-Ching Lee <yunching+@andrew.cmu.edu>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: GUS audio problem
Date: Wed, 20 Mar 1996 18:04:50 -0500
Organization: Freshman, Computer Science, Carnegie Mellon, Pittsburgh, PA
Lines: 86
Message-ID: <0lI8wG200bl80FkUw0@andrew.cmu.edu>
NNTP-Posting-Host: po9.andrew.cmu.edu


I have recently installed FreeBSD 2.1.0-release on my system, and I have
encountered this strange problem.

I have a Gravis Ultrasound card with 1 MB of ram.  I recompiled the kernel
with gus0 enabled and ran 'sh MAKEDEV gusmax' (I don't have a GUS Max, but
it's the closest one I can find.)  dmesg showed the kernel found the GUS
properly (see dmesg output at the end of message).

I can play au files file by catting the file to /dev/audio, but if I try
to play the au file again, the system hangs.  I had the same problem in
Linux, but it's fine if I flush out the disk buffer or the sound card
buffer first, by playing other sound files.  I suspect this is a driver
problem.

Any help will be appreciated.

This is my /etc/sndstat

VoxWare Sound Driver:3.0-beta-950506 (Sun Feb 5 14:38:12 EST 1995
freebsd-hackers@freefall.cdrom.com)
Config options: ffffffff

Installed drivers: 
Type 4: Gravis Ultrasound


Card config: 
Gravis Ultrasound at 0x240 irq 11 drq 5

Audio devices:
0: Gravis UltraSound

Synth devices:
0: Gravis UltraSound 3.7 (1024k)

Midi devices:
0: Gravis UltraSound Midi

Timers:
0: System Timer
1: OPL-3/GUS Timer

Mixers:
0: ICS2101 Multimedia Mixer


This is my dmesg output

FreeBSD 2.1.0-RELEASE #0: Tue Mar 19 21:56:21 EST 1996
    root@Ami-chan.res.cmu.edu:/usr/src/sys/compile/KERNEL01
CPU: i486DX (486-class CPU)
real memory  = 20971520 (20480K bytes)
avail memory = 18739200 (18300K bytes)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed1 at 0x300-0x31f irq 10 on isa
ed1: address 00:40:95:26:8b:10, type NE2000 (16 bit) 
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16450
sio1 not found at 0x2f8
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 765
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <WDC AC2200F>
wd0: 202MB (415380 sectors), 989 cyls, 12 heads, 35 S/T, 512 B/S
wdc0: unit 1 (wd1): <DPEA-31080>
wd1: 1033MB (2116800 sectors), 2100 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 not found at 0x170
npx0 on motherboard
npx0: INT 16 interface
gus0 at 0x240 irq 11 drq 5 on isa
gus0: <Gravis UltraSound 3.7 (1024k)>
joy0 at 0x201 on isa
joy0: joystick

--
Yun-Ching (Allen) Lee (ycl@cmu.edu, yunching@andrew.cmu.edu), CMU SCS
http://Ami-chan.res.cmu.edu/~yunching/home.html
"Baka!" -- Kiki, Kiki's Delivery Service