login
Header Space

 
 

How to convert Linux Kernel built-in module into a loadable module

October 10, 2008 - 1:47am
Submitted by anitemp on October 10, 2008 - 1:47am.
Linux

Hi all,

I am working on USB data monitoring on Fedora Core 9. Kernel 2.6.25 has a built-in module (the one that isn't loadable, but compiles and links statically with the kernel during compilation) to snoop USB data. It is in /drivers/usb/mon/.

I need to know if I can somehow convert 'usb_mon' into a loadable module since I am making changes in this code I need to recompile the kernel and boot my linux after every change. I'm familiar device driver programming on kernel 2.4 but I am not sure about kernel 2.6 (though the things look similar here).

Thanks for looking into my post.
(Sorry if I've duplicated this post, please re-direct me to any other similar post if available)

-anitemp!

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <b> <quote> <pre> <hr> <br> <p> <img> <blockquote> <font> <tt> <table> <tr> <i>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

speck-geostationary