Lspci

From LQWiki
Jump to: navigation, search

lspci is a command to list your pci devices. It is safer to use than looking at /proc/pci, because /proc/pci may be moved without further notice.

Additional info may be discovered by using the -v option, which combines vendor information from /usr/share/pci.ids . The -t option displays the data in tree mode by bus, device and function.

$ lspci -v -t
-[00]-+-00.0  Intel Corp. 440FX - 82441FX PMC [Natoma]
      +-03.0  Digital Equipment Corporation DECchip 21142/43
      +-07.0  Intel Corp. 82371SB PIIX3 ISA [Natoma/Triton II]
      +-07.1  Intel Corp. 82371SB PIIX3 IDE [Natoma/Triton II]
      +-07.2  Intel Corp. 82371SB PIIX3 USB [Natoma/Triton II]
      +-0b.0  Matrox Graphics, Inc. MGA 2164W [Millennium II]
      \-14.0-[01]----09.0  3Com Corporation 3c900B-Combo Etherlink XL [Cyclone]

Note to Gentoo users, lspci is part of the pciutils ebuild available in portAge.

You may also want to try 'hwinfo --pci'.

See also