2 Replies Latest reply: Aug 29, 2011 8:08 AM by Dude! RSS

    Checking for build-in kernel drivers


      I'm trying to find out how to check for a kernel build-in device driver under OL 5.7 according to USB3.0 drivers

      I would like to verify whether or not a driver is supplied as a kernel build-in driver as opposed to a module and what version. What is the best way to verify this? I have not found relevant information for build-in drivers on the web so far, beside using "lsmod" and "modinfo" to check kernel modules.

      Thanks and kind regards.
        • 1. Re: Checking for build-in kernel drivers
          With regarding to testing if a driver was compiled in or as a module, would checking the content of /boot/config-`uname -r` work for you? It does not give you the driver version, but at least a hint on where to look next.
          • 2. Re: Checking for build-in kernel drivers
            Thanks, it certainly helps to determine if the driver is build-in or compiled as a module:

            [root@ol1 boot]# cat config-2.6.32-200.13.1.el5uek | grep -i xhci
            # CONFIG_USB_XHCI_HCD_DEBUGGING is not set

            So the driver is build-in. The kernel config file brings back memories of Slackware.

            Regarding the driver version, I'm still searching...