-
-
Notifications
You must be signed in to change notification settings - Fork 1
Linux lspci Guide
Mattscreative edited this page Dec 5, 2025
·
2 revisions
Complete beginner-friendly guide to lspci on Linux, covering Arch Linux, CachyOS, and other distributions including listing PCI devices, hardware information, and device detection.
lspci lists PCI devices.
Uses:
- List PCI devices: Show PCI/PCIe devices
- Hardware information: Get device details
- Hardware detection: Detect hardware
- Troubleshooting: Troubleshoot hardware
Why it matters:
- Hardware detection: See PCI devices
- Troubleshooting: Debug hardware problems
- Device management: Manage hardware
Arch/CachyOS:
# Install pciutils
sudo pacman -S pciutilsDebian/Ubuntu:
sudo apt install pciutilsFedora:
sudo dnf install pciutilsBasic usage:
# List all PCI devices
lspci
# Shows device listDetailed information:
# Verbose output
lspci -v
# -v = verbose (detailed info)Show drivers:
# Show kernel drivers
lspci -k
# -k = kernel driversHierarchical view:
# Tree format
lspci -t
# Shows PCI bus treeCheck installation:
# Check lspci
which lspci
# Install if missing
sudo pacman -S pciutilsThis guide covered lspci usage, PCI device listing, and hardware detection for Arch Linux, CachyOS, and other distributions.
- lsusb Guide - List USB devices
- Hardware Detection - Hardware detection
-
lspci Documentation:
man lspci
This guide covers Arch Linux, CachyOS, and other Linux distributions. For distribution-specific details, refer to your distribution's documentation.