oio11: (Default)
[personal profile] oio11
sensors-detect tells me:
To load everything that is needed, add this to /etc/modules:
# Chip drivers coretemp w83627ehf 
If you have some drivers built into your kernel, the list above will contain too many modules. Skip the appropriate ones!
How can I find out which drivers are appropriate to skip, if any?
shareimprove this question
   
up vote 2 down vote accepted
  • The canonical method is to check your running kernel config, but this can be hard to parse because it will include both modules and other options and the names may not correspond:
    
    grep "=y" /boot/config-`uname -r`
  • Practically, it's much easier to simply do a:
    
    locate name-of-module | grep `uname -r`.*ko`
    
    (((?или locate name-of-module | grep `uname -r`.*ko )))
    (make sure the database has been recently updated, with sudo updatedb if necessary)
    If you see a .ko file entry like:
    
    /lib/modules/3.2.0-29-generic/kernel/drivers/hwmon/coretemp.ko
    then this module is NOT built-in and can properly be added to /etc/modules
    • But if you get no results in /lib/modules, then the module IS built-in and there may be no need to explicitly load it.
  • A variation to find all non-built-in modules in /lib/modules is:
    
    locate /lib/modules/`uname -r` | grep -Po "(?<=/)\w+(?=\.ko)"
shareimprove this answer


http://askubuntu.com/questions/181433/how-can-i-find-out-what-drivers-are-built-into-my-kernel
(will be screened)
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

May 2025

S M T W T F S
    123
45678910
11121314151617
181920212223 24
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 31st, 2025 09:36 pm
Powered by Dreamwidth Studios