On Sunday 16 March 2003 11:11 pm, David Cornette wrote:
[...]
> The other problem is that after a reboot, the modules aren't loaded until
> X is started.  I guess when esd starts they are loaded, but when I use cdp
> or aplay they don't get loaded.  I'm not sure what the right way to do
> this is.  I guess Red Hat would probably say "Start X.", but that doesn't
> seem right.  I created a file /etc/rc.modules, which the RH init scripts
> run.  I see references to an "alsasound" init script, but it seems to no
> longer be distributed.

The following in my /etc/modules.conf works for me:

alias char-major-116 snd
alias snd-card-0 snd-ens1371
options snd major=116 cards_limit=1 device_mode=0666
options snd-ens1371 index=0
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

# Load our default mixer settings after snd-mixer-oss has been loaded
post-install snd-mixer-oss /usr/bin/aumix -L -f /etc/aumixrc >/dev/null 2>&1


Then, in /etc/aumixrc

vol:100:100:P
pcm:75:75:P
speaker:0:0:P
line:75:75:R
mic:75:75:P
cd:0:0:P
igain:60:60:P
line1:0:0:P
phin:0:0:P
video:0:0:P

The modules will not be loaded until the device is accessed (through /dev/dsp 
etc).

I run Red Hat 7.3. 

Hope this helps.

-- 
Levi Burton
http://www.puresimplicity.net/~ldb/



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to