LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 05: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, 06: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, 06: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, 06: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



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-02-2005 11:59 PM
can't change tcp_sack permanently kentri9 Linux - Networking 1 10-30-2004 05:20 PM
Change defualt gateway permanently mrpc_cambodia Red Hat 0 07-13-2004 11:01 PM
Quick Question: permanently remove modules? 000 Linux - Newbie 2 12-31-2003 06:26 PM
Permanently change the hostname juby Linux - Software 13 05-10-2003 12:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Open Source Consulting | Domain Registration