From alsa-devel-owner@alsa.jcu.cz  Fri Mar 20 19:10:56 1998
Received: from sandy.force9.co.uk (root@218.hiper01.shef.dialup.force9.net [195.166.132.218] (may be forged))
	by marvin.jcu.cz (8.8.8/8.8.8) with ESMTP id TAA17236
	for <alsa-devel@alsa.jcu.cz>; Fri, 20 Mar 1998 19:10:33 +0100
Received: (from chrisb@localhost)
	by sandy.force9.co.uk (8.8.5/8.8.5) id NAA02318
	for alsa-devel@alsa.jcu.cz; Fri, 20 Mar 1998 13:13:04 GMT
From: Christopher Butler <chrisb@sandy.force9.co.uk>
Message-Id: <199803201313.NAA02318@sandy.force9.co.uk>
Subject: Quake Problems :(
To: alsa-devel@alsa.jcu.cz
Date: Fri, 20 Mar 1998 13:13:04 +0000 (GMT)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

Hi!

I'm having problems with Quake when it tries to open the /dev/dsp
device:

**** Cut ****
write(1, "\nSound Initialization\n", 22) = 22
open("/dev/dsp", O_RDWR)                = -1 ENODEV (No such device)
write(2, "/dev/dsp: No such device\n", 25) = 25
write(1, "Could not open /dev/dsp\n", 24) = 24
write(1, "S_Startup: SNDDMA_Init failed.\n"..., 31) = 31
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
**** Cut ****

As you can see, it opens the device with O_RDWR for DUPLEX mode. But
AFAIK it only ever uses it for writing. This is probably a bug in
quake, but since the original OSS supported this "broken" behaviour,
shouldn't our OSS emulation work-around it somehow?

Just checked, this is what timidity does too... although I can change
that :-)

Any ideas?



