[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: loading sound modules



On Wed, May 31, 2000 at 10:09:59PM -0400, Jacob I. Stowell wrote:
> Hello,
> 
> I am trying to get the sound modules to load during the login, but I
> am having problems.  I added a sound file to my /etc/init.d directory
> and updated  the modules using the command update-rc.d sound defaults.
> However, during login I get the following command:
> 
> /etc/init.d/rc: /etc/rc2.d/s20sound: no such file or directory

You're really doing this the hard way. But that should be a symlink to
the proper file in /etc/init.d/ and must have a capital S.

The easy way to do this:

1.  Edit /etc/modutils/aliases to have:

char-major-14 soundcore
alias sound-slot-0 cs4232
alias sound-service-0-0 sound # mixer
alias sound-service-0-3 sound # /dev/dsp & /dev/audio
alias sound-service-0-6 sound # /dev/sndstat
options cs4232 io=0x530 irq=5 dma=1 dma2=0 # numbers may vary

2. Run update-modules
3. Let kmod load the module on demand (or kerneld with 2.0)
   or
   Edit /etc/modules and add:
   cs4232  # may need sound and soundcore first ??

No need for an rc.d script to load a kernel module...


   
-- 
¶ One·should·only·use·the·ASCII·character­set·when·compos­

» ing·email·messages.




Reply to: