Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: kernel module extensions, Can an extension include a kernel module< Next Oldest | Next Newest >
alfille Offline

Group: Members
Posts: 20
Joined: July 2005
Posted: July 08 2005,14:35 QUOTE

DSL seems like the perfect was to distribute my application (, especially for the people who have trouble with installation. I already install in /opt with no persistent settings. Perfect! Except...

I have two complications:
1. My application depends on FUSE -- the "filesystem in user space" ( which is a library and kernel module. Can an extension include a kernel module? Is there an easy way to load it out of the /opt directory? Is the best practce to package it separately, or as part of my application?

2. One USB device needs a modified kernel module. (Basically, the usb-serial ftdi_sio.o module supports the device, but needs the "USB product number" in its list). Is there an easy way to override a kenel module with an updated one?

Thanks for the help. It seems better to ask about these configuration issues before blundering ahead.

Paul Alfille
Back to top
Profile PM 
clacker Offline

Group: Members
Posts: 570
Joined: June 2004
Posted: July 08 2005,16:33 QUOTE

alfille, I did something similar with the bcm5700.tar.gz package.  The modules are in there own sub-directory of /opt, and they get loaded from a menu item with a sudo insmod /opt/bcm5700/bcm5700.o command.

I'm not sure when to use insmod vs modprobe, and I have no idea about over riding modules.
Back to top
Profile PM 
roberts Offline

Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: July 08 2005,16:43 QUOTE

Actually, I have implemented some module support in DSL. It has been an unannounced feature. It basically works like the /optional directory. You make a /modules directory off the root device and then use the boot option modules=hda7 then the boot process will insmod each of the modules in that directory. They will be loaded in alphabetical order. I use this feature when I made the winmodem modules for the thinknic project. It works but uses the insmod and not modprobe. So, you should be able to load additional modules with this method. insmod will only load the module specified while modprobe will load it and other modules that it may depend on, kinda like the apt stuff. So, if you know the order and what you want to accomplish you can use this feature.
Back to top
Profile PM WEB 
2 replies since July 08 2005,14:35 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Quick Reply: kernel module extensions

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code