lspci shows PCI buses and devices detected by Linux. It is useful for identifying network adapters, storage controllers, graphics devices, USB controllers, and other PCI hardware.
Common commands
lspci lspci -v lspci -vv lspci -nn lspci -k
-vand-vvshow increasing detail.-nnincludes numeric vendor and device IDs.-kshows the kernel driver in use and available modules.
Filter a device
lspci -d 8086:
This example filters devices by vendor ID. Use lspci -nn first if you need to discover the IDs.
Some detailed configuration-space reads require root privileges. For troubleshooting a device-driver problem, lspci -nnk is often a good starting point.