View previous topic :: View next topic |
Author |
Message |
Futt n00b
Joined: 13 Nov 2002 Posts: 28
|
Posted: Wed Jul 30, 2003 1:50 pm Post subject: Forcing modules with modules.autoload |
|
|
Hiya,
I recently installed a USB webcam using the pwc module. Now this thing has one opensource part (the pwc.o) and one closed source "plugin" (pwcx.o) that can be installed to improve image quality, compression etc. The closed-source part is a pre-compiled 2.4.20 driver, and as such will not load cleanly into a 2.4.20-gentoo kernel - I need to modprobe it with the --force parameter.
Now after reading the docs and checking around a bit, I have found no way to specify that a module in modules.autoload should be --forced into the kernel - thus when I boot it fails to load the pwcx.o module. I assume I could set the "insmod_opt" variable in modules.conf (or modules.d/*) to "--force" but that would force all the modules, if I understand it correctly.
Or would it be easier just to add a modprobe line to the init.d/local script? Sounds like an ugly hack so I'd rather avoid it. |
|
Back to top |
|
|
cchapman Guru
Joined: 16 Jan 2003 Posts: 440 Location: Fremont, NE
|
Posted: Wed Jul 30, 2003 8:17 pm Post subject: |
|
|
just add it to the local script it is the easiest way |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|