Skip to main content

Linux: How to Check PCI Devices with lspci Command

HardReset.InfoJanuary 17, 20263 min28 views
4 connections·6 entities in this video→

Introduction to lspci

  • πŸ’» The lspci command is used in the Linux terminal to list all devices connected to a PCI bus.
  • πŸ’‘ This includes devices like graphics cards, network cards, sound cards, and SATA controllers.
  • ⚠️ Output may be less detailed on virtual machines compared to a normal system.

Verbose Output Options

  • πŸ” Use lspci -v for more detailed information about each PCI device, including driver details and other technical specifications.
  • πŸš€ For even more in-depth data, useful for hardware debugging or driver support checks, use lspci -vv.

Displaying Vendor and Device IDs

  • πŸ†” To view vendor and device IDs, use the lspci -nn command.
  • πŸ“Œ This option displays numerical identifiers alongside device names, aiding in precise identification.

Filtering PCI Device Output

  • βš™οΈ Combine lspci with pipes (|) and grep to filter the output and find specific types of devices.
  • πŸ”Œ Example: Use lspci | grep -i VGA to find graphics controllers.
  • πŸ”Œ Example: Use lspci | grep -i USB to list USB controllers.
  • πŸ”Œ Example: Use lspci | grep -i network to find network cards (note: this example may not work if no network devices are present).
Knowledge graph6 entities Β· 4 connections

How they connect

An interactive map of every person, idea, and reference from this conversation. Hover to trace connections, click to explore.

Hover Β· drag to explore
6 entities
Chapters2 moments

Key Moments

Transcript14 segments

Full Transcript

Topics15 themes

What’s Discussed

LinuxlspciPCI DevicesTerminal CommandsHardware TroubleshootingDriver SupportSystem InventoryVGA ControllerUSB ControllerSATA ControllerNetwork CardVendor IDDevice IDgrepPipes
Smart Objects6 Β· 4 links
ProductsΒ· 2
ConceptsΒ· 4