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
lspcicommand 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 -vfor 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 -nncommand. - π This option displays numerical identifiers alongside device names, aiding in precise identification.
Filtering PCI Device Output
- βοΈ Combine
lspciwith pipes (|) andgrepto filter the output and find specific types of devices. - π Example: Use
lspci | grep -i VGAto find graphics controllers. - π Example: Use
lspci | grep -i USBto list USB controllers. - π Example: Use
lspci | grep -i networkto 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