Lspci-list all PCI devices
Popularization of pci:
PCI (Peripheral Component Interconnect) is a bus standard that connects the motherboard of an electronic computer and external devices.
Common PCI cards include NICs, sound cards, modem, TV cards, and disk controllers, as well as USB and serial ports. The original video card is usually a PCI device, but soon its bandwidth is insufficient to support the performance of the video card. PCI graphics cards are currently only used when an additional external display or motherboard is not equipped with an AGP or PCI Express slot.
Let's take a look at the effect of lspci execution. We can view the hardware information:
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 04)00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-LM (rev 04)00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 04)00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d4)00:1c.1 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 (rev d4)00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d4)00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 04)00:1f.0 ISA bridge: Intel Corporation QM87 Express LPC Controller (rev 04)00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 04)00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 04)03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)04:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192EE PCIe Wireless Network Adapter
Here are a few simple examples:
Lspci-mm machine-readable ??) Output
$ lspci -mm00:00.0 "Host bridge" "Intel Corporation" "Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller" -r06 "Lenovo" "Device 2210"00:02.0 "VGA compatible controller" "Intel Corporation" "4th Gen Core Processor Integrated Graphics Controller" -r06 "Lenovo" "Device 2210"00:03.0 "Audio device" "Intel Corporation" "Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller" -r06 "Lenovo" "Device 2210"00:14.0 "USB controller" "Intel Corporation" "8 Series/C220 Series Chipset Family USB xHCI" -r04 -p30 "Lenovo" "Device 2210"00:16.0 "Communication controller" "Intel Corporation" "8 Series/C220 Series Chipset Family MEI Controller #1" -r04 "Lenovo" "Device 2210"00:19.0 "Ethernet controller" "Intel Corporation" "Ethernet Connection I217-LM" -r04 "Lenovo" "Device 2210"00:1a.0 "USB controller" "Intel Corporation" "8 Series/C220 Series Chipset Family USB EHCI #2" -r04 -p20 "Lenovo" "Device 2210"00:1b.0 "Audio device" "Intel Corporation" "8 Series/C220 Series Chipset High Definition Audio Controller" -r04 "Lenovo" "Device 2210"00:1c.0 "PCI bridge" "Intel Corporation" "8 Series/C220 Series Chipset Family PCI Express Root Port #1" -rd4 "" ""00:1c.1 "PCI bridge" "Intel Corporation" "8 Series/C220 Series Chipset Family PCI Express Root Port #2" -rd4 "" ""00:1c.2 "PCI bridge" "Intel Corporation" "8 Series/C220 Series Chipset Family PCI Express Root Port #3" -rd4 "" ""00:1d.0 "USB controller" "Intel Corporation" "8 Series/C220 Series Chipset Family USB EHCI #1" -r04 -p20 "Lenovo" "Device 2210"00:1f.0 "ISA bridge" "Intel Corporation" "QM87 Express LPC Controller" -r04 "Lenovo" "Device 2210"00:1f.2 "SATA controller" "Intel Corporation" "8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode]" -r04 -p01 "Lenovo" "Device 2210"00:1f.3 "SMBus" "Intel Corporation" "8 Series/C220 Series Chipset Family SMBus Controller" -r04 "Lenovo" "Device 2210"03:00.0 "Unassigned class [ff00]" "Realtek Semiconductor Co., Ltd." "RTS5227 PCI Express Card Reader" -r01 "Lenovo" "Device 2210"04:00.0 "Network controller" "Realtek Semiconductor Co., Ltd." "RTL8192EE PCIe Wireless Network Adapter" "Realtek Semiconductor Co., Ltd." "Device 001b"
Lspci-v | grep 8192 view detailed information (if there are too many information, use grep to filter it out ):
$ lspci -v | grep 819204:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192EE PCIe Wireless Network Adapter Kernel driver in use: r8192ee
Lspci-VV | grep 8192 For more details (distinct, there are no differences between the two ):
$ lspci -vv | grep 819204:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192EE PCIe Wireless Network Adapter Kernel driver in use: r8192ee
Lpci-K
$ lspci -k | grep 819204:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192EE PCIe Wireless Network Adapter Kernel driver in use: r8192ee
The others are more profound and I will not read them for the time being. Today there are still many commands that need to be popularized.
Refer:
PCI (Wiki)
Linux lspci
Lspci (8)-Linux man page
Lspci displays hardware device information through the system bus