PCI Utilities-3.1.8
Introduction to PCI Utilities
The PCI Utilities package is a set
of programs for listing PCI devices, inspecting their status and
setting their configuration registers.
This package is known to build and work properly using an LFS-7.0
platform.
Package Information
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/pciutils
Installation of PCI Utilities
First, fix a minor script error. If you want to compress the PCI
data, use 1 instead of 0 in the instruction below. The uncompressed
data is currently about 710KB.
sed -i -e 's/^PCI_COMPRESSED_IDS=/&0/' update-pciids.sh
Install PCI Utilities by running
the following commands:
make PREFIX=/usr ZLIB=no
This package does not come with a test suite.
Now, as the root
user:
make PREFIX=/usr install
Some packages require the PCI static library. To install the
library and headers, issue the following command as the
root
user:
make PREFIX=/usr install-lib
Command Explanations
ZLIB=no
: This parameter
prevents compression of the pci.ids
file which is needed by other applications such as HAL-0.5.14.
Configuring PCI Utilities
The pci.ids
data file is constantly
being updated. To get a current version of this file, run
update-pciids as the
root
user. This program requires
the which-2.20 script or program to
find cURL-7.22.0, Wget-1.13.4 or
Lynx-2.8.7rel.2 which are used to download
the most current file, and then replace the existing file in
/usr/share
.
You may wish to add an entry to root
's (or any other user who has write
privilege to /usr/share
) crontab to
automatically update the pci.ids
file
periodically.
Contents
Installed Programs:
lspci, setpci and update-pciids
Installed Library:
libpci.a
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.
|
setpci
|
is a utility for querying and configuring PCI devices.
|
update-pciids
|
fetches the current version of the PCI ID list. Requires
cURL-7.22.0, Wget-1.13.4 or Lynx-2.8.7rel.2.
|
libpci.a
|
is the static library that allows applications to access
the PCI subsystem.
|
Last updated on 2012-01-06 18:25:48 +0000