From alsa-user-owner@alsa.jcu.cz  Thu Oct  8 01:11:10 1998
Received: from ns.anet.cz (ns.anet.cz [194.50.6.66])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id AAA21661
	for <alsa-user@jcu.cz>; Thu, 8 Oct 1998 00:49:37 +0200
Received: from ItMightBeAServer.net (IDENT:root@ip3.lubbock.tx.pub-ip.psi.net [38.11.202.3])
	by ns.anet.cz (8.9.1/CESNET/roman) with ESMTP id AAA03209
	for <alsa-user@jcu.cz>; Thu, 8 Oct 1998 00:49:33 +0200
Received: from delphi.com (ItMightBeAServer [127.0.0.1])
          by ItMightBeAServer.net (8.8.4/8.8.4) with ESMTP
	  id RAA28887 for <alsa-user@jcu.cz>; Wed, 7 Oct 1998 17:41:47 -0400
Message-Id: <199810072141.RAA28887@ItMightBeAServer.net>
Date: Wed, 7 Oct 1998 17:41:43 -0400 (EDT)
From: crc3419@delphi.com
Subject: A Partial fix (was re: A very annoying problem)
To: alsa-user@jcu.cz
MIME-Version: 1.0
Content-Type: TEXT/plain; CHARSET=US-ASCII
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list

[This is Jeremy, I'm just having some difficulties with my mail reader
so my name won't show up in my headers]

Well, I finally got a partial fix for my problem. Below is a diff
showing the changes I had to make to get there:
(the change from 0x03 to 0x09 didn't work, so I tried a few different
ports until I hit the one that  did it)

oo Begin oo

--- lowlevel/isa.orig/cs4236.c  Tue Sep 15 05:27:52 1998
+++ lowlevel/isa/cs4236.c   Wed Oct  7 17:23:53 1998
@@ -261,7 +261,7 @@
     snd_cs4236_ctrl_out( codec, 5, 0x00 );
     snd_cs4236_ctrl_out( codec, 6, 0x00 );
     snd_cs4236_ctrl_out( codec, 7, 0x00 );
-    snd_cs4236_ctrl_out( codec, 8, 0x03 );
+    snd_cs4236_ctrl_out( codec, 8, 0x08 );
     if ( codec -> hardware == CS4231_HW_CS4235 ||
          codec -> hardware == CS4231_HW_CS4239 ) {
       snd_printk( "%s chip isn't fully supported yet (code isn't tested)...\n", pcm -> name );
@@ -478,7 +478,7 @@
     SND_MIXER_OSS_SYNTH,   /* OSS device # */
     0, 1, 1, 0,                 /* mmute/stereo/digital/input */
     0, 63,                      /* min, max value */
-    -9450, 0, 150,     /* min, max, step - dB */
+    -9450, 9450, 150,      /* min, max, step - dB */
     CS4236_PRIVATE( CS4236_LEFT_FM, CS4236_RIGHT_FM, 0x80 ),
     NULL,                       /* compute dB -> linear */
     NULL,                       /* compute linear -> dB */
@@ -493,7 +493,7 @@
     SND_MIXER_OSS_DIGITAL1,    /* OSS device # */
     0, 1, 1, 0,                 /* mmute/stereo/digital/input */
     0, 63,                      /* min, max value */
-    -9450, 0, 150,     /* min, max, step - dB */
+    -9450, 9450, 150,      /* min, max, step - dB */


oo End oo

This is only a partial fix, because the change from 0x03 to 0x08 caused
the OSS/Free mixer controls for the MPU401 port to cease functioning,
and caused the all audio to become incredibly noisy. Perhaps there is a
better fix?


-- 
"Being myself a remarkably stupid fellow, I have had to unteach myself  the
 difficulties, and now beg to present to my fellow fools the parts that are
 not hard" --Silvanus P. Thompson, from "Calculus Made Easy."


