≡ Menu

lspci command

Linux operating systems comes with various set of tools allowing you to manipulate the Wireless Extensions and monitor wireless networks. This is a list of tools used for wireless network monitoring tools that can be used from your laptop or desktop system to find out network speed, bit rate, signal quality/strength, and much more.
[click to continue…]

A typical question from my mailbag:

How do I find out if a given PCI hardware is supported of by the current CentOS / Debian / RHEL / Fedora Linux kernel?

You can easily find out find out if a given piece of PCI hardware such as RAID, network, sound, graphics card is supported or not by the current Linux kernel using the following utilities under any Linux distributions.
[click to continue…]

lspci is a command for displaying information about all PCI buses in the system and all devices connected to them.

lspci is useful when you want to diagnose problems or when you want to report bugs related to pci devices.

Report PCI devices bugs

$ lspci -vvx

See how PCI devices connected to PCI bus

With -t option you can see PCI layout in a tree format. You can see exactly all buses, bridges, devices and connections between them on your server/PC PCI bus.
$ lspci -t
Output:

-[00]-+-00.0
      +-02.0
      +-1d.0
      +-1d.1
      +-1d.2
      +-1d.7
      +-1e.0-[01]--+-02.0
      |            +-02.1
      |            \-05.0
      +-1f.0
      +-1f.1
      +-1f.3
      \-1f.5

Please note that your master PCI bus is 00. It is better to use -v option with -t to get detailed information:

$ lspci -tv

Output:

-[00]-+-00.0  Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface
      +-02.0  Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device
      +-1d.0  Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1
      +-1d.1  Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2
      +-1d.2  Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3
      +-1d.7  Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller
      +-1e.0-[01]--+-02.0  Brooktree Corporation Bt878 Video Capture
      |            +-02.1  Brooktree Corporation Bt878 Audio Capture
      |            \-05.0  Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
      +-1f.0  Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge
      +-1f.1  Intel Corporation 82801DB (ICH4) IDE Controller
      +-1f.3  Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller
      \-1f.5  Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller

See also:

  • Please consult man page of lspci for more information.