How do i display the kernel drivers & kernel modules used for my pci devices?



  • Man page for lspci.

           -k     Show kernel drivers handling each device and also  kernel  modules  capable  of
                  handling  it.  Turned on by default when -v is given in the normal mode of out‐
                  put.  (Currently works only on Linux with kernel 2.6 or newer.)
    
    $ lspci -k
    00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
    	Subsystem: Red Hat, Inc. Qemu virtual machine
    00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
    	Subsystem: Red Hat, Inc. Qemu virtual machine
    00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
    	Subsystem: XenSource, Inc. Device 0001
    	Kernel driver in use: ata_piix
    	Kernel modules: ata_piix, pata_acpi, ata_generic
    00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 01)
    	Subsystem: Red Hat, Inc. Qemu virtual machine
    	Kernel modules: i2c_piix4
    00:02.0 VGA compatible controller: Cirrus Logic GD 5446
    	Subsystem: XenSource, Inc. Device 0001
    	Kernel driver in use: cirrus
    	Kernel modules: cirrus
    00:03.0 Unassigned class [ff80]: XenSource, Inc. Xen Platform Device (rev 01)
    	Subsystem: XenSource, Inc. Xen Platform Device
    	Kernel driver in use: xen-platform-pci
    

Log in to reply
 

© Lightnetics 2019