From alsa-user-owner@alsa.jcu.cz  Thu Nov 19 03:43:49 1998
Received: from nurock.kek.jp (root@nurock.kek.jp [130.87.218.140])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id DAA08317
	for <alsa-user@jcu.cz>; Thu, 19 Nov 1998 03:43:10 +0100
Received: from nurock.kek.jp (really [127.0.0.1]) by nurock.kek.jp
	via in.smtpd with esmtp (ident sharkey using rfc1413)
	id <m0zgJoV-000TJXC@nurock.kek.jp> (Debian Smail3.2.0.101)
	for <alsa-user@jcu.cz>; Thu, 19 Nov 1998 11:27:19 +0900 (JST) 
Message-Id: <m0zgJoV-000TJXC@nurock.kek.jp>
To: alsa-user@jcu.cz
From: sharkey@ale.physics.sunysb.edu
Subject: Re: No workie w/ 2.0.35 & CS4236B 
In-reply-to: Your message of "Wed, 18 Nov 1998 20:36:39 EST."
             <Pine.A41.3.95.981118203020.25048E-100000@hcirisc.cs.binghamton.edu> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 19 Nov 1998 11:27:18 +0900
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list

> I've got to say that I really admire the guys who're doing all the work,
> but the documentation's really lacking.

Right now, the "guys doing all the work" are most just Jaroslav.  ALSA is
primarily (although not entirely) the work of this one individual.  He's
needs help to improve the documentation, so he can improve the code. 

>  I'm quite confused about what's
> supposed to go in conf.modules, but I think I finally got it together.
> 
> I've grabbed, compiled and installed 0.2.0-pre10p1, but I'm not having any
> luck.  In particular, I'm getting "/lib/modules/2.0.35/misc/snd-cs4236.o:
> symbol for parameter snd_id not found".

I don't have pre10p1 handy, but looking at my copy of pre9 it looks like you've
made a small error in the conf.modules setting:

> alias char-major-14 snd
> alias snd-minor-oss-0 snd-cs4236
> alias snd-minor-oss-3 snd-pcm1-oss
> alias snd-minor-oss-4 snd-pcm1-oss
> alias snd-minor-oss-5 snd-pcm1-oss
> alias snd-minor-oss-12 snd-pcm1-oss
> alias snd-card-0 snd-cs4236
> options -k snd snd_major=14 snd_cards_limit=1
> options -k snd-cs4236 snd_id="mysndcard" snd_irq=5 snd_dma1=1 snd_dma2=0

If you take a look at the symbols present in each module:

nurock% nm snd-cs4236.o | grep snd_id
nurock% nm snd-card-cs4236.o | grep snd_id
000000ad ? __module_parm_desc_snd_id
0000009c ? __module_parm_snd_id
00000020 D snd_id

You see that snd_id is part of snd-card-cs4263 not snd-cs4263.  If you change
the last options line above from "snd-cs4263" to "snd-card-cs4263" it might
work better.

Take a look at the "insert" script provided in the utils directory of the
alsa driver for comparison.

Eric


