On 6 Dec 2001, Scott Barnes wrote:

> On Thu, 2001-12-06 at 12:48, Jaroslav Kysela wrote:
> > On Thu, 6 Dec 2001, Takashi Iwai wrote:
> >
> > > At Wed, 5 Dec 2001 12:54:23 -0500,
> > > Scott Barnes wrote:
> > > >
> > > > I'm not a subscriber of this list, so CC me.
> > > >
> > > > I managed to make the cs4236 alsa driver work with the CS4237B in the
> > > > Dell Inspiron 3000 (making it the FIRST driver in linux to fully
> > > > support it without any problems).  The required modification is pretty
> > > > minor, you just need to add a module option to the snd-card-cs4236
> > > > module that disables the version check code for the control port in
> > > > cs4236.c under the lowlevel drivers.  The specific part I'm referring
> > > > to is the code where it gets two variables (ver1 and ver2) and compares
> > > > them then if they don't match it fails and says the control port is not
> > > > valid.  If this check is disabled it allows the driver to load with the
> > > > cs4237b in the Dell Inspiron without any problems and the driver still
> > > > works flawlessly despite the mismatch.  Would someone please implement
> > > > this before the next release?  Thanks in advance.
> > >
> > > Could you send us a patch?  Then i can commit it to cvs asap.
> >
> > It's a wrong solution. The control port must be known to use all chip
> > features (especially enhanced mixer). The check is really there for such
> > silly assumptions that not all I/O resources are neccessary.
> >
> >                                             Jaroslav
>
> Ah, but I'm not assuming it's unnecessary, but the CS4237B in the
> Inspiron 3000 can use any not already used IO as the control port but it
> reports incorrectly.  I know because with the modification it still
> works flawlessly (even the enhanced mixer).

Are you sure? The control port controls 3D enhancement and S/PDIF Out.
Also, Wavetable serial port can be enabled with this control port.
Anyway, I'm not strongly against reducing of the control port, but you
should remove all related controls as well (line "3D Control - *" and
"IEC958 *"). Also, I'm 100% sure, that your computer has the control port
accessible somewhere and this discussion can be treated unworthy. Please,
check the CS4237B datasheet about 'ver1 == ver2' test.

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
SuSE Linux    http://www.suse.com
ALSA Project  http://www.alsa-project.org


_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to