Re: [2.1.54+] SoundBlaster 2.0 breaks

Sander van Malssen (svm@kozmix.ow.nl)
Mon, 15 Sep 1997 14:13:43 +0200


On Monday, 15 September 1997 at 07:49:13 +0300, Hannu Savolainen wrote:

> The driver doesn't think there is a mixer. "cat" command just gives an
> error message after printing /dev/sndstat (I don't know why).

Because of:

--- linux/drivers/sound/soundcard.c.~1~ Wed May 28 11:47:46 1997
+++ linux/drivers/sound/soundcard.c Wed May 28 15:30:06 1997
@@ -139,8 +139,8 @@
sound_release_sw (dev, &files[dev]);
#ifdef MODULE
MOD_DEC_USE_COUNT;
- return 0;
#endif
+ return 0;
}

static int

Cheers,
Sander

-- 
Sander van Malssen -- svm@kozmix.ow.nl -- http://www.cistron.nl/~svm/
        * The 1-2-5 Page: http://www.cistron.nl/~svm/music/ *