From alsa-user-owner@alsa.jcu.cz  Thu Oct  8 11:19:15 1998
Received: from ItMightBeAServer.net (ip229.lubbock.tx.pub-ip.psi.net [38.11.202.229])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id LAA01013;
	Thu, 8 Oct 1998 11:08:39 +0200
Received: from delphi.com (ItMightBeAServer [127.0.0.1])
          by ItMightBeAServer.net (8.8.4/8.8.4) with ESMTP
	  id EAA09012; Thu, 8 Oct 1998 04:03:41 -0400
Message-Id: <199810080803.EAA09012@ItMightBeAServer.net>
Date: Thu, 8 Oct 1998 04:03:37 -0400 (EDT)
From: crc3419@delphi.com
Subject: Re: A Partial fix (was re: A very annoying problem)
To: perex@jcu.cz
cc: alsa-user@jcu.cz
In-Reply-To: <Pine.LNX.3.96.981008103035.17300A-100000@entry.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

On  8 Oct, Jaroslav Kysela wrote:
> On Wed, 7 Oct 1998 crc3419@delphi.com wrote:
> 
>> [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)
> 
> Hmm. Maybe better sequence should be:
> 
> snd_cs4236_ctrl_out( codec, 8, 0x0a );
> snd_cs4236_ext_out( codec, CS4236_LEFT_MIX_CTRL, 0x80 | 0x10 );

Okay, I may try that and see if it works better. I really do appreciate
the help.

> 
> Note: CS4236_LEFT_MIX_CTRL is set in mixer initialization (change of this
> settings will cause failure of Line-In in ALSA mixer)...

Duly noted.

> 
> I'm sorry, people, but these changes will never be in standard ALSA
> driver. For ALSA is CS4237B chip set properly and if you want
> get work OSS/Lite, you must write correct setup to this driver. I simply
> don't see any reason for which ALSA must setup things for OSS.

I agree that this stuff doesn't belong in ALSA, but I'll probably also
use it this way until there is some form of /dev/sequencer support, or
some other means of using the ALSA MIDI devices with my
"old," "braindead" OSS apps. (/dev/sequencer support being the only
reason I would ever bother to use OSS/Lite, because frankly OSS stinks)
Don't misunderstand, I believe ALSA to be one of the best things to
happen to Linux, and I understand the desire for an improved MIDI
interface, it's just that none of my current apps work with anything
other than the OSS-style /dev/sequencer. :(

> 
> You can also write some small program in user space which should do some
> necessary setup.

That would be an app that would, hopefully, become obsoleted rather
quickly as ALSA continues to improve, and becomes more widely supported
and used. (IMO, the kernel folks oughtta consider toasting OSS/Lite and
switching over to ALSA ;)

> Datasheet for CS4237B is available on ALSA ftp server or
> at http://www.crystal.com.

Yeah, I grabbed that when I first started checking into ALSA. It's far
more information than I ever cared to know about my soundcard.


-- 
"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."


