「PCI Utils」

PCI Utils,该软件包包含一组用于列出PCI设备的程序、检查其状态并设置其配置寄存器。

安装

从发行版的源中安装

# Ubuntu 16.04.2 LTS
apt-get install pciutils

从源码中编译安装
源码编译请参考BLFS/pciutils-3.5.1: http://www.linuxfromscratch.org/blfs/view/7.10/general/pciutils.html

安装的可执行程序文件

lspci | 显示系统中所有PCI总线及连接到它们的设备。

setpci | 用于查询、配置PCI设备。

update-pciids | 获取当前的PCI ID列表。需要用到cURL、Lynx、Wget之一。

参考文献

BLFS/pciutils-3.5.1: http://www.linuxfromscratch.org/blfs/view/7.10/general/pciutils.html