Which file replace /etc/modprobe.conf in Ubuntu?

James Gray james at grayonline.id.au
Thu Mar 23 22:29:13 UTC 2006


On Fri, 24 Mar 2006 05:21 am, Loïc Martin wrote:
> Hi,
> I'm having trouble to get nvidia proprietary drivers working on an
> Inspiron 8200 (it's a known pb, due to a bug in the LCD that sends bad
> EDID to the driver), and a solution I'd like to try asks for adding
>
> options nvidia NVreg_Mobile=0 NVreg_ModifyDeviceFiles=0
>
> in /etc/modprobe.conf

/etc/modprobe.d/<files>

The logic is that if you need a customised set of options for a particular 
module, then you create a file in /etc/modprobe.d/ and add the options in 
there.  Here's one I created earlier:

/etc/modprobe.d/ipw2200:
options ipw2200 led=1 hwcrypto=0

See how it works?  The "options" line needs the module name (exactly) then the 
options you want passed to that module when it's loaded by modprobe.

To make the options effective, you simply need to:
sudo modprobe -r ipw2200
sudo modprobe ipw2200

(add "-v" to see what's going on).

Replace ipw2200 with whatever module you're configuring.  Be aware some 
modules can't easily be unloaded and reloaded without removing a lot of other 
dependant modules (sound drivers spring to mind here...but there are others, 
like usb too).  As much as I hate to say it, rebooting will always work, but 
may not be necessary - give the "modprobe" trick a go first ;)

HTH,

James
-- 
When you are at Rome live in the Roman style; when you are elsewhere live
as they live elsewhere.
		-- St. Ambrose
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060324/51254620/attachment.pgp>


More information about the ubuntu-users mailing list