我试图理解lspci
行输出中的列:
<pci_device_id> <?> <??> <???> <????> <?????> <??????>
示例输出:
$ lspci -nm | grep d7:17.0
d7:17.0 "0880" "8086" "2018" -r07 "8086" "0000"
其他文档:
-m
Dump PCI device data in a backward-compatible machine readable form. See below for details.
-n
Show PCI vendor and device codes as numbers instead of looking them up in the PCI ID list.
https://manpages.ubuntu.com/manpages/xenial/en/man8/lspci.8.html
答案1
lspci -nnn
提供稍微更标签化的视图以及文档这里
$ lscpi | grep d7:17.0
d7:17.0 System peripheral [0880]: Intel Corporation Sky Lake-E M2PCI Registers [8086:2018] (rev 07)
<pci_device_id> <class_code> <vendor_id> <product_id> -r<revision_number> <??> <???>