From alsa-user-owner@alsa.jcu.cz  Wed Feb 24 21:20:38 1999
Received: from sirio.fastnet.it (root@sirio.fastnet.it [195.96.192.9])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id VAA13929
	for <alsa-user@alsa.jcu.cz>; Wed, 24 Feb 1999 21:19:55 +0100
Received: from fab-srv.fastnet.it (root@Fabriano.proxies.fastnet.it [195.96.192.149])
	by sirio.fastnet.it (8.8.8/8.8.8/FASTnet/ISP) with ESMTP id VAA25017;
	Wed, 24 Feb 1999 21:19:53 +0100
Received: from usa.net (fab1a-21.fastnet.it [195.96.196.213])
	by fab-srv.fastnet.it (8.8.5/8.8.5) with ESMTP id VAA29764;
	Wed, 24 Feb 1999 21:19:48 +0100
Message-ID: <36D45F22.3C009BD9@usa.net>
Date: Wed, 24 Feb 1999 21:20:50 +0100
From: Luca Montecchiani <m.luca@usa.net>
MIME-Version: 1.0
To: Jaroslav Kysela <perex@jcu.cz>
CC: "alsa-user@alsa.jcu.cz" <alsa-user@alsa.jcu.cz>
Subject: Re: problem with cs4236 detection ( SOLVED )
References: <Pine.LNX.3.96.990224094125.3471B-100000@entry.jcu.cz>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list

Jaroslav Kysela wrote:
> 
> On Mon, 22 Feb 1999, Luca Montecchiani wrote:
> 
> > snd: isapnp WSS: wss port=0x534, fm port=0x388, sb port=0x220
> > snd: isapnp WSS: irq=5, dma1=1, dma2=0
> > snd: isapnp GAME: joystick port=0x200
> > snd: isapnp CTRL: control port=0x120
> > snd: isapnp MPU: port=0x330, irq=9
> > snd: CS4231: VERSION (I25) = 0x83
> > snd: cs4231: unknown CS chip with version 0x83
>                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> It looks that your soundcard have new (unknown for ALSA) Crystal
> Semiconductors chip.
> 
> Could you try this patch and send me back the result?
> 
> Index: cs4231.c
> ===================================================================
> RCS file: /home/alsa/cvsroot/alsa-driver/lowlevel/isa/cs4231.c,v
> retrieving revision 1.18
> diff -u -r1.18 cs4231.c
> --- cs4231.c    1999/02/15 11:03:40     1.18
> +++ cs4231.c    1999/02/24 08:41:09
> @@ -1155,7 +1155,7 @@
>                         codec->hardware = CS4231_HW_CS4232;
>                 } else if (rev == 0xb2) {
>                         codec->hardware = CS4231_HW_CS4232A;
> -               } else if (rev == 0x03) {
> +               } else if (rev == 0x03 || rev = 0x83) {
>                         codec->hardware = CS4231_HW_CS4236;
>                 } else {
>                         snd_printk("cs4231: unknown CS chip with version 0x%x\n", rev);
> 
>                                                 Jaroslav
> 
> -----
> Jaroslav Kysela <perex@jcu.cz>
> Academic Computer Centre, University of South Bohemia
> Branisovska 31, C. Budejovice, CZ-370 05 Czech Republic

Thanks ! 
With this patch ( == instead = :) my cs4236 is detected very well.
Using isapnp module and only with :
options snd-card-cs4236 snd_index=1 snd_id="cs4236" snd_port=0x534
snd_cport=0x120
work fine for me.

This my dmesg:

snd: isapnp WSS: wss port=0x534, fm port=0x388, sb port=0x220
snd: isapnp WSS: irq=5, dma1=1, dma2=0
snd: isapnp GAME: joystick port=0x200
snd: isapnp CTRL: control port=0x120
snd: isapnp MPU: port=0x330, irq=9
snd: CS4231: VERSION (I25) = 0x83
snd: CS4231: ext version; rev = 0x9d, id = 0xff
snd: cs4231: unknown CS4236/CS423xB chip (enhanced version = 0xff)

More info later, Luca
_______________________________________________________________
Aiem...: Luca Montecchiani           W.W.W.: http://i.am/m.luca
E-mail.: m.luca@usa.net              Kernel: 2.2
I.R.C..: defrag (#linux-it)          I.C.Q.: 17655604
PGP5.0i: available on my home page   Lime98: io c'ero ;)
_______________________________________________________________

