LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 09-27-2005, 06:56 PM   #1
polemon
Member
 
Registered: Jun 2005
Distribution: Fedora 18, Ubuntu 11.10, Ubuntu Server 11.10, DamnSmallLinux 3.4.4, FreeDOS 1.1, OpenBSD 5.0
Posts: 194

Rep: Reputation: 31
How to change modules state permanently?


Hi!

I have to change some driver options under Linux.
This is no problem as i can unload drivers with 'modprobe -r <module>'
and load drivers with modprobe or insmod.

Changing modules, loading new a.s.o. is no problem, but the trick is, that it has to be a permanent state, but after a reboot, everything is back to the sate before i changed the module setup

How can i make it permament?
say, that 'ov511' is loaded with all the other modules
and that cx88xx loads with the option 'card=1' ('cx88xx card=1') ?

please help

--polemon
 
Old 09-27-2005, 07:02 PM   #2
uopjohnson
Member
 
Registered: Jun 2004
Location: San Francisco
Distribution: Slackware, Ubuntu, RHEL, OS X
Posts: 159

Rep: Reputation: 30
What you are looking for is the /etc/modprobe.conf file. Which will let you specify options for modules as they are loaded. If you google it you will find lots of info.
 
Old 09-27-2005, 07:08 PM   #3
polemon
Member
 
Registered: Jun 2005
Distribution: Fedora 18, Ubuntu 11.10, Ubuntu Server 11.10, DamnSmallLinux 3.4.4, FreeDOS 1.1, OpenBSD 5.0
Posts: 194

Original Poster
Rep: Reputation: 31
Ok, i managed to specify the 'card=1' option the cx88xx module, but how load a module automatically, or, how to "add" a module to the other module autoload list
 
Old 09-27-2005, 07:21 PM   #4
uopjohnson
Member
 
Registered: Jun 2004
Location: San Francisco
Distribution: Slackware, Ubuntu, RHEL, OS X
Posts: 159

Rep: Reputation: 30
First google result is this look halfway down for "install modulename command..." that is what you are looking for. I'm not going to replicate the text here.
I'm not sure where the modules are loaded from in fedora, but I'm sure someone else can tell you where to insert a modules to get it to load before another. However, I think your best bet is the above install command.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't permanently change path SuperRunt Linux - Newbie 11 02-03-2005 12:59 AM
can't change tcp_sack permanently kentri9 Linux - Networking 1 10-30-2004 06:20 PM
Change defualt gateway permanently mrpc_cambodia Red Hat 0 07-14-2004 12:01 AM
Quick Question: permanently remove modules? 000 Linux - Newbie 2 12-31-2003 07:26 PM
Permanently change the hostname juby Linux - Software 13 05-10-2003 01:34 PM


All times are GMT -5. The time now is 04:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration