pciutils-3.13.0

Introduction to PCI Utils

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

[Note]

Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

Package Information

pciutils Dependencies

Recommended

Installation of PCI Utils

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

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

Install 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.

Now, as the root user:

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

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

Next, install the hwdata-0.390 package for the pci.ids file.

Command Explanations

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

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