Lspci


lspci is a command on Unix-like operating systems that prints detailed information about all PCI buses and devices in the system. It is based on a common portable library libpci which offers access to the PCI configuration space on a variety of operating systems.

Example usage

Example output on a Linux system:
# lspci
00:00.0 Host bridge: Intel Corporation 82815 815 Chipset Host Bridge and Memory Controller Hub
00:02.0 VGA compatible controller: Intel Corporation 82815 Chipset Graphics Controller
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge
00:1f.0 ISA bridge: Intel Corporation 82801BAM ISA Bridge
00:1f.1 IDE interface: Intel Corporation 82801BAM IDE U100 Controller
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1
00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus Controller
00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB Controller #2
00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97 Audio Controller
01:03.0 CardBus bridge: O2 Micro, Inc. OZ6933/711E1 CardBus/SmartCardBus Controller
01:03.1 CardBus bridge: O2 Micro, Inc. OZ6933/711E1 CardBus/SmartCardBus Controller
01:0b.0 PCI bridge: Actiontec Electronics Inc Mini-PCI bridge
02:04.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100
02:08.0 Communication controller: Agere Systems WinModem 56k

If many devices are shown as unknown, issuing the command 'update-pciids' will usually
correct this.

lsusb

lsusb is a similar command for USB buses and devices. To make use of all the features of this program, you need to have a Linux kernel which supports the interface.

hwinfo

hwinfo is for all the hardware. Hwinfo output reports for various computer models are collected in a public GitHub repository.

lshw

lshw is a subset of what hwinfo presents.

Other platforms

The equivalent command for FreeBSD is pciconf -l. pciconf can also perform other functions such as reading and writing PCI registers. For more information, see the .
The tool, which is not related to the hwinfo tool mentioned above, can be downloaded in binary form at no cost. It is claimed to be `System Information and Diagnostics Comprehensive Hardware Analysis, Monitoring and Reporting for Windows and DOS'.

Similar commands