From alsa-user-owner@alsa.jcu.cz  Thu Sep 10 19:15:46 1998
Received: from ale.physics.sunysb.edu (root@ale.physics.sunysb.edu [129.49.30.117])
	by marvin.jcu.cz (8.8.8/8.8.8) with ESMTP id TAA20104
	for <alsa-user@jcu.CZ>; Thu, 10 Sep 1998 19:15:43 +0200
Received: from ale.physics.sunysb.edu (really [127.0.0.1]) by superk.physics.sunysb.edu
	via in.smtpd with esmtp (ident sharkey using rfc1413)
	id <m0zHAJq-000Po9C@ale.physics.sunysb.edu> (Debian Smail3.2.0.101)
	for <alsa-user@jcu.cz>; Thu, 10 Sep 1998 13:15:42 -0400 (EDT) 
Message-Id: <m0zHAJq-000Po9C@ale.physics.sunysb.edu>
To: alsa-user@jcu.CZ
cc: thyle@moonman.com
From: sharkey@ale.physics.sunysb.edu
Subject: Re: cs4237 question 
In-reply-to: Your message of "Thu, 10 Sep 1998 11:28:26 CDT."
             <35F7FE2A.C74D216E@moonman.com> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 10 Sep 1998 13:15:38 -0400
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list

>  Edit your /etc/conf.modules (look to kerneld/kmod support section
> 
> mine was blank!  did nothing

If you don't edit this file, you won't be able to automatically load the
sound module when you try to use the sound card.  Here is the alsa section
of my file:

# ALSA sound configuration for modutils 2.1.55+                                 
                                                                                
alias char-major-14 snd                                                         
alias snd-minor-oss-0 snd-interwave                                             
alias snd-minor-oss-3 snd-pcm-oss                                               
alias snd-minor-oss-4 snd-pcm-oss                                               
alias snd-minor-oss-5 snd-pcm-oss                                               
alias snd-minor-oss-12 snd-pcm-oss                                              
alias snd-card-0 snd-interwave                                                  
options snd snd_major=14 snd_cards_limit=1                                   
options snd-interwave snd_index=1 snd_id="guspnp" 

This is for an interwave card, of course.  You should change snd-interwave to
match your sound card type.

> /sbin/modprobe snd-cs4236.o snd_port 0x534 snd_cport 0x120 snd_mpu_port
> 0x300 snd_fm_port 0x388 snd_jport 0x200 snd_irq 5 snd_mpu_irq 9 snd_dma1
> 1
> snd_dma1_size 64kB snd_dma2 3 snd_dma2_size 64kB
> 
> 
> did that(is that how im supposed to do it?)

I usually use the insert script provided in the utils directory with the driver
source.  It's a cleaner way of handling this.

> and it seemed to work,

Ok, great.

> so i rebooted,

What?  Why?  If you reboot, it will remove the module from memory.

> but i have no sound! cant open /dev/dsp!  im sure i did
> something wrong, but what?

Don't reboot after installing the modules.

> do I add all of that(excluding /sbin/modprobe) to /etc/conf.modules?

It's not necessary to edit conf.modules at all, but it means you need to load
the modules by hand (either with insmod, modprobe, or the insert script.).
Adding the appropriate lines to conf.modules makes loading the module by hand
unneccessary.

Eric


