How Do I Find Pci Devices on Linux?
Contents

lspci is a Linux shell command that lists all connected PCI devices regardless whether the respective driver is installed or not. In normal output, the first three hexadecimal numbers (separated by a colon and a dot) specify the device’s B/D/F (Bus, Device, Function).

How do I check my PCI devices?

The computer’s PCI cards can be identified with a Windows tool called Device Manager, which comes preinstalled on new computers.

  1. Click the “>>” button in the taskbar while in Desktop view.
  2. Select “Control Panel” from the menu.
  3. Select “Device Manager” from the menu.

How do I find my PCI slot number?

Use dmidecode -t slot to find out the slot numbers that are in USE and the Bus Address. Use that bus address in lspci -s <busaddress> to find out what is in the slot. For example: I have NIC in slot-7, Q-Logic in Slot – 2 and Mellanox in Slot – 3.

David Miller

David Miller

Executive Financial & Market Analyst

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.

Share this article
Twitter Facebook Pinterest