9.15. pciutils-3.14.0

The PCI Utils package contains a set of programs for listing PCI devices, inspecting their status and setting their configuration registers.

Approximate build time: less than 0.1 SBU
Required disk space: 5.4 MB

pciutils Dependencies

Recommended (runtime)

9.15.1. Installation of PCI Utils

Prevent the installation of the pci.ids file to avoid a conflict with the 'hwdata' package:

sed -r '/INSTALL/{/PCI_IDS|update-pciids /d; s/update-pciids.8//}' \
    -i Makefile

To Build PCI Utils by running the following commands:

make PREFIX=/usr                \
     SHAREDIR=/usr/share/hwdata \
     SHARED=yes

This package does not come with a test suite.

Install the package:

make PREFIX=/usr                \
     SHAREDIR=/usr/share/hwdata \
     SHARED=yes                 \
     install install-lib

chmod -v 755 /usr/lib/libpci.so

9.15.2. Command Explanations

SHARED=yes: This parameter enables building of the shared library instead of the static one.

9.15.3. Contents

Installed Programs: lspci, pcilmr, and setpci
Installed Library: libpci.so
Installed Directory: /usr/include/pci

Short Descriptions

lspci

is a utility for displaying information about all PCI buses in the system and all devices connected to them

pcilmr

is a utility for managing PCIe links

setpci

is a utility for querying and configuring PCI devices

libpci.so

is a library that allows applications to access the PCI subsystem