Skip to content

Use lspci to view hardware on Linux

Check out the lspci command to see the hardware that Linux was able to recognize.

The lspci is useful for showing all the information about system PCI buses and the devices connected to them.

Your most common options are:

  • -v Shows detailed information about all devices.
  • -vv shows even more information about the devices.
  • -n Shows the codes of the manufacturers and devices.
  • -x Shows the first 64 bytes of the PCI configuration in hexadecimal.
  • -xxx Shows the entire PCI configuration in hexadecimal.

# lspci

0000:00:00 .0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01)

0000:00:01 .0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01)

0000:00:07 .0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIXB 4 ISA (rev 08)

00:00:07 .1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)

0000:00:07 .2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB

0000:00:07 .3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 08)

The Linux Kernel has a robust hardware recognition system and support for various devices. This system was implemented mainly through sysfs, udev, and d-bus.