LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   modprobe (https://www.linuxquestions.org/questions/linux-newbie-8/modprobe-346181/)

tfc 07-24-2005 04:44 AM

modprobe
 
What is the best way to automate modprobe or make the changes persistent?
I need to load the i810_audio module every time i boot.

hamish 07-24-2005 05:07 AM

what distro are you running?

in gentoo, you can put it in /etc/modules.autoload/kernel.<version> This file is just a list, and you can put it in there.

alternatively, you should be able to stick it in the local.start file . This is a file which gets run when the system boots. Should be in /etc/conf.d/local.start (AFAIK). This is a handy file for putting things you want done at startup, like mounting crypt drives.

hamish

tfc 07-24-2005 05:26 AM

Quote:

what distro are you running?

in gentoo, you can put it in /etc/modules.autoload/kernel.<version> This file is just a list, and you can put it in there.

alternatively, you should be able to stick it in the local.start file . This is a file which gets run when the system boots. Should be in /etc/conf.d/local.start (AFAIK). This is a handy file for putting things you want done at startup, like mounting crypt drives.
I'm using Ubuntu. I didn't think it was relevant, otherwise I would have posted it in that forum.
I don't have the file that you describe, but I do however have a /etc/modprobe.d directory with lots of files in it. One of them is named alsa-base, could this be the one? And, if so, should I just add modprobe i810_audio to the end of that file?

maginotjr 07-24-2005 02:01 PM

yep ... this will do.

You havent that file in your /etc folder because it is Gentoo especific, ubuntu is diferent :)


All times are GMT -5. The time now is 01:06 AM.