LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Loading sound modules in order (https://www.linuxquestions.org/questions/red-hat-31/loading-sound-modules-in-order-136660/)

ia64processor 01-20-2004 07:16 AM

Loading sound modules in order
 
Gentlemen,

Does anyone has any idea on how to load sound modules in order?
Custom kernel is 2.4.21-9.EL, the sound module is trident.

When login to Gnome, sound does not work, lsmod shows the required drivers loaded. I have to "rmmod trident ac97_codec soundcore", then "modprobe trident" and the sound will work.

Wolven 01-20-2004 09:58 AM

Typically, they will load in the order specificed in

/etc/modules .

I'm not sure if that answers your question. Let me know if I need to be more specific.

ia64processor 01-21-2004 06:56 AM

Thanks for your reply, Wolven.

Do you mean /etc/modules.conf?
This is part of the /etc/modules.conf:
=====================================================
alias sound-slot-0 trident
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
=====================================================

I tried to add the rmmod/modprobe in the /etc/rc.d/rc.local to fix this problem. But I wonder is there any ways to control the loading of the sound module, or is there any conf files I should look at?

Wolven 01-22-2004 08:21 AM

My fault. Look in

/etc/modules

Here's what mine looks like, for example:

Quote:

root@oldscratch:/home# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a #, and everything on the line after them are ignored.
binfmt_aout
sg
eepro100


All times are GMT -5. The time now is 12:36 PM.