Re: Sound(GUS "Classic"): Program hangs after playing sound

kwrohrer@enteract.com
Sat, 11 Apr 1998 00:34:23 -0500 (CDT)


And lo, Peter Daum saith unto me:
> I have a Gravis Ultrasound "Classic" soundcard. with all recent
> kernel versions (i.e. those with the "modular" sound driver;
> 2.1.59 works o.k., the latest version I tried was 2.1.94), I have
> problems with sound. The most aggravating: after doing a simple
> "cat file > /dev/audio" the sound plays O.K. but cat hangs
> afterwards until it is manually killed - it seems like the call
> to "exit" never returns (see strace output below).
This is a known, or at least longstanding, problem; I've had it since
~2.1.59 myself...

> Similarly, when I play a sound file with "Ceres Soundstudio", it
> keeps on "playing" (showing a flickering position indicator at
> the end of the sound) until I explicitly stop it.
Never seen this.

strace of mpg123 ends in:

munmap(0x400d6000, 16384) = 0
write(2, "[1:10] Decoding of mlntheme.mp3 "..., 42[1:10] Decoding of mlntheme.mp3 finished.
) = 42
write(4, "4\3734\373$\372$\372Y\372Y\372\32"..., 28416) = 28416
close(4

(hanging in close on the sound device) If I ^Z then fg, it gives:

<unfinished ...>
--- SIGCONT (Continued) ---
<... close resumed> ) = -1 ENOSYS (Function not implemented)

and then exits.

/dev/sndstat says:
OSS/Free:3.8s2++-971130
Load type: Driver loaded as a module
Kernel: Linux jadrek 2.1.90 #21 Sat Mar 21 21:04:52 CST 1998 i586
Config options: 0

Installed drivers:

Card config:

Audio devices:
0: Ultrasound

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

Midi devices:
0: Gravis UltraSound Midi

Timers:
0: System clock

Mixers:
0: Gravis Ultrasound

Keith

-- 
"Quartz glyph jocks vend, fix, BMW."  -- 1990 IOCCC judges
The Decline of Western Civilization:  Native Americans revered Raven and 
Coyote.  Our parents watched Moose and Squirrel.  Our children drool on 
Microsoft Barney and Tickle Me Elmo.          http://www.enteract.com/~kwrohrer

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu