Find the answer to your Linux question:
Results 1 to 4 of 4
What axactly does the information provided by the following commands (lspci -v and lsmod) tell you? Does lspci verify that the listed device has drivers installed arleady?...
  1. #1
    Just Joined!
    Join Date
    Aug 2011
    Posts
    39

    lspci -v and lsmod

    What axactly does the information provided by the following commands (lspci -v and lsmod) tell you?
    Does lspci verify that the listed device has drivers installed arleady?

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,695
    Google: lspci

    Code:
    man lspci
    
    .....
    lspci is a utility for displaying information about PCI buses in the system and devices connected to them.
    
           By  default,  it  shows  a  brief list of devices. Use the options described below to request either a more verbose output or output intended for
           parsing by other programs.
    .....
    -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 output.  (Currently works only on Linux with kernel 2.6 or newer.)

  3. #3
    Just Joined!
    Join Date
    Aug 2011
    Posts
    39
    One of the PCI devices listed on my systm does not show kernel drivers in use. Does this mean I am missing the drivers?

    02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
    Subsystem: Hewlett-Packard Company Device 2a8c
    Kernel driver in use: r8169
    Kernel modules: r8169
    03:04.0 Multiport serial controller: SUNIX Co., Ltd. Device 1999
    Subsystem: SUNIX Co., Ltd. Device 0002

  4. #4
    Linux Guru
    Join Date
    May 2011
    Posts
    1,843
    Probably. But your example (Realtek network adapter) does show a kernel driver (r8169). Can you post the output of lspci that shows the device with no driver/module?

    The lsmod command just shows kernel modules that have been loaded, either automatically or manually. Modules/drivers being loaded does not necessarily mean that the hardware device for which they are intended (if any) are necessarily present/enabled. Behavior varies from module to module.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...