Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Forcing modules with modules.autoload
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Futt
n00b
n00b


Joined: 13 Nov 2002
Posts: 28

PostPosted: Wed Jul 30, 2003 1:50 pm    Post subject: Forcing modules with modules.autoload Reply with quote

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
View user's profile Send private message
cchapman
Guru
Guru


Joined: 16 Jan 2003
Posts: 440
Location: Fremont, NE

PostPosted: Wed Jul 30, 2003 8:17 pm    Post subject: Reply with quote

just add it to the local script it is the easiest way
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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