Click to See Complete Forum and Search --> : Easy Soudcard Question
Satanic Atheist
10-06-2003, 02:23 PM
Does anyone know what I can slot into modules.conf to autoload the following three modules at boot time?
ac97_codec.o
sound.o
emu10k1.0
Every time I boot I have to insert them manually (in that order) and I'd like to find a better way than writing insmod into a boot script file. I've never really played with modules before.
Cheers,
James
mdwatts
10-06-2003, 04:03 PM
You could try
alias sound-slot-0 emu10k1
alias sound-service-0-0 emu10k1
in /etc/modules.conf if sound-slot-0 and sound-service-0-0 are the correct devices for the soundcard.
Or add
/sbin/modprobe emu10k1
to /etc/rc.d/init.d/rc.local or /etc/init.d/boot.local (depending on the distro).
Satanic Atheist
10-06-2003, 04:26 PM
It was /etc/rc.d/rc.modules (I use Slackware).
Strangely enough, everything in there was commented out, any reason why that should be? I un-commented that line and (for the hell of it) added my SCSI card.
Thanks,
James
mdwatts
10-06-2003, 05:29 PM
Originally posted by Satanic Atheist
Strangely enough, everything in there was commented out, any reason why that should be?
Something you did during your *cough* birthday celebration and cannot remember? :p
Were they always commented out? Perhaps Slack does this by default and it is up to the user to uncomment what is required.
Satanic Atheist
10-06-2003, 06:03 PM
Wasn't my birthday celebrations - I was down the pub all day (and I've got the marks to prove it).
It was always uncommented, but everything else seems to work fine. I guess I may have to play around in there... This is Slack 9.1 and not Slack 9, so possibly a change?
I need to flatten this machine and rebuild from scratch anyway since the partition table is stuffed. In Knoppix, I get partitions 10-16 which are unmountable and unreadable.
'Bout time I did it anyway.
Cheers,
James
DerekKraan
10-07-2003, 08:10 PM
The rc.modules file in Slack has all(or most) of the modules to load...except they're all commented out. It'll uncomment the ones at install that it thinks you need, but you can always uncomment the ones that you need later. I guess it's just there so that you don't have to run around trying to figure out the proper commands, etc? For newbies, they just have to uncomment the line with thier module name in it.
Satanic Atheist
10-07-2003, 08:33 PM
Odd that I've never had a problem in the past with my sound card being detected.
Maybe a one-off. I'll reinstall, and see if it's repeated. If it is, I'll post it here on the "How I Did It Board" so it's easy for everyone (although not much of an achievement).
Is it possible that this script is updated at boot time? I know that after building the module for my SCSI card it's normally auto-detected which was the case under Slackware 9.
Thanks for the help, it made a difference and I've updated my Linux diary with that entry.
James