Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Where do I look for Linux kernel module documentation?

For example, I've tried googling the module iwlagn, but I cannot find anything that tells me about available options. Where do I look?

share|improve this question
    
Is iwlagn just a possibly poor example, or are you primarily interested in this specific module? –  Daniel Beck Dec 26 '11 at 18:40
    
iwlagn is bugged on my kernel; I wanted to see what other options are avail. then I realized I had no idea how to find info about modules and decided to find out how. –  josten Dec 26 '11 at 18:47
add comment

2 Answers

up vote 3 down vote accepted

You have two authoritative sources for module information:

  1. modinfo iwlagn gives you the list of options, with terse description of each.

  2. Get the kernel source (using your distribution's tools, or from www.kernel.org), search for iwlagn source there, usually, the source of the module contains at least some info about its options (search for options available in step #1 inside the source file). You don't really need to understand the code, just read the comments.

And of course, google is your friend here too, once you found the options of interest to you, googling them together with the module name sometimes gives useful results.

share|improve this answer
    
Exactly what I wanted; thanks –  josten Dec 26 '11 at 18:46
add comment

You normally should not directly configure your modules with options, rather you should use the software your OS provides for configuration. In case of wireless LAN you'd better use iwconfig and you can find all available options in man pages for this utility.

I just binged for your module and found this description that I found rather complete. You should have seen it too. Did you miss anything there?

share|improve this answer
    
That description doesn't indicate any options. One such option is 11n_disable. –  josten Dec 26 '11 at 18:41
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.