LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   How to list drivers compiled into the kernel? (https://www.linuxquestions.org/questions/linux-hardware-18/how-to-list-drivers-compiled-into-the-kernel-492571/)

Tischbein 10-15-2006 08:19 AM

How to list drivers compiled into the kernel?
 
Dear All,

How can I get a list of all the drivers compiled into the kernel?

Modules are easy enough: To find the modules in use there's the command line "lsmod", and to find all module binaries on the system, whether in use or not, I just neeed to find all files ending in ".ko", so for instance the radeon driver will be radeon.ko. But I don't have the same kind of oversight when drivers are compiled directly into the kernel.

I can guess sometimes, but guessing is error prone and wastes time and often doesn't lead to the answer. Like Holmes I'd rather never guess!

Regards, Max

Bruce Hill 10-15-2006 08:53 AM

You will need to modify the kernel $PATH and version number.
Code:

cat /usr/src/linux-2.4.32/.config | grep -i =Y

Tischbein 10-15-2006 11:23 AM

Thanks.

Regards, Fliegenbein


All times are GMT -5. The time now is 08:48 PM.